Nvim: improve pager mode and other fixes
This commit is contained in:
parent
4aeaf540b7
commit
432ee57180
6 changed files with 27 additions and 19 deletions
5
home/.config/nvim/lua/common.lua
Normal file
5
home/.config/nvim/lua/common.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
function MapKey(mode, keybind, command, opts)
|
||||
local options = {noremap = true}
|
||||
if opts then options = vim.tbl_extend('force', options, opts) end
|
||||
vim.api.nvim_set_keymap(mode, keybind, command, options)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue