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
Yakov
How would you implement bash Ctrl-k behaviour ? Delete from cursor till
the end of line?
noremap : q:i
? ;-)
Marc
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,
Hi. I've written another little script.. But by now you need sh and a
client-server version. Perhaps you like it?
just run
gvim --servername MYSERVERNAME
and run a backgroundtask, eg
takealotoftime.sh =
#!/bin/sh
sleep 2
echo I'm ready soon
sleep 3
echo I will take long
sleep 1
Is this what you want ?:
remap f,F to be multi-line
noremap silentf :call OneCharSearch(1)CR
noremap silentF :call OneCharSearch(0)cr
noremap ; n
noremap , N
function! OneCharSearch(forward)
op is '/' or '?'
let x= getchar()
let c=nr2char(x)
echo 'c='.c
if x == 27 |
On Sat, Jun 10, 2006 at 09:27:50PM +0200, Yakov Lerner wrote:
remap f,F to be multi-line. Supports counter before f,F.
finds special chars properly. Yakov Lerner
noremap silentf :call OneCharSearch(1)CR
noremap silentF :call OneCharSearch(0)cr
noremap ; n
noremap , N
function!
On Sat, Jun 10, 2006 at 10:51:24PM +0200, Marc Weber wrote:
[...]
Can you do 3f{ this way ?
Don't know if this is relevant, but you can do similar movements with ]}
and [{, which jump to enclosing } or { respectively.
--
with kind regards
Thor Andreassen
On Sat, Jun 10, 2006 at 11:13:02PM +0200, Thor Andreassen wrote:
On Sat, Jun 10, 2006 at 10:51:24PM +0200, Marc Weber wrote:
[...]
Can you do 3f{ this way ?
Don't know if this is relevant, but you can do similar movements with ]}
and [{, which jump to enclosing } or { respectively.
It is
I want the script to automatically close
function with
endfunction
while with
endwhile
for with
endfor
Using it with java I could imagine to complete
try {
with
} catch () {
}
or
} finally () {
}
But I don't know exactly what to put in here?
This is my attempt which didn't work yet.
Can
On 6/11/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Cesar Romani wrote:
-Messaggio originale-
Da: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Inviato: venerdì 9 giugno 2006 23.34
A: Cesar Romani
Cc: Vim
Oggetto: Re: Vim doesn't open files with chinese file names
Cesar Romani wrote:
10 matches
Mail list logo