Sunday, October 21, 2012

Re: Replacing current line with last-yanked register

El Domingo, 14 de octubre de 2012, Dotan Cohen escribió:
> Is there a simple (no more than two or three keystrokes) way to
> replace the current line with last-yanked register, in a manner that
> does not have one or both of the disadvantages stated above?

Do all of yourselves a favor and invest a little bit of time installing the
operator-replace plugin:

https://github.com/kana/vim-operator-replace

Note that also requires this plugin to work:
https://github.com/kana/vim-operator-user


I was skeptical when I installed it, and I've realized that I can't imagine my
editing without it in my toolbox. It can replace everything you want from any
register and replacing the contents of a text object.

Is too good for words, really. I strongly recommend it. And Kana is one of the
best plugin writers that I know.

--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net

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