diff --git a/rc/fzf.kak b/rc/fzf.kak index 97e3186..eb1a891 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -36,17 +36,17 @@ Default value: str fzf_tmp "/tmp/" # default mappings -map global fzf -docstring "open file" f ':fzf-file' -map global fzf -docstring "open buffer" b ':fzf-buffer' -map global fzf -docstring "find tag" t ':fzf-tag' -map global fzf -docstring "change directory" c ':fzf-cd' -map global fzf -docstring "edif file in git tree" g ':fzf-git' +map global fzf -docstring "open file" f ': fzf-file' +map global fzf -docstring "open buffer" b ': fzf-buffer' +map global fzf -docstring "find tag" t ': fzf-tag' +map global fzf -docstring "change directory" c ': fzf-cd' +map global fzf -docstring "edif file in git tree" g ': fzf-git' # Commands define-command -docstring \ "fzf-mode: Enter fzf-mode This is to be used in mappings to enter fzf-mode -For example: map global normal ':fzf-mode' +For example: map global normal ': fzf-mode' " \ fzf-mode %{ evaluate-commands 'enter-user-mode fzf' } @@ -92,7 +92,7 @@ define-command -hidden fzf-tag %{ } define-command -hidden fzf-cd %{ - fzf "change-directoryd $1" "find \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print" + fzf "change-directory $1" "find \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print" } define-command -hidden fzf -params 2 %{ exec %sh{