Add yaml-pro keybinds
This commit is contained in:
parent
81c2ad6963
commit
e1e27ab1a2
@ -8,6 +8,14 @@
|
||||
|
||||
(use-package yaml-pro
|
||||
:when (treesit-ready-p 'yaml)
|
||||
:hook (yaml-ts-mode . yaml-pro-ts-mode))
|
||||
:hook (yaml-ts-mode . yaml-pro-ts-mode)
|
||||
:general
|
||||
(yaml-pro-ts-mode-map [remap evil-backward-section-begin] #'yaml-pro-ts-prev-subtree
|
||||
[remap evil-forward-section-begin] #'yaml-pro-ts-next-subtree
|
||||
[remap evil-shift-right] #'yaml-pro-ts-indent-subtree
|
||||
[remap evil-shift-left] #'yaml-pro-ts-unindent-subtree
|
||||
"C-c j" #'yaml-pro-ts-move-subtree-down
|
||||
"C-c k" #'yaml-pro-ts-move-subtree-up
|
||||
"C-c f" #'yaml-pro-format))
|
||||
|
||||
(provide 'init-yaml)
|
||||
|
Loading…
Reference in New Issue
Block a user