diff --git a/kakoune/.config/kak/kakrc b/kakoune/.config/kak/kakrc index 092822b..e52248a 100644 --- a/kakoune/.config/kak/kakrc +++ b/kakoune/.config/kak/kakrc @@ -122,7 +122,7 @@ define-command -override file-open-git %{ } define-command -override file-open-fossil %{ - prompt -menu -shell-script-candidates %{ fossil ls } 'File (git): ' %{ edit -- %val{text} } + prompt -menu -shell-script-candidates %{ fossil ls } 'File (fossil): ' %{ edit -- %val{text} } } define-command -override fossil-grep -params 1- %{ @@ -319,6 +319,8 @@ bundle kak-harpoon 'https://codeberg.org/raiguard/kak-harpoon' %{ eval %sh{ kak-tree-sitter -dks --init $kak_session } +map global -docstring 'Tree-sitter' user 't' ': enter-user-mode tree-sitter' + define-command -override tree-sitter-user-after-highlighter %{ add-highlighter -override buffer/show-matching show-matching }