On Mon, 12 Jun 2006, A.J.Mechelynck wrote:
Benji Fisher wrote:
On Sat, Jun 10, 2006 at 03:50:52PM +0200, A.J.Mechelynck wrote:
Marc Weber wrote:
Yakov
How would you implement bash Ctrl-k behaviour ? Delete from cursor till
the end of line?
noremap : q:i
? ;-)
In Normal mode, D (shift-d
Benji Fisher wrote:
On Sat, Jun 10, 2006 at 03:50:52PM +0200, A.J.Mechelynck wrote:
Marc Weber wrote:
Yakov
How would you implement bash Ctrl-k behaviour ? Delete from cursor till
the end of line?
noremap : q:i
? ;-)
In Normal mode, D (shift-d) deletes from curs
On Sat, Jun 10, 2006 at 03:50:52PM +0200, A.J.Mechelynck wrote:
> Marc Weber wrote:
> >>Yakov
> >>
> >How would you implement bash Ctrl-k behaviour ? Delete from cursor till
> >the end of line?
> >
> >noremap : q:i
> >
> >? ;-)
> >
> In Normal mode, D (shift-d) deletes from cursor to end-of-l
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 lines including the current one).
See
:help D
HTH,
Tony.
> Yakov
How would you implement bash Ctrl-k behaviour ? Delete from cursor till
the end of line?
noremap : q:i
? ;-)
Marc
> ---
> map mv :RenameFile
> \=expand('%')
> \=Empty(setcmdpos(getcmdpos()-length(expand('%:t'
>
> function! Empty(...)
>return ""
> endfun
> -
When using strlen() yes. ;)
Thanks Marc
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 //
So that I can use Ctrl-e/k to delete change whatever I want..
That's why I'm trying to substiute every character of
I want to type \mv to be able to move/rename a file
the RenameFile command works fine
The \mv mapping should enter :RenameFile //
So that I can use Ctrl-e/k to delete change whatever I want..
That's why I'm trying to substiute every character of the filname to
to move the cursor. But I don't know