From 5a4abe74547887021d28e0793578528766c1b6bc Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Wed, 4 Mar 2026 09:45:23 +0100 Subject: [PATCH] remove unused oil keybindings and unbind my movement keys --- nvim/.config/nvim/init.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 17258f1..96ade8b 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -387,21 +387,14 @@ require'lazy'.setup{ --{{{1 keymaps = { ['g?'] = { 'actions.show_help', mode = 'n' }, [''] = { 'actions.yank_entry', opts = { modify=":." }, mode = 'n' }, -- :. makes it a relative path + [''] = false, [''] = false, [''] = false, [''] = false, -- I use those keys for navigation [''] = 'actions.select', - [''] = { 'actions.select', opts = { vertical = true } }, - [''] = { 'actions.select', opts = { horizontal = true } }, - [''] = { 'actions.select', opts = { tab = true } }, - [''] = 'actions.preview', - [''] = { 'actions.close', mode = 'n' }, - [''] = 'actions.refresh', ['-'] = { 'actions.parent', mode = 'n' }, ['_'] = { 'actions.open_cwd', mode = 'n' }, [',cd'] = { 'actions.cd', mode = 'n' }, [',CD'] = { 'actions.cd', opts = { scope = 'tab' }, mode = 'n' }, - ['gs'] = { 'actions.change_sort', mode = 'n' }, ['gx'] = 'actions.open_external', ['g.'] = { 'actions.toggle_hidden', mode = 'n' }, - ['g\\'] = { 'actions.toggle_trash', mode = 'n' }, }, use_default_keymaps = true, view_options = {