lalitmetkar / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Relative line numbering option lost in new window when using :vs #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. open a file in vim
2. set rnu
3. open a second file using :vs (it must be a second file, opening a second 
view of the same file with ":vs" by itself maintains the rnu setting)

What is the expected output? What do you see instead?

I expect to see relative line numbering in the new window, but instead see the 
default line numbering.

What version of the product are you using? On what operating system?

cloned 7.3 as of today, on OS X Snow Leopard.

Original issue reported on code.google.com by sam.tar...@gmail.com on 23 Aug 2011 at 6:41

GoogleCodeExporter commented 9 years ago
I cannot reproduce in 7.3.206 in Windows Vista.

Perhaps you have a plugin/filetype plugin/autocmd interfering.

On the new window, try

:verbose set rnu?

to see where it was set.

Also try with vim/gvim -N -u NONE -i NONE to see if it really is just a plugin.

Original comment by fritzoph...@gmail.com on 24 Aug 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Yep, it is indeed plugin messing things up somewhere along the line. Apologies 
for not testing it more thoroughly...

Original comment by sam.tar...@gmail.com on 27 Aug 2011 at 10:11

GoogleCodeExporter commented 9 years ago

Original comment by lech.lor...@gmail.com on 28 Aug 2011 at 11:14