Yank a region in VIM without the cursor moving to the top of the block? -


is there simple way (i.e. without writing script or elaborate keymap sequence) yank group of lines , leave cursor wherever yank performed, opposed @ start of block?

according vim's help: "note after characterwise yank command, vim leaves cursor on first yanked character closest start of buffer." line-wise seems behave similarly.

this bit annoying me since tend select large region top bottom, yank, , paste near or below bottom of selected region. today i'm setting mark (m-x) before yank , jumping back, suspect there may different yank sequence need.

i've searched , web numerous times. there existing "vim shortcuts" material wade through yet i've not found solution 1 yet.

thanks in advance.

not quite answering question, perhaps '] solve problem?

 ']  `]         last character of changed or                 yanked text.  {not in vi}  

Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -