nvim: fix <C-BS> keymap
This commit is contained in:
parent
d6b2f4ff4c
commit
cfbd482dee
|
@ -24,8 +24,10 @@ for key, letter in pairs({ Left = 'h', Down = 'j', Up = 'k', Right = 'l' }) do
|
|||
end
|
||||
|
||||
-- remove word
|
||||
map('n', '<M-BS>', 'db')
|
||||
vim.cmd([[map! <M-BS> <C-W>]]) -- TODO: figure out how to do that with lua
|
||||
map('n', '<C-BS>', 'db')
|
||||
vim.cmd([[map! <C-BS> <C-W>]]) -- TODO: figure out how to do that with lua (???)
|
||||
map('n', '<M-BS>', 'db') -- terminal sends M-BS for C-BS
|
||||
vim.cmd([[map! <M-BS> <C-W>]])
|
||||
map('n', '<C-Del>', 'dw')
|
||||
map('i', '<C-Del>', '<C-O>dw')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user