editor - Yank range of lines to clipboard via ':' in vim -
i'm yanking range of lines system clipboard in vim. can 51gg116"+yy. i'd via : notation. can copy "" register via command :51,116y. however, command 51,116"+y doesn't work. how fix last command?
:help :y says:
:[range]y[ank] [x] yank [range] lines [into register x]. yanking "* or "+ registers possible when |+clipboard| feature included. so answer obviously:
:51,116y + your problem try use :y, ex command, if y, normal mode command.
and didn't read documentation carefully, or @ all.
Comments
Post a Comment