Re: CTRL+SHIFT+L to toggle line numbers
- For me (running on Linux with GTK2, I think) <C-A-L> works in gvim
but not in vim. In vim, I can enter a literal <C-A-L> on the command
line, and map it to something, by typing <C-V><C-A-L>. I do not expect
this solution to be portable.
HTH --Benji Fisher
On Fri, Feb 27, 2004 at 03:41:27PM -0600, Sean C. Hubbell wrote:
> nnoremap ^L :set number!<CR>:set number?<CR>
> -----Original Message-----
> From: Daniel Bron [mailto:DanielB@...]
> Sent: Friday, February 27, 2004 3:31 PM
> To: 'gumnos (Tim Chase)'; Daniel Bron; vim@...
> Subject: CTRL+SHIFT+L to toggle line numbers
> My last answer was so good I think I'd like another :). How can I toggle
> 'number' (line numbers) with CTRL+ALT+L? As a first pass (one-way only) I
> tried 'nmap <CA-L> :set number' but that didn't work.
> -D. Bron