Add feat: Ctrl-Backspace keymap for word deletion
This commit is contained in:
parent
58170c7ae3
commit
a634371a22
3
init.lua
3
init.lua
|
|
@ -171,6 +171,9 @@ vim.o.confirm = true
|
||||||
-- See `:help hlsearch`
|
-- See `:help hlsearch`
|
||||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||||
|
|
||||||
|
-- Delete a word on Ctrl-Backspace
|
||||||
|
vim.keymap.set('i', '<C-H>', '<C-w>')
|
||||||
|
|
||||||
-- Diagnostic Config & Keymaps
|
-- Diagnostic Config & Keymaps
|
||||||
-- See :help vim.diagnostic.Opts
|
-- See :help vim.diagnostic.Opts
|
||||||
vim.diagnostic.config {
|
vim.diagnostic.config {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue