Nvim: improve pager mode and other fixes

This commit is contained in:
Marko Korhonen 2021-12-04 11:43:26 +02:00
parent 4aeaf540b7
commit 432ee57180
6 changed files with 27 additions and 19 deletions

View 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