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

Use keepjumps to avoid adding unnecessary jump #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

idbrii
Copy link
Contributor

@idbrii idbrii commented Feb 27, 2015

Using :args jumps to the first file. For some reason this adds two
entries to the jumplist. I don't quite understand, but I don't think we
want to mess with the jumplist so we can jump back to where we came
from.

Verified with:

gvim -Nu NONE +'source ~/.vim/bundle/sensible/plugin/sensible.vim' +'source ~/.vim/bundle/qargs/plugin/qargs.vim' +'grep! dave *.cmd ' README.rst
:Qargs
<C-o>

Before this change, nothing happens.
After this change, you jump back to the README.

Related to #4

Using :args jumps to the first file. For some reason this adds two
entries to the jumplist. I don't quite understand, but I don't think we
want to mess with the jumplist so we can jump back to where we came
from.

Verified with:
    gvim -Nu NONE +'source sensible.vim' +'source qargs.vim' +'grep! dave *.cmd ' README.rst
    :Qargs
    <C-o>

Before this change, nothing happens.
After this change, you jump back to the README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant