not logged in (
login
)
Home
Advanced search
About Vim
Community
News
Sponsoring
Trivia
Documentation
Download
Scripts
Tips
My Account
Mercurical Web
Site Help
nclipper.vim : copy lines into clipboard with the line numbers
script karma
Rating
78/22
, Downloaded by 1265
Comments, bugs, improvements
Vim wiki
created by
ujihisa .
script type
utility
description
Start visual mode with `V` and select some lines.
http://gyazo.com/ef8121528e4a269ce894e25c289b489a.png
Type
`<C-y>`
http://gyazo.com/2b56de0c4f7603df7a00e9845704b39c.png
Now
your clipboard or Vim register `"+` has the lines you selected with line numbers. Paste it anywhere you want!
http://gyazo.com/5000e1cca5ad81203541fb7e3ce82a50.png
If
you also want to copy the filename in the 1st line, use `<M-y>` (meta + y which is cmd + y on OSX and alt + y on Linux.)
Contributors: tyru and rconradharris
The development is in github.
https://github.com/ujihisa/nclipper.vim
>
install details
Unarchive and put it into a dir of your &rtp.
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
nclipper.vim-1.2.zip
1.2
2013-06-26
7.3
ujihisa .
Support for non-xterm. Adding `<M-y>` to copy with filename.
nclipper.vim-1.1.zip
1.1
2011-01-20
7.3
ujihisa .
Align line numbers and format option `g:nclipper_format`
nclipper.vim-1.0.zip
1.0
2011-01-19
7.3
ujihisa .
Initial upload
ip used for rating: 3.148.212.53
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
.
Vim at Github