1
0
Fork 0

nvim: make Lexplore keymap available in insert mode

This commit is contained in:
tastytea 2022-08-13 04:34:28 +02:00
parent e01beced1e
commit 7713fc88e1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 2 deletions

View File

@ -79,5 +79,6 @@ for _, key in ipairs({ 'Left', 'Up', 'Down', 'Right' }) do
map({ 'v' }, format('<S-%s>', key), format('<%s>', key))
end
map('n', '<F9>', ':Lexplore 20<cr>') -- file explorer, 20% width
map('n', '<Leader><cr>', '<C-]>') -- follow links in help
map('n', '<F9>', ':Lexplore 20<cr>') -- file explorer, 20% wide
map('i', '<F9>', '<Esc>:Lexplore 20<cr>')
map('n', '<Leader><cr>', '<C-]>') -- follow links in help