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
|
end
|
||||||
|
|
||||||
-- remove word
|
-- remove word
|
||||||
map('n', '<C-BS>', 'db')
|
map('n', '<C-BS>', 'db')
|
||||||
vim.cmd([[map! <C-BS> <C-W>]]) -- TODO: figure out how to do that with lua (???)
|
vim.cmd([[map! <C-BS> <C-W>]]) -- map('c', … doesn't work
|
||||||
map('n', '<M-BS>', 'db') -- terminal sends M-BS for C-BS
|
map('n', '<M-BS>', 'db') -- terminal sends M-BS for C-BS
|
||||||
vim.cmd([[map! <M-BS> <C-W>]])
|
vim.cmd([[map! <M-BS> <C-W>]])
|
||||||
map('n', '<C-Del>', 'dw')
|
map('n', '<C-Del>', 'dw')
|
||||||
map('i', '<C-Del>', '<C-O>dw')
|
map('i', '<C-Del>', '<C-O>dw')
|
||||||
|
|
||||||
-- remove whitespace around cursor
|
-- remove whitespace around cursor
|
||||||
map({ 'n', 'i' }, '<C-S-Del>',
|
map({ 'n', 'i' }, '<C-S-Del>',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user