On Mar 24, 6:38 am, Sapfeer <[email protected]> wrote: > Is there a simple way to do this?.. Say I've created command QuoteAllLines, > that puts specific symbol at the end of the line and a mapping that copies > selected text into global, OS-level clipboard. Now, I want to issues these > in one move, but select all lines before copying. Can I somehow run defined > command from mapping or it'd be better to define a function instead?..
You can yank all lines easily with either: :%y + (command-line, script) or gg"+yG (normal mode) -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
