Wednesday, April 11, 2018

Re: howto ignore temporary git files on the jump list

On Tuesday, April 10, 2018 at 10:33:12 AM UTC-4, Oliver Graute wrote:
> Hello list,
>
> I use vim to edit my git commits and for git merges and rebasing.
> Because of this I get these kind of temporary files in my jump list:
>
> .git/rebase-merge/git-rebase-todo
> .git/MERGE_MSG
> .git/COMMIT_EDITMSG
>
> Is there any way to prevent them from being registered?
>
> Best regards,
>
> Oliver

Hey Oliver,

My suggestion would be to edit these types of files in a split window or in a new tab page. Since the jumplist is separate for each window and since the jumplist is inherited from a parent window, you can avoid having these items in your jumplist by not "splitting off" from a window in which you're editing these files.

I'm not aware of any setting that will disable the jumplist for a particular file.

Best,
Jason

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: