roll my own subvert
parent
27927052c4
commit
402fae688a
|
@ -26,7 +26,6 @@ in {
|
|||
kakoune-find
|
||||
kakoune-idris
|
||||
kakoune-surround
|
||||
kak-subvert
|
||||
shellcheck-kak
|
||||
smarttab-kak
|
||||
tug
|
||||
|
@ -145,6 +144,17 @@ in {
|
|||
map global user s ': enter-user-mode surround<ret>' -docstring 'Surround'
|
||||
|
||||
# kak-subvert
|
||||
declare-user-mode subvert
|
||||
map global subvert c '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert camel <ret>' -docstring 'convert to camelCase'
|
||||
map global subvert k '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert kebab <ret>' -docstring 'convert to kebab-case'
|
||||
map global subvert p '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert pascal <ret>' -docstring 'convert to PascalCase'
|
||||
map global subvert . '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert sentence <ret>' -docstring 'convert to Sentence case'
|
||||
map global subvert s '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert snake <ret>' -docstring 'convert to snake_case'
|
||||
map global subvert S '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert screaming <ret>' -docstring 'convert to SCREAMING_CASE'
|
||||
map global subvert t '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert train <ret>' -docstring 'convert to Train-Case'
|
||||
map global subvert T '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert title <ret>' -docstring 'convert to Title Case'
|
||||
map global subvert u '<esc> | ${pkgs.kak-subvert}/bin/kak-subvert ugly <ret>' -docstring 'convert to Ugly_Case'
|
||||
|
||||
map global user c ': enter-user-mode subvert<ret>' -docstring 'case changes'
|
||||
|
||||
# File Browsing
|
||||
|
|
Reference in New Issue