line number yank : yank lines with line number
script karma |
Rating 2/4,
Downloaded by 545 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Zhang Huicong |
|
script type |
utility |
|
description |
The script is used for yank lines with their line number.
You can yank lines for specific range with their line number by key map \ny
For example, the text from line 9 to 12 is like the follow:
line9
line10
line11
line12
if you specified text from line 9 to line 12 under visual mode, press `\ny'. Then if you press `p', it would paste:
9 line9
10 line10
11 line11
12 line12
If the line number is larger than 999, the format would not that tidy. |
|
install details |
Just simply copy lnyank.vim into you plugin directory($HOME/.vim/plugin for unix) |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.134.90.44
|