Key mapping on , and . with CTRL

2006-10-27 Thread Zhaojun WU
Hi, Vimmers, Is there any way to map the comma and period with CTRL such as: map C-, :foo map C-. :foo It seems the , and . cannot be used here directly. How can I do in this case? Another question is how I can check all of the current key mappings in VIM? I remembered I saw something about

Re: Key mapping on , and . with CTRL

2006-10-27 Thread ymc014
Another question is how I can check all of the current key mappings in VIM? I remembered I saw something about it before, but failed to find it out. try :map hth, ymc

Re: Key mapping on , and . with CTRL

2006-10-27 Thread Peter Hodge
Hello, I think it depends on what your terminal can understand. One way you can find it out is to type ':map ' (using command mode), then press CTRL-V and then the key sequence you want to map. For example, to map CTRL-L you could use ':map CTRL-VCTRL-L'. regards, Peter --- Zhaojun WU

Re: Key mapping on , and . with CTRL

2006-10-27 Thread Dmitriy Yamkovoy
You might also want to see the conversation earlier this week about which Control-keys are considered cross-platform. I think it was C-@ and C-A through C-Z, and the rest are not guaranteed to work on all systems. -Dmitriy On 10/27/06, Peter Hodge [EMAIL PROTECTED] wrote: Hello, I think it

RE: gf question

2006-10-27 Thread Ben K.
On Thu, 26 Oct 2006, Max Dyckhoff wrote: set isfname-== On Thu, 26 Oct 2006, Russell Bateman wrote: progname=/usr/local/txserver OK both worked. Thanks. I found from the help that visually selecting and then doing gf also works thought it's a bit cumbersome. Wrapping the RHS

Re: about fonts : from ubuntu to windows

2006-10-27 Thread John Degen
- Original Message From: victor NOAGBODJI [EMAIL PROTECTED] To: vim@vim.org Sent: Friday, October 27, 2006 2:06:56 PM Subject: about fonts : from ubuntu to windows Hello all, I'm quite a newbie to Vim. I've been using it under ubuntu dapper. With moria color plugin, the font was nice,

RE: about fonts : from ubuntu to windows

2006-10-27 Thread David Fishburn
-Original Message- From: John Degen [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 9:25 AM To: victor NOAGBODJI; vim@vim.org Subject: Re: about fonts : from ubuntu to windows - Original Message From: victor NOAGBODJI [EMAIL PROTECTED] To: vim@vim.org Sent:

Re: about fonts : from ubuntu to windows

2006-10-27 Thread John Degen
- Original Message From: victor NOAGBODJI [EMAIL PROTECTED] To: vim@vim.org Sent: Friday, October 27, 2006 2:06:56 PM Subject: about fonts : from ubuntu to windows Hello all, I'm quite a newbie to Vim. I've been using it under ubuntu dapper. With moria color plugin, the font was nice,

Re: Metaprogramming, mixed languages, and Vim.

2006-10-27 Thread Hugh Sasse
On Thu, 26 Oct 2006, A.J.Mechelynck wrote: Hugh Sasse wrote: On Thu, 26 Oct 2006, A. S. Budden wrote: perl scripts embedded in a single Matlab script. I have done similar things for C and others. Well, in my .vimrc I now have: To MetaProgram C using Ruby function

Re: about fonts : from ubuntu to windows

2006-10-27 Thread victor NOAGBODJI
Thanks a lot for helping.

Smart use of Tab

2006-10-27 Thread A. S. Budden
Dear all, I've recently started using the CleverTab function below, modified from the bottom of the comments page on tip 102. This is brilliant from my point of view: - tab produces tabs at the start of the line for indenting*; - tab shows the longest unique option in the omnicomplete list

Re: Key mapping on , and . with CTRL

2006-10-27 Thread Zhaojun WU
Hi, Dmitriy, Peter, and YMC, Thanks a ton. :) Zhaojun On 10/27/06, Dmitriy Yamkovoy [EMAIL PROTECTED] wrote: You might also want to see the conversation earlier this week about which Control-keys are considered cross-platform. I think it was C-@ and C-A through C-Z, and the rest are not

Re: Smart use of Tab

2006-10-27 Thread Benji Fisher
On Fri, Oct 27, 2006 at 04:46:02PM +0100, A. S. Budden wrote: Dear all, I've recently started using the CleverTab function below, modified from the bottom of the comments page on tip 102. This is brilliant from my point of view: - tab produces tabs at the start of the line for

tags with abc::efg?

2006-10-27 Thread Henry
Hi, I have a bunch TCL procs defined with :: in the name. ie: abc::efg. I created a tags file, inside the tag file, it has abc::efg When I try to jump to this proc abc::efg in vim, using CTRL-], it can't find it. If cursor is under abc, then I get an message E426: tag not found: abc If the

Re: Metaprogramming, mixed languages, and Vim.

2006-10-27 Thread A.J.Mechelynck
Hugh Sasse wrote: On Thu, 26 Oct 2006, A.J.Mechelynck wrote: [...] Method III (recommended): include into your @CSTUFF cluster a file containing only the single line runtime! syntax/c.vim This would be equivalent (with fewer keystrokes) to Method II above. So all these will solve

Re: about fonts : from ubuntu to windows

2006-10-27 Thread A.J.Mechelynck
victor NOAGBODJI wrote: Hello all, I'm quite a newbie to Vim. I've been using it under ubuntu dapper. With moria color plugin, the font was nice, easy to read. I think it's the default system font of ubuntu or something... Now under windows xp. It's bold, hard to read. It's the default system

Re: tags with abc::efg?

2006-10-27 Thread A.J.Mechelynck
Henry wrote: Hi, I have a bunch TCL procs defined with :: in the name. ie: abc::efg. I created a tags file, inside the tag file, it has abc::efg When I try to jump to this proc abc::efg in vim, using CTRL-], it can't find it. If cursor is under abc, then I get an message E426: tag not

Re: tags with abc::efg?

2006-10-27 Thread Henry
AJ, Thank you very much. This is what I was looking for. Sincerely, Henry --- A.J.Mechelynck [EMAIL PROTECTED] wrote: Henry wrote: Hi, I have a bunch TCL procs defined with :: in the name. ie: abc::efg. I created a tags file, inside the tag file, it has abc::efg