From f42309610573f28c65d8c9f1c1f55fb11a61ee84 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Tue, 23 Sep 2025 09:49:19 +0200 Subject: [PATCH] change oil keybindings ctrl-h and -j were used for other actions, but it was confusing because I usually use them to switch focus to another pane. --- nvim/.config/nvim/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index b913c6e..fb705d8 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -180,9 +180,8 @@ require'lazy'.setup{ --{{{1 keymaps = { ['g?'] = { 'actions.show_help', mode = 'n' }, [''] = 'actions.select', - [''] = 'actions.select', - [''] = { 'actions.select', opts = { vertical = true } }, - [''] = { 'actions.select', opts = { horizontal = true } }, + [''] = { 'actions.select', opts = { vertical = true } }, + [''] = { 'actions.select', opts = { horizontal = true } }, [''] = { 'actions.select', opts = { tab = true } }, [''] = 'actions.preview', [''] = { 'actions.close', mode = 'n' },