Meino Christian Cramer wrote:
Hi,
I wrote this snippet:
"
fun! Ffunchdr()
let date = strftime( "%F" )
put='/*-*/'
put='/**'
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Terminating search in function
Date: Sun, 22 Oct 2006 09:33:01 +0200
> Meino Christian Cramer wrote:
> > Hi,
> >
> > I wrote this snippet:
> >
> > "
> > fun! F
cnoremap (getcmdtype()=='/' ? "\n:redraw" : "\n")
I am intercepring the in the /pattern search.
When search is found, it works. E.g., type /., and you see :redraw
as a sign that mapping worked.
But when search was not found, this mapping does not work.
Why ? Type /xyzxyz, and :redraw does not
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Terminating search in function
Date: Sun, 22 Oct 2006 09:33:01 +0200
Meino Christian Cramer wrote:
Hi,
I wrote this snippet:
"---
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Terminating search in function
Date: Sun, 22 Oct 2006 11:00:14 +0200
> Meino Christian Cramer wrote:
> > From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
> > Subject: Re: Terminating search in function
> > Date: Sun, 22 Oct 2006 09:33:01 +0200
> >
I learnt most of what I know about gVim from the tutorial. I know it's a
lot to ask for but a "Tutorial Part 2" would be excellent. It could
introduce concept and applications of:-
Regular Expressions,
Options,
autocmd,
text formatting,
scripting,
compiling,
On 10/22/06, Java Bob <[EMAIL PROTECTED]> wrote:
I learnt most of what I know about gVim from the tutorial. I know it's a
lot to ask for but a "Tutorial Part 2" would be excellent. It could
introduce concept and applications of:-
Regular Expressions,
Options,
autocmd,
Yakov Lerner wrote:
> cnoremap (getcmdtype()=='/' ? "\n:redraw" : "\n")
>
> I am intercepring the in the /pattern search.
>
> When search is found, it works. E.g., type /., and you see :redraw
> as a sign that mapping worked.
>
> But when search was not found, this mapping does not work.
> W
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Terminating search in function
Date: Sun, 22 Oct 2006 11:00:14 +0200
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Terminating search in function
Date: Sun, 22 Oct 2006
On 10/22/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> cnoremap (getcmdtype()=='/' ? "\n:redraw" : "\n")
>
> I am intercepring the in the /pattern search.
>
> When search is found, it works. E.g., type /., and you see :redraw
> as a sign that mapping worked.
>
> But when
Java Bob wrote:
I learnt most of what I know about gVim from the tutorial. I know it's a
lot to ask for but a "Tutorial Part 2" would be excellent. It could
introduce concept and applications of:-
Regular Expressions,
Options,
autocmd,
text formatting,
scripting,
I am using :startinsert! from my plugin to put the user in insert mode,
but if the user doesn't type anything for 'updatetime' after this, no
CursorHoldI event is generated. I tried doing an explicit :doauto right
after :startinsert!, but Vim ignores it, probably because the command
only schedules
Meino Christian Cramer wrote:
execute "normal ?desc\"
Yes. There is also :call search('pattern', 'b'). It is a bit less
painful substitute to exe "normal ?pattern\".
Yakov
>
> Java Bob wrote:
> > I learnt most of what I know about gVim from the tutorial. I
> know it's a
> > lot to ask for but a "Tutorial Part 2" would be excellent. It could
> > introduce concept and applications of:-
> > Regular Expressions,
> > Options,
> > autocmd,
> > tex
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: Terminating search in function
Date: Sun, 22 Oct 2006 12:29:36 +0200
> Meino Christian Cramer wrote:
> > From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
> > Subject: Re: Terminating search in function
> > Date: Sun, 22 Oct 2006 11:00:14 +0200
> >
Greetings, Vim users.
If you don't care about helping needy children in Uganda, which is Vim's
charity, then skip this message.
As mentioned before, the area of Kibaale has been suffering from a
drought for several months now. Here is an update from Jackie Ammeter
that I received today:
The f
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
[...]
BTW, instead of all those "put" statements, wouldn't it be simpler to have
your template as a separate file, and use ":r filename" to insert it after the
cursor?
Best regards,
Tony.
Hi Tony,
...hrrr clea
Hi,
On 10/22/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
By the way: Is there a way to "puts" more than a single line?
Something like an HERE-doc?
:h
gives me nothing...
You can use any one of the following methods to add/put more than
a single line:
---
I see functions for creating new unlisted buffers (bufnr() with {create}
option), and for reading the lines from the buffer using getbufline(),
all without having to change the current buffer, but I don't see a
setbufline() so there is no way to set the lines without having to
switch to it. Is the
Hello,
I'm sure this is my fault or some Windows snafu. But using gvim 7.0 on
Windows XP, I can't seem to get gvim to successfully filter text
through a Python script. I also use NoteTab and have no problems
running text from NoteTab through the same Python script.
Any vimmers help with this?
I'
On Sun, 22 Oct 2006 at 5:25pm, Hari Krishna Dara wrote:
>
> I am using :startinsert! from my plugin to put the user in insert mode,
> but if the user doesn't type anything for 'updatetime' after this, no
> CursorHoldI event is generated. I tried doing an explicit :doauto right
> after :startinser
Hello,
Can the person responsible please remove this spam from vim.org?
http://www.vim.org/tips/tip.php?tip_id=1367
regards,
Peter
Do you Yahoo!?
Yahoo!7 Time Capsule - Make your mark and be a part of history
http://www.ya
Hi Hari,
On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
I see functions for creating new unlisted buffers (bufnr() with {create}
option), and for reading the lines from the buffer using getbufline(),
all without having to change the current buffer, but I don't see a
setbufline() so t
Removed.
Don't worry, spam won't stay there long. There are more than 10 people
checking for spam in different time zones. Checking the tip list you
will find holes in the sequence numbers, which indicates removed tips.
On 10/23/06, Peter Hodge <[EMAIL PROTECTED]> wrote:
Hello,
Can the person
On Sun, 22 Oct 2006 at 6:20pm, Yegappan Lakshmanan wrote:
> Hi Hari,
>
> On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
> >
> > I see functions for creating new unlisted buffers (bufnr() with {create}
> > option), and for reading the lines from the buffer using getbufline(),
> > all wi
Hello all,
I'm new to Vim, now i'm using GVim 7.0 on Windows system.
Here is my questions.
1. Just installed UTL.VIM plugin ( http://vim.sf.net/script.php?script_id=293).
Its \gu
feature is usful to me. One thing I couldn't figure out is how to highlight
URLs and email
address in text file. A
Hi Hari,
On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
> On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
> >
> > I see functions for creating new unlisted buffers (bufnr() with {create}
> > option), and for reading the lines from the buffer using getbufline(),
> > all witho
On Sun 22-Oct-06 11:09pm -0600, Raymond wrote:
> I'm new to Vim, now i'm using GVim 7.0 on Windows system.
> Here is my questions.
>
> 2. Now I know how to install *.vim plugin. Then I
> encounter VISINCR.VBA plugin
> (http://www.vim.org/scripts/script.php?script_id=670). How
> to install this kin
28 matches
Mail list logo