On 03/13/12 11:39, sc wrote:
nmap<silent>  <F8>  :m+<CR>
imap<silent>  <F8>  <ESC>:m+<CR>a
nmap<silent>  <S-F8>  :m-2<CR>
imap<silent>  <S-F8>  <ESC>:m-2<CR>a
nmap<silent>  <M-F8>  yyp
imap<silent>  <M-F8>  <ESC>yyp$a

The advantage I find of using :m over yyp is that it leaves my scratch register intact.

-tim


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

Reply via email to