We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 203827d + e6a1021 commit af629f5Copy full SHA for af629f5
autoload/fern/scheme/file/mapping/cd.vim
@@ -21,10 +21,20 @@ function! s:call(name, ...) abort
21
endfunction
22
23
function! s:map_cd_root(helper, command) abort
24
+ if a:command ==# 'lcd'
25
+ if fern#internal#window#select()
26
+ return s:Promise.resolve()
27
+ endif
28
29
return s:cd(a:helper.sync.get_root_node(), a:helper, a:command)
30
31
32
function! s:map_cd_cursor(helper, command) abort
33
34
35
36
37
38
return s:cd(a:helper.sync.get_cursor_node(), a:helper, a:command)
39
40
0 commit comments