Re: Vim 7 show current column
Gary Johnson wrote: On 2007-05-10, "Brian E. Lozier" <[EMAIL PROTECTED]> wrote: In vim 6, a line at the bottom would show the column the cursor is over, so I could see like, colymn 79 or whatever. On vim 7 (gvim, more specifically), the status line at the bottom doesn't show up. Is there a way to enable it? If you want the full status line, set laststatus=2 If you just want to see the cursor position, set ruler I don't know why it was there for you in vim 6 but not in vim 7 unless your upgrade process did more than just change the vim binaries and runtime files. Perhaps your new installation changed the system vimrc as well. Or, perhaps you did your customization in a system file such as /usr/local/vim/vim60/vimrc.example? In that case, you can expect it to be wiped out during updates. Instead, do your customization work in your .vimrc in your home directoryand these little gotchas will stop happening. If you don't know where your home directory is... vim :echo $HOME (if that doesn't show anything...) :echo $VIM :q should suffice to let you know your home is, at least from vim's viewpoint. BTW, if that's in fact what you did -- I expect vim60/vimrc.example to still be there; it's just not in vim70/ . Regards, Chip Campbell
Re: Vim 7 show current column
On 2007-05-10, "Brian E. Lozier" <[EMAIL PROTECTED]> wrote: > In vim 6, a line at the bottom would show the column the cursor is > over, so I could see like, colymn 79 or whatever. On vim 7 (gvim, > more specifically), the status line at the bottom doesn't show up. Is > there a way to enable it? If you want the full status line, set laststatus=2 If you just want to see the cursor position, set ruler I don't know why it was there for you in vim 6 but not in vim 7 unless your upgrade process did more than just change the vim binaries and runtime files. Perhaps your new installation changed the system vimrc as well. HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane, Washington, USA
Re: Vim 7 show current column
Brian E. Lozier wrote: In vim 6, a line at the bottom would show the column the cursor is over, so I could see like, colymn 79 or whatever. On vim 7 (gvim, more specifically), the status line at the bottom doesn't show up. Is there a way to enable it? Thanks, Brian The command you are looking for is set statusline check out :help 'statusline' (for reference, I use the following in my vimrc: %<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P) -- Albie Janse van Rensburg ~ http://morph.telspace.co.za Please don't send me any MS Word or Powerpoint attachments unless it's absolutely neccessary - send simply text. http://www.gnu.org/philosophy/no-word-attachments.html There is more to life than increasing its speed. -- Mahatma Gandhi
Vim 7 show current column
In vim 6, a line at the bottom would show the column the cursor is over, so I could see like, colymn 79 or whatever. On vim 7 (gvim, more specifically), the status line at the bottom doesn't show up. Is there a way to enable it? Thanks, Brian