changes, idk

This commit is contained in:
2022-05-18 06:15:59 -05:00
parent 2420aee32b
commit 39cd83f557
21 changed files with 680 additions and 662 deletions
+6 -6
View File
@@ -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")