From cfbd482dee9d621b681106a7a6e1fedfc8b5b879 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 13 Aug 2022 19:42:34 +0200 Subject: [PATCH] nvim: fix keymap --- .config/nvim/lua/my/keymaps.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/my/keymaps.lua b/.config/nvim/lua/my/keymaps.lua index d76add7..48f39eb 100644 --- a/.config/nvim/lua/my/keymaps.lua +++ b/.config/nvim/lua/my/keymaps.lua @@ -24,8 +24,10 @@ for key, letter in pairs({ Left = 'h', Down = 'j', Up = 'k', Right = 'l' }) do end -- remove word -map('n', '', 'db') -vim.cmd([[map! ]]) -- TODO: figure out how to do that with lua +map('n', '', 'db') +vim.cmd([[map! ]]) -- TODO: figure out how to do that with lua (???) +map('n', '', 'db') -- terminal sends M-BS for C-BS +vim.cmd([[map! ]]) map('n', '', 'dw') map('i', '', 'dw')