diff --git a/plugin/ranger.vim b/plugin/ranger.vim index 03d5d2b..0a15afc 100644 --- a/plugin/ranger.vim +++ b/plugin/ranger.vim @@ -57,6 +57,8 @@ if has('nvim') for f in readfile(s:choice_file_path) exec self.edit_cmd . f endfor + let currentWorkingDirectory = getcwd() + :execute "lcd " . currentWorkingDirectory call delete(s:choice_file_path) endif endtry