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:
@@ -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' },
|
||||||
|
|||||||
Reference in New Issue
Block a user