sponsor Vim development Vim logo Vim Book Ad

cream-numberlines : Number lines of a selection

 script karma  Rating 109/28, Downloaded by 1049    Comments, bugs, improvements  Vim wiki

created by
Steve Hall
 
script type
utility
 
description

Features:

o Dialog prompt for optional start number. (Default is actual line number.)

o Column of numbers is right justified.


Usage:

o Must be called from visual mode (with a selection).

o Required argument indicates mode, only "v" (visual) allowed.

o Example mapping:

    vmap <silent> <F12> :<C-u>call Cream_number_lines("v")


This is one of many custom utilities and functions for gVim from the Cream project (http://cream.sourceforge.net), a configuration of Vim for those of us familiar with Apple and Windows software.


 
install details

Drop this file into your plugins directory and (re)start Vim.

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cream-numberlines.vim 0.2 2003-03-27 6.0 Steve Hall Adjusted to not include last line of selection if cursor is in column 1.
cream-numberlines.vim 0.1 2003-03-27 6.0 Steve Hall Initial upload
ip used for rating: 54.196.195.207

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo