diff --git a/nvim/lua/julia/binds.lua b/nvim/lua/julia/binds.lua index c8a425e..eb010c5 100644 --- a/nvim/lua/julia/binds.lua +++ b/nvim/lua/julia/binds.lua @@ -9,6 +9,7 @@ keymap('n', '', 'l') -- misc keymap('n', 'cb', utils.buf_kill) +keymap('t', '', '') local function vresize(step) vim.cmd('vertical resize ' .. step) @@ -22,9 +23,9 @@ keymap('n', '<', function() vresize('+' .. vim.o.columns / 10) end) --- Rebind ctrl-] to gd for manpages +-- Rebind ctrl-] to gd for man/help pages vim.api.nvim_create_autocmd('FileType', { - pattern = 'man', + pattern = { 'man', 'help' }, callback = function() vim.keymap.set('n', 'gd', '', { buffer = true }) end,