kshenoy / vim-signature

Plugin to toggle, display and navigate marks
MIT License
1.38k stars 76 forks source link

Uppercase mark always loads buffer #137

Open eater opened 7 years ago

eater commented 7 years ago

I have the V mark set in my .vimrc for easy access.

However, vim-signature seems to always reserve buffer 2 for .vimrc as a result. When I open a fresh instance of vim with no file loaded and type :b2 it takes me to my .vimrc. How can I prevent this from happening?

kshenoy commented 7 years ago

Hmm, I'm not able to reproduce this behavior.

Can you start vim with only Signature enabled and let me know if you're still facing this issue. Here's a command to do that

gvim -N --cmd 'set rtp=$VIM,$VIMRUNTIME,$VIM/after' -U NONE -u <(echo 'set rtp+=~/.vim/bundle/vim-signature')
eater commented 7 years ago

When I start gvim with that command, I don't experience the issue.

When I start gvim with my normal configuration, but with Signature removed from my plugins directory, or with g:SignatureEnabledAtStartup=0, I also don't experience the issue.

It only happens when I run vim normally and Signature is present.

kshenoy commented 7 years ago

Interesting! This doesn't make sense at all. There's nothing in Signature that creates/opens buffers.

Can you point me to your vim config?

eater commented 7 years ago

Sure: http://pastebin.com/dn87aCvZ