vim - Copy content to system clipboard
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-06-14 10:50:23
0
1
1019

In ex mode
2, 10y
can copy 9 lines, but these contents are not in the system clipboard.

In normal mode, do this
1. Jump to line 2
2gg
2. 8" y Copy the 8 lines below the current cursor, plus the current line, it will be 9 lines.

Can you create a way
In ex mode, enter 2,10" y to copy lines 2 to 10 to the system clipboard?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
学习ing

:2, 10y + The command is [range]y[ank] [x], where [x] is the specified register.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template