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.
This commit is contained in:
Ivar Fatland
2025-09-23 09:49:19 +02:00
parent 2b9db059de
commit f423096105
+2 -3
View File
@@ -180,9 +180,8 @@ require'lazy'.setup{ --{{{1
keymaps = { keymaps = {
['g?'] = { 'actions.show_help', mode = 'n' }, ['g?'] = { 'actions.show_help', mode = 'n' },
['<CR>'] = 'actions.select', ['<CR>'] = 'actions.select',
['<C-j>'] = 'actions.select', ['<C-v>'] = { 'actions.select', opts = { vertical = true } },
['<C-s>'] = { 'actions.select', opts = { vertical = true } }, ['<C-s>'] = { 'actions.select', opts = { horizontal = true } },
['<C-h>'] = { 'actions.select', opts = { horizontal = true } },
['<C-t>'] = { 'actions.select', opts = { tab = true } }, ['<C-t>'] = { 'actions.select', opts = { tab = true } },
['<C-p>'] = 'actions.preview', ['<C-p>'] = 'actions.preview',
['<C-c>'] = { 'actions.close', mode = 'n' }, ['<C-c>'] = { 'actions.close', mode = 'n' },