-
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
EasyMotion symbols not displayed inside Dirvish #51
Comments
Could be a "conceal" conflict, assuming you're on a recent version of Vim and easymotion. What happens when you use easymotion in a help buffer? |
It looks like you're using an easymotion invocation to label the start of each line? The first part of each line in a dirvish buffer is hidden by conceal. Try I'm not even sure if Vim has a way to search non-concealed text, so fixing this may require a change to Vim. |
Ah that makes sense.
|
I take it back! |
Sorry, have to take it back again... The above fix works in the project root directory, but as soon as i traverse into a subdirectory the issue comes back. 😢 |
I am not aware of any Vim feature that allows a plugin to "skip" concealed (or otherwise non-displayed) characters. This is needed for plugins like easymotion and vim-sneak. |
Would it be possible to add a non-concealed whitespace character in front of each line? |
Not sure what you mean. Whitespace won't help easymotion label anything. One potential approach would be to provide an option that forces CWD via |
It's kind of a hacky workaround, but you could maybe do something with (even temporarily) setting |
Thanks for pointing me in the right direction @desjardinsm! Everything seems to be working great after remapping easymotion with let g:EasyMotion_startofline = 0
autocmd FileType dirvish
\ map <buffer> <Leader>j $T/<Plug>(easymotion-j) |
\ map <buffer> <Leader>k $T/<Plug>(easymotion-k) |
This works OK in vim-sneak since justinmk/vim-sneak@c2cbcf7 . It should work in EasyMotion also. If it doesn't, file the bug with EasyMotion. |
In Dirvish buffers, EasyMotion symbols don't show up:
It should look something like this:
The text was updated successfully, but these errors were encountered: