Vim Tips Wiki
(adjust Template:ScriptComments to remove id as no longer needed; minor tweaks)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 2: Line 2:
   
 
==Overview==
 
==Overview==
The script provides two commands: <tt>:NumberedList</tt> and <tt>:NoNumberedList</tt>. Select the lines in a list, and enter the first command to insert a number before each line, or to adjust the numbers that are present. By default, the first number is 1. Entering {{tt|:NumberedList 8}} numbers the list starting with 8 for the first line.
+
The script provides two commands: <code>:NumberedList</code> and <code>:NoNumberedList</code>. Select the lines in a list, and enter the first command to insert a number before each line, or to adjust the numbers that are present. By default, the first number is 1. Entering <code>:NumberedList 8</code> numbers the list starting with 8 for the first line.
   
 
==Comments==
 
==Comments==

Latest revision as of 09:52, 14 July 2012

Use this page to discuss script 3715 numlist: add, re-add, or remove numbers for items in a list

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Overview[]

The script provides two commands: :NumberedList and :NoNumberedList. Select the lines in a list, and enter the first command to insert a number before each line, or to adjust the numbers that are present. By default, the first number is 1. Entering :NumberedList 8 numbers the list starting with 8 for the first line.

Comments[]