Skip to content
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

Possible to add vifm to jumplist in neovim? #92

Open
newgear0727 opened this issue Dec 29, 2023 · 1 comment
Open

Possible to add vifm to jumplist in neovim? #92

newgear0727 opened this issue Dec 29, 2023 · 1 comment

Comments

@newgear0727
Copy link

One thing about using dirvish I liked was that it was tracked in your jumplist, i.e, you could be editing some file deep in the tree, run :e to "edit" the pwd of said file to drop in the file browser, navigate to where you want, and open up some more files in the process and you would be able to <C-o>, <C-i> between each of those buffers including the file browser.

I notice in at least neovim that Vifm isn't recorded in your jump buffer and I was wondering if this is something that could be supported? Ideally the jump buffer would remember the last location and state of Vifm including if the user navigated out of the directory?

@xaizek
Copy link
Member

xaizek commented Dec 29, 2023

I think neither Vim nor NeoVim provides ability to manipulate jumplist. Without it one would have to map <c-i>/<c-o> to some functions which open Vifm in a buffer upon reaching some position in the jumplist, the problem is this operation will change the jumplist likely messing everything up in the process. So I'm not sure that it's doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants