Loading ...
Sorry, an error occurred while loading the content.
 

Re: CTRL+SHIFT+L to toggle line numbers

Expand Messages
  • Benji Fisher
    For me (running on Linux with GTK2, I think) works in gvim but not in vim. In vim, I can enter a literal on the command line, and map it to
    Message 1 of 4 , Feb 27, 2004
      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@...]
      > 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
    Your message has been successfully submitted and would be delivered to recipients shortly.