nvim: reformat
This commit is contained in:
parent
ccc1214c3f
commit
529c07ff7e
@ -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>',
|
||||
|
Loading…
x
Reference in New Issue
Block a user