On 03/13/12 10:48, Yannik Sembritzki wrote:
is there any pre-defined function which moves the current line
up one line (e.g. ddkP - (only works if you have got a line
above and under the line you want to move)), or has anyone
already scripted such a function?

If you're willing to ignore the error (or let it be informative), you can use

  :m-2

which can be mapped as you see fit:

  :nnoremap <f4> :m-2<cr>

-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