diff options
Diffstat (limited to 'autoload/files.kak')
| -rw-r--r-- | autoload/files.kak | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/autoload/files.kak b/autoload/files.kak index eb03a87..b928c33 100644 --- a/autoload/files.kak +++ b/autoload/files.kak @@ -1,7 +1,10 @@ -def find -docstring "find files" -menu -params 1 %{ edit -existing %arg{1} } \ - -shell-script-candidates %{ fd -t f --hidden --color=never -E .git } +def find -docstring "find files" -menu -params 1 \ + %{ edit -existing %arg{1} } \ + -shell-script-candidates %{ fd -t f --hidden --color=never -E .git } -def file-manager -params .. %{ connect terminal env "EDITOR=kcr edit" daffm -c @kak %arg{@} } +def file-manager -params .. %{ + connect terminal env "EDITOR=kcr edit" sh -c "DAFFM_PATH_RELATIVE_TO=$PWD daffm -c @kak %arg{@};" +} declare-user-mode buffer map global user b ': enter-user-mode buffer<ret>' -docstring 'Buffer mode' |
