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
Post a Comment