On Tuesday, April 10, 2012 3:41:00 PM UTC-5, Taylor Hedberg wrote: > rcvim, Tue 2012-04-10 @ 12:24:57-0700: > > Suppose I have text file that includes a vertical column of zip codes. > > I want to yank 10 codes so I move to the desired upper left corner and > > hit ctrl-v, then move the cursor down 10 rows and over 5 columns. Now > > I have selected a 5x10 set of characters. Suppose I realize I started > > in the wrong spot and instead wanted to start *down* three rows. I > > know I could use the o command to switch ends and move the endpoint > > rows up and down... but my dream is to instead be able to hit > > something like ctrl-j to move the 5x10 selection window around without > > modifying the size of the 5x10 window. Anyone know how to do it? > > Is this what you're looking for? > > vnoremap <C-J> jojo > vnoremap <C-K> koko
Ah... yes, thanks... but I was hoping it would require a few hundred more lines of code! -- 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
