mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-18 11:18:49 +02:00
add C keybind
This commit is contained in:
parent
76beed139b
commit
d6d2f7c34d
|
@ -29,3 +29,6 @@
|
||||||
|
|
||||||
;; Shorthand for deleting the TS node under the cursor
|
;; Shorthand for deleting the TS node under the cursor
|
||||||
(vim.keymap.set :n :D delete-node-under-cursor {:noremap true :silent true})
|
(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)))
|
||||||
|
|
Loading…
Reference in a new issue