From 7713fc88e1a51a7608b80ca15d9876678a2466d1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 13 Aug 2022 04:34:28 +0200 Subject: [PATCH] nvim: make Lexplore keymap available in insert mode --- .config/nvim/lua/my/keymaps.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/my/keymaps.lua b/.config/nvim/lua/my/keymaps.lua index e37347f..d76add7 100644 --- a/.config/nvim/lua/my/keymaps.lua +++ b/.config/nvim/lua/my/keymaps.lua @@ -79,5 +79,6 @@ for _, key in ipairs({ 'Left', 'Up', 'Down', 'Right' }) do map({ 'v' }, format('', key), format('<%s>', key)) end -map('n', '', ':Lexplore 20') -- file explorer, 20% width -map('n', '', '') -- follow links in help +map('n', '', ':Lexplore 20') -- file explorer, 20% wide +map('i', '', ':Lexplore 20') +map('n', '', '') -- follow links in help