diff --git a/.config/kak/kakrc b/.config/kak/kakrc index bb7d3b05..927a4e07 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -1,4 +1,4 @@ -eval %sh{ kak-tree-sitter -dks --init $kak_session } +evaluate-commands %sh{ kak-tree-sitter -dks --init $kak_session } evaluate-commands %sh{kak-popup init} colorscheme ashen require-module fishr @@ -136,3 +136,14 @@ define-command goto-debug %{ execute-keys 'gj' } map -docstring 'open debug buffer' global user D ':goto-debug' + +declare-user-mode spell + +map -docstring 'show spell' global spell s ': spell' +map -docstring 'spell next' global spell n ': spell-next' +map -docstring 'spell prev' global spell e ': spell-prev' +map -docstring 'spell clear' global spell c ': spell-clear' +map -docstring 'spell add' global spell a ': spell-add' +map -docstring 'spell replace' global spell r ': spell-replace' + +map -docstring 'spelling' global user s ': enter-user-mode spell'