astronvim-user-config/mappings.lua

12 lines
366 B
Lua

return {
n = {
["<C-h>"] = {"db", desc = "Ctrl+Backspace to delete a word backwards"},
["<C-Del>"] = {"dw", desc = "Ctrl+Delete to delete a word forwards"}
},
i = {
["\b"] = {"<C-O>db", desc = "Ctrl+Backspace to delete a word backwards"},
["<C-Del>"] = {"<C-O>dw", desc = "Ctrl+Delete to delete a word forwards"}
}
}