1
0
Fork 0

nvim: reformat

This commit is contained in:
tastytea 2022-08-13 21:03:21 +02:00
parent ccc1214c3f
commit 529c07ff7e
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 6 additions and 6 deletions

View File

@ -24,12 +24,12 @@ for key, letter in pairs({ Left = 'h', Down = 'j', Up = 'k', Right = 'l' }) do
end
-- remove word
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')
map('n', '<C-BS>', 'db')
vim.cmd([[map! <C-BS> <C-W>]]) -- map('c', … doesn't work
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')
-- remove whitespace around cursor
map({ 'n', 'i' }, '<C-S-Del>',