-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid directory error when invoking <plug>(dirvish_up) from Vim terminal #134
Comments
Forgot to mention: |
I think Vim doesn't have the |
I think that Dirvish should open nnoremap <silent> <Plug>(dirvish_up) :<C-U>exe
\ 'Dirvish '.(getbufvar('%','&buftype') ==# 'terminal' ? getcwd() : '%:p'.repeat(':h',v:count1))<CR> I still get the “invalid directory” error (also in NeoVim now), but the file browser is opened. Besides, |
Got invalid dir error when starting with |
I actually get |
er... what does |
But, it makes sense to me because in the vim documentation, it says:
Just to be clear, this is not something I ever encountered before. I came across an issue where I wanted to use |
Possibly related to #127. To reproduce, open Vim, then open a terminal (
:terminal
), go to Normal mode and type-
(or whatever mapping for<plug>(dirvish_up)
you have). Instead of opening the file browser, Vim displays:NeoVim works as expected under the same circumstances. Using Vim 8.1.0650 under macOS.
The text was updated successfully, but these errors were encountered: