Sunday, May 2, 2010

switch the line above the cursor and the line below the cursor

I want to define a key shortcut switch the line above the cursor and
the line below the cursor without affecting what is in the buffer (I
mean the things copied by say 'yy'). Could you show me how to do it?

Regards,
Peng

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

Post a Comment