Vim Tips Wiki
Register
m (direct link to home page)
(maybe a bit long, but I found it quite a gem when mentioned on vim_use)
Line 2: Line 2:
   
 
''All previous suggestions have been used (or will be used next month). Please add more.''
 
''All previous suggestions have been used (or will be used next month). Please add more.''
  +
* You can tell Vim which number formats {{help|prefix=no|CTRL-A}} and {{help|prefix=no|CTRL-X}} will act on with the 'nrformats' option. Format alphabetic lists with <tt>:set nrformats+=alpha</tt> or ignore octal format and just use decimal with <tt>:set nrformats-=octal</tt>. {{help|'nrformats'}}

Revision as of 18:17, 10 July 2010

Add suggestions for the From Vim Help section on the home page by editing this page.

All previous suggestions have been used (or will be used next month). Please add more.

  • You can tell Vim which number formats CTRL-A and CTRL-X will act on with the 'nrformats' option. Format alphabetic lists with :set nrformats+=alpha or ignore octal format and just use decimal with :set nrformats-=octal. :help 'nrformats'