How to find out why a mapping has timeout?

2011-06-29 Thread John Magolske
To avoid having to use the shift key when getting to the command prompt, I have this in my vimrc : noremap ; : I just switched over to a new machine with a fresh install of Debian, and I'm finding the ; keypress is now subject to timeout...but I can't figure out why. This was not the case

vimSubst

2011-06-29 Thread Charles Smith
I'm trying to colorize a file format, and find that syntax rules for things like vimSubst and vimSubstDelim conflict with my syntax. If I enter syn clear vimSubst at the command prompt, the problem goes away, but putting it into my syntax file doesn't work. Is there hierarchy of syntax rule

Re: How to find out why a mapping has timeout?

2011-06-29 Thread Jürgen Krämer
Hi, John Magolske wrote: To avoid having to use the shift key when getting to the command prompt, I have this in my vimrc : noremap ; : I just switched over to a new machine with a fresh install of Debian, and I'm finding the ; keypress is now subject to timeout...but I can't

Re: syntax highlight unusual strings

2011-06-29 Thread cyboman
On Jun 28, 5:07 pm, Charles Campbell charles.e.campb...@nasa.gov wrote: cyboman wrote: my company is using a propitiatory language. there are 4 kind of different kind of strings that can be defined. imystring xmystring bmystring mystring [snip] Here's one attempt... syn

Re: syntax highlight unusual strings

2011-06-29 Thread ZyX
Reply to message «Re: syntax highlight unusual strings», sent 15:37:51 29 June 2011, Wednesday by cyboman: what do z and e in \b\ze, \x\ze, \i\ze stand for? :h /\ze Original message: On Jun 28, 5:07 pm, Charles Campbell charles.e.campb...@nasa.gov wrote: cyboman wrote: my company is

Re: vimSubst

2011-06-29 Thread Charles Campbell
Charles Smith wrote: I'm trying to colorize a file format, and find that syntax rules for things like vimSubst and vimSubstDelim conflict with my syntax. If I enter syn clear vimSubst at the command prompt, the problem goes away, but putting it into my syntax file doesn't work. Is there

Re: syntax highlight unusual strings

2011-06-29 Thread cyboman
On Jun 29, 9:12 am, ZyX zyx@gmail.com wrote: Reply to message «Re: syntax highlight unusual strings», sent 15:37:51 29 June 2011, Wednesday by cyboman: what do z and e in \b\ze, \x\ze, \i\ze stand for? :h /\ze Original message: On Jun 28, 5:07 pm, Charles Campbell

Improved saving of history in viminfo

2011-06-29 Thread ZyX
It is known that if you launch multiple vim instances and then exit every instance will overwrite history stored in viminfo, so only history from the last vim instance will be added. Example: Initial viminfo: one command :echo 'Abc' in history. 1. Launch vim 1, run :echo 'Def'. 2. Launch vim

Re: Improved saving of history in viminfo

2011-06-29 Thread Ben Schmidt
On 30/06/11 12:10 AM, ZyX wrote: It is known that if you launch multiple vim instances and then exit every instance will overwrite history stored in viminfo, so only history from the last vim instance will be added. Example: Initial viminfo: one command :echo 'Abc' in history. 1. Launch vim 1,

Re: syntax highlight unusual strings

2011-06-29 Thread Charles Campbell
ZyX wrote: Reply to message «Re: syntax highlight unusual strings», sent 15:37:51 29 June 2011, Wednesday by cyboman: what do z and e in \b\ze, \x\ze, \i\ze stand for? :h /\ze Also :he /\ HTH, Chip -- You received this message from the vim_use maillist. Do not top-post!

Re: New Version and Perl

2011-06-29 Thread Sergey Khorev
I currently have Perl 5.8.8 running on my AIX box.  It seems the requirement of :MODULE_COMPACT_5.8.8 is needed.  Is this a total replacement of Perl? Where did you see the need to do something with :MODULE_COMPACT_5.8.8? -- You received this message from the vim_use maillist. Do not

Vim don´t see the doc plugin

2011-06-29 Thread JuanPabloAJ
Hi, when I put a symbolic link to a .txt documentation plugin, vim don´t show me the help Example: I have in ~/.vim/doc $ ls -al NERD_tree.txt NERD_tree.txt - /home/juanpablo/src/nerdtree/doc/NERD_tree.txt in vim :h NERDtree vim don´t show me nothing Regards. -- JuanPabloAJ -- You

Re: Improved saving of history in viminfo

2011-06-29 Thread ZyX
Reply to message «Re: Improved saving of history in viminfo», sent 18:30:44 29 June 2011, Wednesday by Ben Schmidt: It is https://bitbucket.org/ZyX_I/parinfo. No documentation (don't see doc/, there is only a template). Options are defined in s:_options

Re: Vim don´t see the doc plugin

2011-06-29 Thread ZyX
Reply to message «Vim don´t see the doc plugin», sent 20:41:25 29 June 2011, Wednesday by JuanPabloAJ: Vim won't show you anything until you generate tags (in this case with :helptags ~/.vim/doc ). Original message: Hi, when I put a symbolic link to a .txt documentation plugin, vim don´t

Re: Vim don´t see the doc plugin

2011-06-29 Thread Taylor Hedberg
Did you generate the help tags? See: :help :helptags -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

RE: Vim don´t see the doc plugin

2011-06-29 Thread JuanPabloAJ
ok, :helptags ~/.vim/doc Many thanks PD: @MarcWeber, Maybe try later vim-addon-manager -- JuanPabloAJ El miércoles 29 de junio de 2011 a las 12:50, Marc Weber escribió: :h helptags Tools such as vim-addon-manager will do this automatically. Marc Weber -- You received this

Re: completion and caching

2011-06-29 Thread Edward Peschko
Bill, Thanks, neocomplcache looks powerful, I'll give it a try. But why doesn't vim completion do this by default? As it stands, the completion for vim is not feasible for projects that pull in more than a couple of libraries, and perhaps I'm using the functionality incorrectly. I'd rather have

Re: completion and caching

2011-06-29 Thread Benjamin R. Haskell
On Tue, 28 Jun 2011, Edward Peschko wrote: All, I'm attempting to use vim's omni-complete feature (ctrl-N, ctrl-P), and am finding - oddly enough - that it keeps on re-scanning the files in order to get the correct symbols, rather than doing what I would think would be the intelligent

Re: vimSubst

2011-06-29 Thread Charles Smith
The after directory is new to me, thank you for introducing it to me. Unfortunately, I can find very little information about how it works exactly (vim version 7.2.264). I don't understand this mechanism... Normally, when a file matching a particular name pattern is loaded into a

Using 'O' to open a new line and insert is slow

2011-06-29 Thread seed
Sometime when I use 'O' to open a new line above the current line, the letter 'O' is displayed on the screen for a few seconds before I can insert. Does anybody have this problem? However, it's ok when I use gVim or use Vim with X off. -- You received this message from the vim_use maillist. Do

Re: Using 'O' to open a new line and insert is slow

2011-06-29 Thread Benjamin R. Haskell
On Wed, 29 Jun 2011, seed wrote: Sometime when I use 'O' to open a new line above the current line, the letter 'O' is displayed on the screen for a few seconds before I can insert. Does anybody have this problem? However, it's ok when I use gVim or use Vim with X off. Sounds like something

conditional cd (setting the working current directory) in _vimrc

2011-06-29 Thread Daniel M. Eldridge
I'm running vim 7.3 on Vista...argh. Sometimes I run vim, I mean gvim by clicking on a shortcut to the program and sometimes I run vim (I mean gvim) by opening a specific file. (vim is installed @ C:\Vim\vim73\gvim.exe) If I invoke vim for a specific file I want vim to set the current directory

Re: Using 'O' to open a new line and insert is slow

2011-06-29 Thread Gary Johnson
On 2011-06-29, seed wrote: Sometime when I use 'O' to open a new line above the current line, the letter 'O' is displayed on the screen for a few seconds before I can insert. Does anybody have this problem? However, it's ok when I use gVim or use Vim with X off. I see that occasionally when I

Re: conditional cd (setting the working current directory) in _vimrc

2011-06-29 Thread Gary Johnson
On 2011-06-29, Daniel M. Eldridge wrote: I'm running vim 7.3 on Vista...argh. Sometimes I run vim, I mean gvim by clicking on a shortcut to the program and sometimes I run vim (I mean gvim) by opening a specific file. (vim is installed @ C:\Vim\vim73\gvim.exe) If I invoke vim for a

Re: conditional cd (setting the working current directory) in _vimrc

2011-06-29 Thread Daniel M. Eldridge
oops; duh. Thanks! --Dan On Wed, Jun 29, 2011 at 8:39 PM, Gary Johnson garyj...@spocom.com wrote: On 2011-06-29, Daniel M. Eldridge wrote: I'm running vim 7.3 on Vista...argh. Sometimes I run vim, I mean gvim by clicking on a shortcut to the program and sometimes I run vim (I mean

Fold the output of grep

2011-06-29 Thread howard Schwartz
Here's what I would like to do: Using gnu grep (or similar one), search files for some string, STRING, with the output including a context line before and after each line found. That would look like: filename:21: This is a context line filename:22: This line contains STRING filename:23: This

How ctags search outside current directory

2011-06-29 Thread 何聪辉
Hello, I'm using vim to read some project source codes, but some problem using ctags come to me. If my directory hierarchy is somewhat like that: ---src |-thread |---Tiger |--device If I am in /src/thread/ and type *ctags -R , *then I can jump to function

Re: Fold the output of grep

2011-06-29 Thread Ben Fritz
On Jun 29, 9:46 pm, howard Schwartz howard...@gmail.com wrote: Here's what I would like to do: Using gnu grep (or similar one), search files for some string, STRING, with the output including a context line before and after each line found. That would look like: filename:21: This is a