On 11/7/06, Bill McCarthy <[EMAIL PROTECTED]> wrote:
On Sun 5-Nov-06 3:21am -0600, Yakov Lerner wrote:
> On 11/5/06, Bill McCarthy <[EMAIL PROTECTED]> wrote:
>> I am having a problem trying to echo a message triggered by
>> an autocmd on BufEnter when entering a tab page.
>>
>> Try this:
>>
>>
On Mon 6-Nov-06 10:06pm -0600, A.J.Mechelynck wrote:
> Somehow I see neither
>
> foo 123L, 2458C
>
> nor
>
> foo [New File]
>
> in your verbosefile; I thought one of them should be issued?
That's because I didn't set 'vbs' and 'vfile' until after
":tabe foo" was executed.
> Does
Bill McCarthy wrote:
On Sun 5-Nov-06 3:21am -0600, Yakov Lerner wrote:
On 11/5/06, Bill McCarthy <[EMAIL PROTECTED]> wrote:
I am having a problem trying to echo a message triggered by
an autocmd on BufEnter when entering a tab page.
Try this:
:au BufEnter foo echom "Entered foo"
First
On Mon, Nov 06, 2006 at 10:54:13PM +0800, Eddy Zhao wrote:
> 2006/11/6, Benji Fisher <[EMAIL PROTECTED]>:
[snip]
> > Perhaps it would help if you described more precisely what is not
> >working the way it should (or the way you expect).
> >
>
> Hello Benji & Tony, thanks for tracing the proble
On Sun 5-Nov-06 3:21am -0600, Yakov Lerner wrote:
> On 11/5/06, Bill McCarthy <[EMAIL PROTECTED]> wrote:
>> I am having a problem trying to echo a message triggered by
>> an autocmd on BufEnter when entering a tab page.
>>
>> Try this:
>>
>> :au BufEnter foo echom "Entered foo"
>>
>> First le
Marc Weber wrote:
Imagine having the files:
-- >8 -- >8 autoload/test.vim - >8 -- >8 -- >8
function test#DoTest(a)
if a == 1
call s:F1()
else
call s:F2()
endif
endfunction
function test#Test()
echo "test#Te
> -- >8 -- >8 autoload/test.vim - >8 -- >8 -- >8
> function test#DoTest(a)
> if a == 1
> call s:F1()
> else
> call s:F2()
> endif
> endfunction
I'm sorry. It does work.
The solution is to use something like
let G=s:F1
Imagine having the files:
-- >8 -- >8 autoload/test.vim - >8 -- >8 -- >8
function test#DoTest(a)
if a == 1
call s:F1()
else
call s:F2()
endif
endfunction
function test#Test()
echo "test#Test()"
endfunction
le
On 11/4/06, Ujjal Bose <[EMAIL PROTECTED]> wrote:
I was having problem with cut-paste selections from X <-> Windows
for gvim (6.2) , and this is the reply I got from the RealVNC team .
So is there a way to solve this in gvim ?
I found the patch someone made for very similar problem:
htt
>
> Matt Zyzik wrote:
>
>> It bothers me how when switching between tabs (gt) or switching between
>> buffers (:bn, :bp), sometimes a buffer will end up being
>> shifted/scrolled up/down within its window.
>>
>> For the occasions that I want to shift the buffer I have keys like "zz"
>> to do this m
Yakov,
Your tip is great. It fixed the first problem (with :bn, :bp). However, it
does not take care of the second problem, regarding the tabs.
In addition, Yakov, I've found some instances where your tip fails to
work. It must be a bug in vim, because the tip's code looks fine.
--Matt
> On 11/
Attention plain TeX users(1):
I have uploaded version 0.2 of my ftplugin for plain TeX (filetype
plaintex):
http://www.vim.org/scripts/script.php?script_id=1685
Features:
* Map " in Insert mode to produce either open or close quotes (`` or '').
* Map and to replace the Visual selection wi
Yakov Lerner wrote:
Wrong list ?
Yakov
Oops...sorry;
Must need higher octane coffee...(or sleep)...
sigh,
linda
* Linda W <[EMAIL PROTECTED]> [061106 00:11]:
> The manpages for "my" bash's (3.1.11 on Linux and 3.1.17 on cygwin/i686),
> under Parameter Expansion, has:
>
>
> ${!prefix*}
> [EMAIL PROTECTED]
>Expands to the names of variables whose names begin with prefix,
>separated by
Thanks. I see where the c.vim plugin sets the browsefilter; I'll have to
think about whether I want to adapt my habits or do some script-writing.
Maybe some of both!
Benji Fisher wrote:
On Fri, Nov 03, 2006 at 11:12:19AM -0700, Daryl Lee wrote:
This may be a Windows issue, but maybe someone he
Eddy Zhao wrote:
[...]
Though status line shows imd is being reset while change from nomal
mode to insert mode, but IM is not enabled (in other words, scim input
window is not popup when return back to insert mode). That's the
problem I encountered. Anything else I can try to debug to nail down
t
Matt Zyzik wrote:
> It bothers me how when switching between tabs (gt) or switching between
> buffers (:bn, :bp), sometimes a buffer will end up being
> shifted/scrolled up/down within its window.
>
> For the occasions that I want to shift the buffer I have keys like "zz"
> to do this manually.
Yakov Lerner wrote:
Is it possible to obtain the contents of the bottom line
(which can be result of previous "echo") in the script ?
I would like, before making an action that erases the
bottom line, to save its contents then restore it ?
Thanks
Yakov
It is possible to intercept (in a regist
2006/11/6, Benji Fisher <[EMAIL PROTECTED]>:
On Mon, Nov 06, 2006 at 07:28:35PM +0800, Eddy Zhao wrote:
> 2006/11/6, Benji Fisher <[EMAIL PROTECTED]>:
[snip]
> > Part of the problem is that you defined the :map commands with <>
> >notation before setting 'nocp'. From another post on this thr
Is it possible to obtain the contents of the bottom line
(which can be result of previous "echo") in the script ?
I would like, before making an action that erases the
bottom line, to save its contents then restore it ?
Thanks
Yakov
> On Mon, Nov 06, 2006 at 10:55:34AM +0100, Zdenek Sekera wrote:
> > > I had many cases of "disappearing echo" in the past,
> > > I was mostly able to solve with some or other tricks. This
> > > one is difficult, I cannot solve it whatever I try (echo in
> > > the rhs of 'nmap *'):
> > >
> > > 1.
On Mon, Nov 06, 2006 at 07:28:35PM +0800, Eddy Zhao wrote:
> 2006/11/6, Benji Fisher <[EMAIL PROTECTED]>:
[snip]
> > Part of the problem is that you defined the :map commands with <>
> >notation before setting 'nocp'. From another post on this thread, I see
> >that you want to try this with gv
On Mon, Nov 06, 2006 at 10:55:34AM +0100, Zdenek Sekera wrote:
> > I had many cases of "disappearing echo" in the past,
> > I was mostly able to solve with some or other tricks. This
> > one is difficult, I cannot solve it whatever I try (echo in
> > the rhs of 'nmap *'):
> >
> > 1. :nnoremap * :e
On Sat, Nov 04, 2006 at 10:01:24PM +0100, Guido Van Hoecke wrote:
> Fellow Vimmers,
>
> Lines 185-186 in usr_10.txt claim
>
> ... Other flags include p (print), which causes the ":substitute"
> command to print out each line it changes. ...
>
> This is not what happens.
>
> Line 639 in change.
Hello.
I have problem with spell cheking in vim. I'm editing .xml file. Now if
I set:
:set spell spelllang=en
vim starts to check spelling but only inside quotes in link tag
( tags where the actuall text
is. (Fex, vim does not check here) How can I avoid that?
And if you wish to try that behav
A.J.Mechelynck ([EMAIL PROTECTED]) wrote:
> [EMAIL PROTECTED] wrote:
> >A.J.Mechelynck ([EMAIL PROTECTED]) wrote:
> >>Gregory SACRE wrote:
> [...]
>
> Method I:
> Try using /PLATFO~1/ instead of /platform view/ (or maybe PLATFO~2 or
> PLATFO~3 if you have several LongFileNames starting platfo* in
2006/11/6, Benji Fisher <[EMAIL PROTECTED]>:
On Sun, Nov 05, 2006 at 03:13:20PM +0800, Eddy Zhao wrote:
[snip]
> Thanks (I forget to set ls).
>
> I do the following
> - gvim -u NONE
> - :set stl=%{&imd} ls=2
> - :inoremap :set imd
> - :nnoremap i :set noimdi
> - :set nocp
> - switching back & fo
[EMAIL PROTECTED] wrote:
A.J.Mechelynck ([EMAIL PROTECTED]) wrote:
Gregory SACRE wrote:
Hello Chip,
I followed your procedure, but unfortunately, the behaviour of netrw
surprised me.
The installation went fine, no error messages.
I tried the following command:
:Explore **//STRING
to find
A.J.Mechelynck ([EMAIL PROTECTED]) wrote:
> Gregory SACRE wrote:
> >Hello Chip,
> >
> >I followed your procedure, but unfortunately, the behaviour of netrw
> >surprised me.
> >
> >The installation went fine, no error messages.
> >I tried the following command:
> >
> > :Explore **//STRING
> >
> >t
Akbar wrote:
Hi, in my single session, I have many tabs opened, and in one tabs, I
often open three windows or more. That means I have many many buffers.
Sometimes I want to edit one buffer that I don't know where it is ( in
where tab, or in where window ), so I just have to search by iterating
f
Gregory SACRE wrote:
Hello Chip,
I followed your procedure, but unfortunately, the behaviour of netrw
surprised me.
The installation went fine, no error messages.
I tried the following command:
:Explore **//STRING
to find all the file containing the string STRING. The command just
hanged t
Hi, in my single session, I have many tabs opened, and in one tabs, I
often open three windows or more. That means I have many many buffers.
Sometimes I want to edit one buffer that I don't know where it is ( in
where tab, or in where window ), so I just have to search by iterating
from tab to tab
> I had many cases of "disappearing echo" in the past,
> I was mostly able to solve with some or other tricks. This
> one is difficult, I cannot solve it whatever I try (echo in
> the rhs of 'nmap *'):
>
> 1. :nnoremap * :exe "norm! *" echomsg "bla bla"
> 2. :help help
> 3. /for
> 4. press * * *
Hello Chip,
I followed your procedure, but unfortunately, the behaviour of netrw
surprised me.
The installation went fine, no error messages.
I tried the following command:
:Explore **//STRING
to find all the file containing the string STRING. The command just
hanged there, not doing anythi
On 11/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
It bothers me how when switching between tabs (gt) or switching between
buffers (:bn, :bp), sometimes a buffer will end up being
shifted/scrolled up/down within its window.
For the occasions that I want to shift the buffer I have keys like
On 11/6/06, Linda W <[EMAIL PROTECTED]> wrote:
The manpages for "my" bash's (3.1.11 on Linux and 3.1.17 on cygwin/i686),
under Parameter Expansion, has:
${!prefix*}
[EMAIL PROTECTED]
Expands to the names of variables whose names begin with prefix,
separated by the firs
On 11/6/06, victor NOAGBODJI <[EMAIL PROTECTED]> wrote:
How can I use Vim to generate the listing of a directory?
The directory contains images. And a textfile, but I don't
want to textfile. Only the images.
The output would be in the textfile I was talking about.
Each line would represent a pat
victor NOAGBODJI wrote:
Hi,
How can I use Vim to generate the listing of a directory?
The directory contains images. And a textfile, but I don't
want to textfile. Only the images.
The output would be in the textfile I was talking about.
Each line would represent a path to an image.
Do you thin
I had many cases of "disappearing echo" in the past,
I was mostly able to solve with some or other tricks. This
one is difficult, I cannot solve it whatever I try (echo in
the rhs of 'nmap *'):
1. :nnoremap * :exe "norm! *" echomsg "bla bla"
2. :help help
3. /for
4. press * * * * * * *
Message "
Hi,
How can I use Vim to generate the listing of a directory?
The directory contains images. And a textfile, but I don't
want to textfile. Only the images.
The output would be in the textfile I was talking about.
Each line would represent a path to an image.
Do you think it is possible? How can
40 matches
Mail list logo