changes, idk
This commit is contained in:
+6
-6
@@ -1,13 +1,13 @@
|
||||
local function local_map(mode, lhs, rhs, opts)
|
||||
local options = {noremap = true}
|
||||
if opts then
|
||||
options = vim.tbl_extend("force", options, opts)
|
||||
end
|
||||
vim.api.nvim_buf_set_keymap(0, mode, lhs, rhs, options)
|
||||
local options = { noremap = true }
|
||||
if opts then
|
||||
options = vim.tbl_extend("force", options, opts)
|
||||
end
|
||||
vim.api.nvim_buf_set_keymap(0, mode, lhs, rhs, options)
|
||||
end
|
||||
|
||||
local function silent_map(mode, lhs, rhs)
|
||||
local_map(mode, lhs, rhs, {silent = true})
|
||||
local_map(mode, lhs, rhs, { silent = true })
|
||||
end
|
||||
|
||||
silent_map("n", "<Up>", "gk")
|
||||
|
||||
Reference in New Issue
Block a user