:helpgrep and 'ignorecase'

2006-09-21 Thread Yakov Lerner
Looks like :helpgrep does not take 'ignorecase' setting into account. Is this by design ? :set ignorecase :helpgrep bufwrite E480: No match: bufwrite :helpgrep \cbufwrite ... now it finds matches ... Yakov

Re: glued Cursor trick anyone ?

2006-09-21 Thread Tim Chase
So "nzz" and "Nzz" is more what I want than to "solder" the cursor onto the screen "forever and ever" with "set scrolloff=1000". Ah, by the way: The initial / still jumps to a place whereever it wants to. Is there also a neat trick to "zz" the "/" ("Are you talking vim?", hihihihi ). Well, thou

Re: Project specific keywords?

2006-09-21 Thread hermitte
Hello, Kamil Kisiel <[EMAIL PROTECTED]> wrote: > I would like to define keywords for syntax highlighting that are > specific to a particular project. For example, when using some > third-party API there are often frequently used keywords that I'd like > to highlight when using that API. What's th

Re: :helpgrep and 'ignorecase'

2006-09-21 Thread Benji Fisher
On Thu, Sep 21, 2006 at 10:16:16AM +, Yakov Lerner wrote: > Looks like :helpgrep does not take 'ignorecase' setting into > account. Is this by design ? > > :set ignorecase > :helpgrep bufwrite > E480: No match: bufwrite > :helpgrep \cbufwrite > ... now it finds matches ... > > Yako

Re: glued Cursor trick anyone ?

2006-09-21 Thread Meino Christian Cramer
From: Tim Chase <[EMAIL PROTECTED]> Subject: Re: glued Cursor trick anyone ? Date: Thu, 21 Sep 2006 05:35:54 -0500 > > So "nzz" and "Nzz" is more what I want than to "solder" the > > cursor onto the screen "forever and ever" with "set > > scrolloff=1000". Ah, by the way: The initial / still > > ju

What is the key nameing of...

2006-09-21 Thread Meino Christian Cramer
Hi, I often have the problem to guess, how a certain keysequence is named by the syntax of the vim scripting language. Recently I tried to map Control-CursorUp but it simply does not work for me. Is there any function/script/hack/trick/* like Ctrl-v is for the "raw keysequence" to display

Re: What is the key nameing of...

2006-09-21 Thread Jürgen Krämer
Hi, Meino Christian Cramer wrote: > > I often have the problem to guess, how a certain keysequence is named > by the syntax of the vim scripting language. > > Recently I tried to map Control-CursorUp but it simply does not work > for me. > > Is there any function/script/hack/trick/* like

Re: What is the key nameing of...

2006-09-21 Thread Dmitriy Yamkovoy
Ctrl-V does exactly this. You can go into insert mode, then hit C-V, Ctrl+Up and it will display: You can :help keycodes to see a list of others. On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: Hi, I often have the problem to guess, how a certain keysequence is named by the

Re: glued Cursor trick anyone ?

2006-09-21 Thread Tim Chase
If it is not too much effort to you I would like to know these "bad hacks" -- just to learn a little more about "hacking vim" and not necessaryly (ough, this world looks also very "hackish"...german English) to make them the base of all my later VIMy programming. Generally I think one can le

Re: glued Cursor trick anyone ?

2006-09-21 Thread Meino Christian Cramer
From: Tim Chase <[EMAIL PROTECTED]> Subject: Re: glued Cursor trick anyone ? Date: Thu, 21 Sep 2006 10:33:43 -0500 > > If it is not too much effort to you I would like to know these > > "bad hacks" -- just to learn a little more about "hacking vim" > > and not necessaryly (ough, this world looks a

Re: glued Cursor trick anyone ?

2006-09-21 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Tim Chase <[EMAIL PROTECTED]> Subject: Re: glued Cursor trick anyone ? Date: Thu, 21 Sep 2006 05:35:54 -0500 So "nzz" and "Nzz" is more what I want than to "solder" the cursor onto the screen "forever and ever" with "set scrolloff=1000". Ah, by the way: The i

Re: What is the key nameing of...

2006-09-21 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, I often have the problem to guess, how a certain keysequence is named by the syntax of the vim scripting language. Recently I tried to map Control-CursorUp but it simply does not work for me. Is there any function/script/hack/trick/* like Ctrl-v is for th

Re: What is the key nameing of...

2006-09-21 Thread Meino Christian Cramer
From: "A.J.Mechelynck" <[EMAIL PROTECTED]> Subject: Re: What is the key nameing of... Date: Thu, 21 Sep 2006 18:02:19 +0200 > Meino Christian Cramer wrote: > > Hi, > > > > I often have the problem to guess, how a certain keysequence is named > > by the syntax of the vim scripting language. > >

Re: What is the key nameing of...

2006-09-21 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Hi Tony, thanks for your explanations ! :) Ctrl-v gives me the "raw values" (that is the binary representation) of the keycodes. But I wanted the way of "name" those keysequences when using in vim scripts displayed. Keep hacking! mcc Yes, that's what

Re: What is the key nameing of...

2006-09-21 Thread Yegappan Lakshmanan
Hello, On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: From: "A.J.Mechelynck" <[EMAIL PROTECTED]> Subject: Re: What is the key nameing of... Date: Thu, 21 Sep 2006 18:02:19 +0200 > Meino Christian Cramer wrote: > > Hi, > > > > I often have the problem to guess, how a certain keys

Re: What is the key nameing of...

2006-09-21 Thread Meino Christian Cramer
From: "Yegappan Lakshmanan" <[EMAIL PROTECTED]> Subject: Re: What is the key nameing of... Date: Thu, 21 Sep 2006 10:23:22 -0700 > Hello, > > On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: > > From: "A.J.Mechelynck" <[EMAIL PROTECTED]> > > Subject: Re: What is the key nameing of...

The wonders of keymaping...

2006-09-21 Thread Meino Christian Cramer
Hi, I wanted to remap Ctrl-e to Ctrl-Up and Ctrl-y to Ctrl-Down . In my .vimrc I wrote nnoremap nnoremap Interesting...I could display the Ctrl- with i_Ctrl-K, but this didn't work for / and the whole remapping also does not work. and performs like Up and Down alo

Re: The wonders of keymaping...

2006-09-21 Thread Yakov Lerner
On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: Hi, I wanted to remap Ctrl-e to Ctrl-Up and Ctrl-y to Ctrl-Down . In my .vimrc I wrote nnoremap nnoremap Hmmm ... did you possibly want[ed] to do: nnoremap nnoremap ? Yakov

Re: The wonders of keymaping...

2006-09-21 Thread Meino Christian Cramer
From: "Yakov Lerner" <[EMAIL PROTECTED]> Subject: Re: The wonders of keymaping... Date: Thu, 21 Sep 2006 20:46:37 +0300 > On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I wanted to remap > > > >Ctrl-e to Ctrl-Up > > > > and > > > >Ctrl-y to Ctrl-Down > > >

Re: Text edit versus vi on some files

2006-09-21 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18-Sep-06, at 8:46 PM, A.J.Mechelynck wrote: Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18-Sep-06, at 11:56 AM, David Morel wrote: Brian McKee a écrit : file Localizable.strings Localizable.strings: Big-endian UTF-16

Re: The wonders of keymaping...

2006-09-21 Thread Yakov Lerner
On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: From: "Yakov Lerner" <[EMAIL PROTECTED]> Subject: Re: The wonders of keymaping... Date: Thu, 21 Sep 2006 20:46:37 +0300 > On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I wanted to remap > > > >Ctrl

[BUG]

2006-09-21 Thread Max Dyckhoff
Having just activated scrolloff=4 (which is great!) I have noticed one small bug in gvim. If you do a visual select using the mouse, then the scrolloff will be entirely ignored. 1. Select some text with the mouse. 2. Use the keyboard to move the cursor up to the top of the window. 3. Watch the

Re: The wonders of keymaping...

2006-09-21 Thread Meino Christian Cramer
From: "Yakov Lerner" <[EMAIL PROTECTED]> Subject: Re: The wonders of keymaping... Date: Thu, 21 Sep 2006 21:12:56 +0300 > On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: > > From: "Yakov Lerner" <[EMAIL PROTECTED]> > > Subject: Re: The wonders of keymaping... > > Date: Thu, 21 Sep 20

Re: glued Cursor trick anyone ?

2006-09-21 Thread Tim Chase
nnoremap / :exec('cnoremap <'.'cr> <'.'cr>:exec("cunmap <"."cr>")<'.'cr>:call HighlightCurrentSearch()<'.'cr>')/ nnoremap ? :exec('cnoremap <'.'cr> <'.'cr>:exec("cunmap <"."cr>")<'.'cr>:call HighlightCurrentSearch()<'.'cr>')? thanks a lot for the secrets ! :))) I'm not sure they're secre

Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Larry Alkoff
Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop it? Larry -- Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Charles E Campbell Jr
Larry Alkoff wrote: Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop it? :help titleold Regards, Chip Campbell

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Yakov Lerner
On 9/21/06, Larry Alkoff <[EMAIL PROTECTED]> wrote: Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop it? :he 'title' :he 'titleold' :he 'titlestring' Yakov

placeholders

2006-09-21 Thread Kim Schulz
Hi I want to add placeholders to some templates I have like <+TITLE+> <+DATE+> etc. I then want to map a keyboard shortcut to do the following 1. find next placeholder 2. remove placeholder 3. place cursor where placehoder where 4. go into insert mode. I started out on the command, but got ki

Re: placeholders

2006-09-21 Thread Tim Chase
I want to add placeholders to some templates I have like <+TITLE+> <+DATE+> etc. I then want to map a keyboard shortcut to do the following 1. find next placeholder 2. remove placeholder 3. place cursor where placehoder where 4. go into insert mode. I started out on the command, but got kin

Re: glued Cursor trick anyone ?

2006-09-21 Thread Andy Wokula
Tim Chase schrieb: > Generally, folks would get fired for writing stunts like the following, > so read with caution... > > Archived here: > http://permalink.gmane.org/gmane.editors.vim/38930 > > you'll find these two lines from my post: > > nnoremap / :exec('cnoremap <'.'cr> <'.'cr>:exec("cunmap

vim nxml?

2006-09-21 Thread Aaron Mehl
Hi all, I asked this a while ago, but I will try again, Is there anything like nxml mode for vim? Especially for Docbook? and not just syntax highlighting but autocomplete and parse as you go and . Thanks, Aaron

Re: placeholders

2006-09-21 Thread Kim Schulz
On Thu, 21 Sep 2006 15:57:13 -0500 Tim Chase <[EMAIL PROTECTED]> wrote: > > I want to add placeholders to some templates I have like > > <+TITLE+> <+DATE+> etc. > > I then want to map a keyboard shortcut to do the following > > 1. find next placeholder > > 2. remove placeholder > > 3. place cu

Re: placeholders

2006-09-21 Thread Luc Hermitte
Hello, * On Thu, Sep 21, 2006 at 10:43:54PM +0200, Kim Schulz <[EMAIL PROTECTED]> wrote: > I want to add placeholders to some templates I have like > <+TITLE+> <+DATE+> etc. > I then want to map a keyboard shortcut to do the following > 1. find next placeholder > 2. remove placeholder > 3. pl

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Larry Alkoff
Yakov Lerner wrote: On 9/21/06, Larry Alkoff <[EMAIL PROTECTED]> wrote: Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop it? :he 'title' :he 'titleold' :he 'title

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread A.J.Mechelynck
Larry Alkoff wrote: Yakov Lerner wrote: On 9/21/06, Larry Alkoff <[EMAIL PROTECTED]> wrote: Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop it? :he 'title' :he

Re: vim nxml?

2006-09-21 Thread Mikolaj Machowski
Dnia środa, 20 września 2006 19:55, Aaron Mehl napisał: > Hi all, > > I asked this a while ago, but I will try again, > > Is there anything like nxml mode for vim? > > Especially for Docbook? > > and not just syntax highlighting but autocomplete and parse as you go > and . completion is availa

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Larry Alkoff
A.J.Mechelynck wrote: Larry Alkoff wrote: Yakov Lerner wrote: On 9/21/06, Larry Alkoff <[EMAIL PROTECTED]> wrote: Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop

RE: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Max Dyckhoff
:he means :help, so :he 'title' is suggesting that you read the help file for the solution that you need. Including :he 'title' in your .vimrc will upset things :) Max > -Original Message- > From: Larry Alkoff [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 21, 2006 4:19 PM > To:

RE: [BUG]

2006-09-21 Thread Max Dyckhoff
Addendum: You actually have to drag with the mouse. Just double clicking on a word will not cause this erroneous behaviour. [1-4]-clicking and then dragging will make it happen. Max > -Original Message- > From: Max Dyckhoff [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 21, 2006

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread Larry Alkoff
Oh silly me. Now I understand. After some experimenting I still have some questions. 1. I'd like to have _only_ the title (or path/title if I must) in the titlebar and have the old title restored when I exit vim but I haven't yet figured out how to do that after trying various combinations o

ctrl-v after a "o" command

2006-09-21 Thread lll
Hello: I'm using VIM 7.0 in windows OS. Whenever I paste something using ctrl-v after typing "o" to insert on next line, the pasted string would not follow the indentation of the curser. It would paste the string from the beginning of the line. This is a new behavior compare to version 6.2. Does

Re: Howto stop "Thanks for flying Vim" on Konsole Window Titlebar?

2006-09-21 Thread A.J.Mechelynck
Larry Alkoff wrote: Oh silly me. Now I understand. After some experimenting I still have some questions. 1. I'd like to have _only_ the title (or path/title if I must) in the titlebar and have the old title restored when I exit vim but I haven't yet figured out how to do that after trying v

Re: ctrl-v after a "o" command

2006-09-21 Thread A.J.Mechelynck
lll wrote: Hello: I'm using VIM 7.0 in windows OS. Whenever I paste something using ctrl-v after typing "o" to insert on next line, the pasted string would not follow the indentation of the curser. It would paste the string from the beginning of the line. This is a new behavior compare to versio

Re: placeholders

2006-09-21 Thread Kim Schulz
On Thu, 21 Sep 2006 23:36:19 +0200 Luc Hermitte <[EMAIL PROTECTED]> wrote: > Hello, > > * On Thu, Sep 21, 2006 at 10:43:54PM +0200, Kim Schulz > <[EMAIL PROTECTED]> wrote: > > I want to add placeholders to some templates I have like > > <+TITLE+> <+DATE+> etc. > > I then want to map a keyboard s