Re: How can I toggle line numbers?
- From: dart <dart@xxxxxxxxxxx>
- Date: Fri, 12 Oct 2007 00:52:42 GMT
Russell Hoover wrote:
I'd like to be able to toggle line numbers on and off in vim.
I tried:
map <F0> :set invnumber number?<CR>
but this didn't work. Anyone have tips?
map <F10> :set invnumber<cr>
Two things: a proper function key number (well, that was probably a typo), and don't put that question mark in. That just queries vim as to what the current setting is.
Dart
.
- References:
- How can I toggle line numbers?
- From: Russell Hoover
- How can I toggle line numbers?
- Prev by Date: Re: VIM: yy, dd then p, always get me wrong way
- Next by Date: Re: how to update an .exrc file and have it active without quitting vi?
- Previous by thread: Re: How can I toggle line numbers?
- Next by thread: Computer Security Information
- Index(es):