1
0
Fork 0

neovim: make ctrl+← work in kitty

This commit is contained in:
tastytea 2024-03-20 19:26:49 +01:00
parent 2958bf26f5
commit 19fe6c7d24
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 0 deletions

View File

@ -24,7 +24,9 @@ end
-- remove word
map('n', '<C-BS>', 'db')
map('n', '', 'db')
vim.cmd([[map! <C-BS> <C-W>]]) -- map('c', … doesn't work
vim.cmd([[map!  <C-W>]])
map('n', '<M-BS>', 'db') -- terminal sends M-BS for C-BS
vim.cmd([[map! <M-BS> <C-W>]])
map('n', '<C-Del>', 'dw')