[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: CTRL+SHIFT+L to toggle line numbers
From:       Benji Fisher <benji () member ! AMS ! org>
Date:       2004-02-28 3:35:08
Message-ID: 20040228033508.GB13202 () localhost ! localdomain
[Download RAW message or body]

     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:
> try:
> nnoremap ^L :set number!<CR>:set number?<CR>
> 
> sean
> 
> -----Original Message-----
> From: Daniel Bron [mailto:DanielB@mapleusa.com]
> Sent: Friday, February 27, 2004 3:31 PM
> To: 'gumnos (Tim Chase)'; Daniel Bron; vim@vim.org
> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic