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

Re: map with ternary possible?

Expand Messages
  • Ben Fritz
    ... Question: why not just turn on/off the line numbering option? A single mapping to :set nu! will toggle line numbers on and off. -- You received this
    Message 1 of 4 , Aug 3, 2010
    • 0 Attachment
      On Aug 2, 4:07 pm, Bill <bsag...@...> wrote:
      > I toggle line numbers off and on by simply changing the guifg color.
      >
      > ;hide line column
      > map  {{ :hi LineNr guifg=white<cr>
      > ;reveal line column
      > map  }} :hi LineNr guifg=black<cr>
      >

      Question: why not just turn on/off the line numbering option? A single
      mapping to ":set nu!" will toggle line numbers on and off.

      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.