While modifying one of my plugins, I had to add a new variable, and so
copy pasted some existing code and modified the name of the variable, so
it looked like this:
exists('g:lookupfile_LookupNotifyFunc')
" The function that should be notified when a file is selected.
let g:lookupfile_LookupN
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
>>
>> C
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 yo
Marc Weber wrote:
[...]
It is ... Try typing f] f} and ]] I think the first one is more general
and easier to type because you can move your small finger above []{}
while typing f ;)
I prefer Ctrl-h over backspace for the same reason.
Perhaps we should ask Bram to change this behaviour?
Would any
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.
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 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 f :call OneCharSearch(1)
> noremap F :call OneCharSearch(0)
> noremap ; n
> noremap , N
> function! OneCharSearch(forwa
I use vim 7.0 compiled with MS Visual C and it has multibyte.
The files with Chinese file names and perhaps with other languages don't
show in Explore.
Many thanks in advance,
Andalou
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:
>>
>>> If I have a file with
> -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:
> > If I have a file with a chinese file name, f.e. 感情包袱.txt
> >
On 6/10/06, Marc Weber <[EMAIL PROTECTED]> wrote:
Can you do 3f{ this way ?
Here is fixed version that handles counter properly.
Regarding f{, yes, it finds it properly.
(That why \V and check for (c=='\' is there)
" remap f,F to be multi-line. Supports counter before f,F.
" finds special ch
> Is this what you want ?:
>
> " remap f,F to be multi-line
> noremap f :call OneCharSearch(1)
> noremap F :call OneCharSearch(0)
> noremap ; n
> noremap , N
> function! OneCharSearch(forward)
>" op is '/' or '?'
>let x= getchar()
>let c=nr2char(x)
>echo 'c='.c
>if x == 27 | re
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
==
> Ofcourse I can use the search, /, but it needs more
> keystrokes. Any advice? Thanks in advance.
Why not use something like this?
function DoMappings()
let
chars=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
let
chars+=['A','B','
On 6/10/06, o1792 <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to get better navigating within vim. I tend
work with screens not lines so I use w or b alot
because they don't stop at line ends. What I dislike
about f and F is that they do stop at line ends, which
I myself don't find so suitable.
Ofc
Hi,
I'm trying to get better navigating within vim. I tend
work with screens not lines so I use w or b alot
because they don't stop at line ends. What I dislike
about f and F is that they do stop at line ends, which
I myself don't find so suitable.
Ofcourse I can use the search, /, but it needs mor
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.
Ken Perl wrote:
hi,
how to comment out or uncomment out a block for perl program file?
There is a file on the Vim site call "perl-support" it adds a bunch of
Perl related stuff (as a menu and key combos). It is very good.
:Robert
> 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/9/06, Ken Guest <[EMAIL PROTECTED]> wrote:
Is it possible to stop vim from telling me that the mode of a file has changed?
For example when I do a chmod +x ?
Yes
silent! "!chmod +x %"
Yakov
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
23 matches
Mail list logo