mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 16:45:38 -05:00
[vim] Restore working directory even when new window is opened
Close #612
This commit is contained in:
@@ -43,6 +43,11 @@ Execute (fzf#run with dir option and noautochdir):
|
||||
" No change in working directory
|
||||
AssertEqual cwd, getcwd()
|
||||
|
||||
call fzf#run({'source': ['/foobar'], 'sink': 'tabe', 'dir': '/tmp', 'options': '-1'})
|
||||
AssertEqual cwd, getcwd()
|
||||
tabclose
|
||||
AssertEqual cwd, getcwd()
|
||||
|
||||
Execute (Incomplete fzf#run with dir option and autochdir):
|
||||
set acd
|
||||
let cwd = getcwd()
|
||||
|
||||
Reference in New Issue
Block a user