Closed sholland1 closed 3 years ago
This seems to work:
:execute 'Vifm' fnameescape(expand('%:p:h')) fnameescape(getcwd())
Yep. It works. Thanks.
I don't know about vimscript, but I found adding nnoremap <leader>vv :Vifm 1<CR>
in vimrc file will work too.
Is there a way to get the Vifm command to open the directory of the file I am currently editing in one pane and the working directory of Vim in the other?
I think this behavior would be a good default.