add C keybind

This commit is contained in:
LordMZTE 2023-02-21 23:27:46 +01:00
parent 76beed139b
commit d6d2f7c34d
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -29,3 +29,6 @@
;; Shorthand for deleting the TS node under the cursor
(vim.keymap.set :n :D delete-node-under-cursor {:noremap true :silent true})
;; Shorthand for deleting the TS node under the cursor and switching to insert mode
(vim.keymap.set :n :C (fn [] (delete-node-under-cursor) (vim.cmd.startinsert)))