separator in user-defined command name

2006-12-04 Thread Yakov Lerner
I tried '-' and '_' in user-defined command name, both are not accepted (like X_Y, X-Y). Is there maybe some [other] separator that is allowed in user-defined command name ? Thanks Yakov

Re: question on gf and path

2006-12-04 Thread Ben K.
It worked and I appreciate the simpleness. Thanks. On Fri, 1 Dec 2006, Tim Chase wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding

Re: question on gf and path

2006-12-04 Thread Ben K.
Thanks. On Sat, 2 Dec 2006, Marc Weber wrote: On Fri, Dec 01, 2006 at 10:30:26AM -0600, Ben K. wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like

How to change controls to other Keyboard input

2006-12-04 Thread Ondřej Ševčík
Is it posible to change vim controls to be independent on input characters? I use english and czech keyboard and they have different key layout. Can I translate keys in command mode? I need to ů have same meaning as ; becouse they are on same key. It's really hard to use Vim with czech

Re: separator in user-defined command name

2006-12-04 Thread hermitte
Hello, Yakov Lerner [EMAIL PROTECTED] wrote: I tried '-' and '_' in user-defined command name, both are not accepted (like X_Y, X-Y). Is there maybe some [other] separator that is allowed in user-defined command name ? I'm afraid only uppercase letters can be used In case you need to

Re: Do something for all ft, except....

2006-12-04 Thread hermitte
Hello, Meino Christian Cramer [EMAIL PROTECTED] wrote: As far as I understood augroups I can do specific actions for a specific filetype. Or none - * I now came accross the situation to define a keymapping for all filetypes except for one. Is there a more elegant (and suitable for a

Do a grep -r without match .svn directory ?

2006-12-04 Thread KLEIN Stéphane
Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? Thanks for you help Stephane

Re: Tutorial on mapping keys in Vim

2006-12-04 Thread Christian Ebert
Hi Yegappan, * Yegappan Lakshmanan on Wednesday, November 29, 2006 at 22:22:28 -0800: I have created a tutorial on mapping keys in Vim. http://www.geocities.com/yegappan/vim_maps_tutorial.txt This tutorial describes mode specific maps, key notations, tips about maps in various modes, etc.

Re: Man generates lines that are too long

2006-12-04 Thread Guido Van Hoecke
De. Chip, Charles E Campbell Jr said on 12/04/2006 02:52 PM: Guido Van Hoecke wrote: The :Man command always outputs lines that do not fit within the current line length. You could try Manpageview, available at * from vim.sf.net:

Re: your best vim scripting tip

2006-12-04 Thread Kim Schulz
On Mon, 04 Dec 2006 00:40:53 +0100 A.J.Mechelynck [EMAIL PROTECTED] wrote: Kim Schulz wrote: Hi, It you should give one (or more) tips to a person who was going to start creating scripts for vim, then what would it be? (besides know your :help :-) ) ideas could be: Do's and

Re: How to change controls to other Keyboard input

2006-12-04 Thread Yakov Lerner
On 12/4/06, Ondřej Ševčík [EMAIL PROTECTED] wrote: Is it posible to change vim controls to be independent on input characters? I use english and czech keyboard and they have different key layout. Can I translate keys in command mode? I need to ů have same meaning as ; becouse they are on same

Re: separator in user-defined command name

2006-12-04 Thread Gary Johnson
On 2006-12-04, [EMAIL PROTECTED] wrote: Hello, Yakov Lerner [EMAIL PROTECTED] wrote: I tried '-' and '_' in user-defined command name, both are not accepted (like X_Y, X-Y). Is there maybe some [other] separator that is allowed in user-defined command name ? I'm afraid only

Re: Do something for all ft, except....

2006-12-04 Thread Gary Johnson
On 2006-12-03, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi As far as I understood augroups I can do specific actions for a specific filetype. I now came accross the situation to define a keymapping for all filetypes except for one. Is there a more elegant (and suitable for

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread Yegappan Lakshmanan
Hi, On 12/4/06, KLEIN Stéphane [EMAIL PROTECTED] wrote: Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? If you use the grep.vim plugin, then you can set the Grep_Skip_Dirs variable to skip the .svn directory. You can get this plugin

VIM Books

2006-12-04 Thread Taylor, Kevin
I have been using VIM for years to do my development and feel I am a competent user. I have done some minor tweaks in my .vimrc but I have never written a plugin and very rarely do any scripting in the editor. But, I want to take it to the next level. I esp want to start scripting functionality

RE: VIM Books

2006-12-04 Thread Steve Hall
From: Taylor, Kevin, Mon, December 04, 2006 5:16 pm I have been using VIM for years to do my development and feel I am a competent user. I have done some minor tweaks in my .vimrc but I have never written a plugin and very rarely do any scripting in the editor. But, I want to take it to the

Re: VIM Books

2006-12-04 Thread Tim Chase
I have been using VIM for years to do my development and feel I am a competent user. I have done some minor tweaks in my .vimrc but I have never written a plugin and very rarely do any scripting in the editor. But, I want to take it to the next level. I esp want to start scripting functionality

(un)sourcing

2006-12-04 Thread C.G.Senthilkumar.
Hi, I use the following autocmd in my ~/.vimrc to load a source file with my personal vim mappings while editing a tex file: autocmd FileType tex source ~/Dot.vilatexrc This works fine. However, the mappings continue to exist even after I open a different filetype without restarting vim. Is

Re: sourcing

2006-12-04 Thread Bill McCarthy
On Mon 4-Dec-06 5:56pm -0600, C.G.Senthilkumar. wrote: I use the following autocmd in my ~/.vimrc to load a source file with my personal vim mappings while editing a tex file: autocmd FileType tex source ~/Dot.vilatexrc This works fine. However, the mappings continue to exist even after I

Re: How to change controls to other Keyboard input

2006-12-04 Thread A.J.Mechelynck
Ondřej Ševčík wrote: Is it posible to change vim controls to be independent on input characters? I use english and czech keyboard and they have different key layout. Can I translate keys in command mode? I need to ů have same meaning as ; becouse they are on same key. It's really hard to use

Re: sourcing

2006-12-04 Thread Bill McCarthy
On Mon 4-Dec-06 6:54pm -0600, you wrote: On Mon, 4 Dec 2006, Bill McCarthy wrote: On Mon 4-Dec-06 5:56pm -0600, C.G.Senthilkumar. wrote: I use the following autocmd in my ~/.vimrc to load a source file with my personal vim mappings while editing a tex file: autocmd FileType tex source

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread A.J.Mechelynck
KLEIN Stéphane wrote: Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? Thanks for you help Stephane This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory

Re: (un)sourcing

2006-12-04 Thread A.J.Mechelynck
C.G.Senthilkumar. wrote: Hi, I use the following autocmd in my ~/.vimrc to load a source file with my personal vim mappings while editing a tex file: autocmd FileType tex source ~/Dot.vilatexrc This works fine. However, the mappings continue to exist even after I open a different filetype

Re: Pasting utf8

2006-12-04 Thread Benji Fisher
On Fri, Dec 01, 2006 at 11:31:50AM -0800, Bill Moseley wrote: VIM - Vi IMproved 7.0 (2006 May 7, compiled Nov 15 2006 16:24:17) Included patches: 1-164 I don't normally use utf8, but I have a uxterm running on Linux. If I copy and paste some UTF8 text from Firefox into Vim I see:

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread Greg Matheson
On Tue, 05 Dec 2006, A.J.Mechelynck wrote: KLEIN Stéphane wrote: Hi, This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory matching the pattern (at least with GNU grep). Apparently this doesn't work for GNU

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread A.J.Mechelynck
Greg Matheson wrote: On Tue, 05 Dec 2006, A.J.Mechelynck wrote: KLEIN Stéphane wrote: Hi, This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory matching the pattern (at least with GNU grep).

Re: VIM Books

2006-12-04 Thread Jianrong Yu
2006/12/5, Taylor, Kevin [EMAIL PROTECTED]: I have been using VIM for years to do my development and feel I am a competent user. I have done some minor tweaks in my .vimrc but I have never written a plugin and very rarely do any scripting in the editor. But, I want to take it to the next level.

Re: VIM Books

2006-12-04 Thread C.G.Senthilkumar.
:help usr_41.txt should get you started. Hope this helps. Senthil. On Tue, 5 Dec 2006, Jianrong Yu wrote: 2006/12/5, Taylor, Kevin [EMAIL PROTECTED]: I have been using VIM for years to do my development and feel I am a competent user. I have done some minor tweaks in my .vimrc but I have