Re: Simple move/rename command with cursor placement, howto?

2006-06-10 Thread Yakov Lerner
On 6/10/06, Marc Weber [EMAIL PROTECTED] wrote: I want to type \mv to be able to move/rename a file the RenameFile command works fine The \mv mapping should enter :RenameFile /path/cursorfilename So that I can use Ctrl-e/k to delete change whatever I want.. That's why I'm trying to substiute

Re: Simple move/rename command with cursor placement, howto?

2006-06-10 Thread Marc Weber
Yakov How would you implement bash Ctrl-k behaviour ? Delete from cursor till the end of line? noremap : q:i ? ;-) Marc

Re: Simple move/rename command with cursor placement, howto?

2006-06-10 Thread A.J.Mechelynck
Marc Weber wrote: Yakov How would you implement bash Ctrl-k behaviour ? Delete from cursor till the end of line? noremap : q:i ? ;-) Marc In Normal mode, D (shift-d) deletes from cursor to end-of-line (with a count: on count lines including the current one). See :help D HTH,