Saturday, January 12, 2013

Re: How to paste register over visual selection?

On Sat, Jan 12, 2013 at 12:10 PM, skeept <skeept@gmail.com> wrote:

> Would it be possible to define a mapping for p that, when in visual mode checks if I have specified a register (with "a) and in that case pastes the contents of that register, and if not simply pastes a previously specified register?
>

I don't know if what you ask can be done maybe someone else does.

Wouldn't it be a lot easier to use a s///g with a regex to replace old
text with new text? You seem to be doing a lot of editing of existing
text.

--
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

No comments: