Copy/delete/paste strategy?

2011-02-21 Thread David Kahn
Relatively new to vim. I know there are other ways to do this specific task such as search/replace but I want to understand how to repeatedly paste some text but also overwrite a certain character, in the case I want to do it manually. This has brought me to need to understand if there is a sort of

Re: Copy/delete/paste strategy?

2011-02-21 Thread Tim Chase
On 02/21/2011 10:41 AM, David Kahn wrote: Relatively new to vim. I know there are other ways to do this specific task such as search/replace but I want to understand how to repeatedly paste some text but also overwrite a certain character, in the case I want to do it manually. This has brought me

Re: Copy/delete/paste strategy?

2011-02-21 Thread Tim Chase
On 02/21/2011 10:41 AM, David Kahn wrote: Relatively new to vim. I know there are other ways to do this specific task such as search/replace but I want to understand how to repeatedly paste some text but also overwrite a certain character, in the case I want to do it manually. This has brought me

Re: Copy/delete/paste strategy?

2011-02-21 Thread AK
On 02/21/2011 11:41 AM, David Kahn wrote: Relatively new to vim. I know there are other ways to do this specific task such as search/replace but I want to understand how to repeatedly paste some text but also overwrite a certain character, in the case I want to do it manually. This has brought me

Re: Copy/delete/paste strategy?

2011-02-21 Thread ZyX
Reply to message «Copy/delete/paste strategy?», sent 19:41:29 21 February 2011, Monday by David Kahn: > So what I do is move in regular mode to the first comma and press 'x' to > remove the comma, and then press 'p'... however instead of getting my > yanked text,

Re: Copy/delete/paste strategy?

2011-02-21 Thread Benjamin R. Haskell
On Mon, 21 Feb 2011, David Kahn wrote: Relatively new to vim. I know there are other ways to do this specific task such as search/replace but I want to understand how to repeatedly paste some text but also overwrite a certain character, in the case I want to do it manually. This has brought me

Re: Copy/delete/paste strategy?

2011-02-21 Thread Ben Fritz
On Feb 21, 10:41 am, David Kahn wrote: > Relatively new to vim. I know there are other ways to do this specific task > such as search/replace but I want to understand how to repeatedly paste some > text but also overwrite a certain character, in the case I want to do it > manually. This has brou

Re: Copy/delete/paste strategy?

2011-02-22 Thread Elias Diem
On 21.02.2011 20:14, Ben Fritz wrote: On Feb 21, 10:41 am, David Kahn wrote: Relatively new to vim. I know there are other ways to do this specific task such as search/replace but I want to understand how to repeatedly paste some text but also overwrite a certain character, in the case I want

Re: Copy/delete/paste strategy?

2011-02-22 Thread Elias Diem
On 02/22/2011 05:37 PM, Elias Diem wrote: 1. align the commas in the lines you wish to replace: word ,12) word2,12) word3,12) How can one easily align the above three lines? I guess there must be something like selecting a range and then tell vim what the character to align at is. Thanks Elias

Re: Copy/delete/paste strategy?

2011-02-22 Thread David Fishburn
me to need to understand if there is a sort of clipboard/yank history. Where it may not help in this particular example, you may be interested in a general Copy/delete/paste strategy for Vim. If that is the case, you may want to look into my YankRing plugin: http://www.vim.org/scripts

Re: Copy/delete/paste strategy?

2011-02-22 Thread AK
case I want to do it manually. This has brought me to need to understand if there is a sort of clipboard/yank history. Where it may not help in this particular example, you may be interested in a general Copy/delete/paste strategy for Vim. If that is the case, you may want to look into my YankRing