forked from ujihisa/nclipper.vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnclipper.vim.vimup
31 lines (23 loc) · 1.07 KB
/
nclipper.vim.vimup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"script_name": nclipper.vim
"script_id": "3410"
"script_type": utility
"script_package": "{script_name}-{version}.zip"
"required_vim_version": '7.3'
"summary": copy lines into clipboard with the line numbers
"detailed_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.
"versions":
- '1.2': Support for non-xterm. Adding `<M-y>` to copy with filename.
- '1.1': Align line numbers and format option `g:nclipper_format`
- '1.0': Initial upload
# vim: filetype=yaml