[BUG] gvim doesn't allow Alt keybindings

2007-02-19 Thread Matthias Koenig
Hi, we have a bug report that keybindings with Alt does not work in gvim if the X input method is enabled: Testcase :set wak=no # disable keybindings for the menu :tabnew :map M-1 1gt :map M-2 2gt This should allow you to switch with Alt-1 and Alt-2 between tabs, but this

Re: Quickfix window not working anymore

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 7:21am -0600, A.J.Mechelynck wrote: Works for me. For me too. BTW, Tony, I've never used :copen before - I use :cw . There look the same but the documentation doesn't seem to indicate that they are the same. What's the difference between :copen and :cwindow ? -- Best

Re: Quickfix window not working anymore

2007-02-19 Thread Yegappan Lakshmanan
Hi, On 2/19/07, Bill McCarthy [EMAIL PROTECTED] wrote: On Mon 19-Feb-07 7:21am -0600, A.J.Mechelynck wrote: Works for me. For me too. BTW, Tony, I've never used :copen before - I use :cw . There look the same but the documentation doesn't seem to indicate that they are the same. What's

Re: Quickfix window not working anymore

2007-02-19 Thread A.J.Mechelynck
Bill McCarthy wrote: On Mon 19-Feb-07 7:21am -0600, A.J.Mechelynck wrote: Works for me. For me too. BTW, Tony, I've never used :copen before - I use :cw . There look the same but the documentation doesn't seem to indicate that they are the same. What's the difference between :copen and

Re: Quickfix window not working anymore

2007-02-19 Thread A.J.Mechelynck
Ryan Phillips wrote: Gautam Iyer [EMAIL PROTECTED] said: Hi All, I just upgraded to Vim-7.0.195, and found that my quick fix bindings don't work any more. For instance :vimgrep /pattern/ *.c :copen Then pressing Enter on a particular error does not move to that error location quick

Re: Quickfix window not working anymore

2007-02-19 Thread Gautam Iyer
On Mon, Feb 19, 2007 at 02:21:49PM +0100, A.J.Mechelynck wrote: I just upgraded to Vim-7.0.195, and found that my quick fix bindings don't work any more. For instance :vimgrep /pattern/ *.c :copen Then pressing Enter on a particular error does not move to that error

Re: [BUG] gvim doesn't allow Alt keybindings

2007-02-19 Thread Bram Moolenaar
Matthias Koenig wrote: we have a bug report that keybindings with Alt does not work in gvim if the X input method is enabled: Testcase :set wak=no # disable keybindings for the menu :tabnew :map M-1 1gt :map M-2 2gt This should allow you to switch with Alt-1 and

patch 7.0.198 (extra)

2007-02-19 Thread Bram Moolenaar
Patch 7.0.198 (extra) Problem:Win32: Compiler warnings. No need to generate gvim.exe.mnf. Solution: Add type casts. Use * for processorArchitecture. (George Reilly) Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c *** ../vim-7.0.197/src/Make_mvc.mak Thu Apr 27

patch 7.0.199

2007-02-19 Thread Bram Moolenaar
Patch 7.0.199 Problem:When using multi-byte characters the combination of completion and formatting may result in a wrong cursor position. Solution: Don't decrement the cursor column, use dec_cursor(). (Yukihiro Nakadaira) Also check for the column to be zero.

patch 7.0.200

2007-02-19 Thread Bram Moolenaar
Patch 7.0.200 Problem:Memory leaks when out of memory. Solution: Free the memory. Files: src/edit.c, src/diff.c *** ../vim-7.0.199/src/edit.c Tue Feb 20 03:33:51 2007 --- src/edit.c Fri Feb 16 01:15:49 2007 *** *** 2698,2703 --- 2698,2704 buf =

patch 7.0.201

2007-02-19 Thread Bram Moolenaar
Patch 7.0.201 Problem:Message for :diffput about buffer not being in diff mode may be wrong. Solution: Check for buffer in diff mode but not modifiable. Files: src/diff.c *** ../vim-7.0.200/src/diff.c Tue Feb 20 03:52:04 2007 --- src/diff.c Fri Feb 16 01:18:41 2007

Re: Optimum syntax file size...

2007-02-19 Thread Peter Hodge
Hello, If it is a C-style syntax where you're matching together lots of { } areas (or if/endif blocks, etc), using regions, then you should provide an option to turn it on/off, because this can be slow on large files (and get out of sync). Thousands of keywords probably isn't an issue, but if

Re : Omni Confusion

2007-02-19 Thread Vissale NEANG
Hello, To use cpp completion with c files you can copy ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim Best regards vissale

Problem with setting the cursor color

2007-02-19 Thread Lasse Harju
Hello, This might be FAQ material but I didn't manage to find an answer from the vim.org support pages. I'm having trouble setting the cursor color for cterm. Something is overriding the settings I give in my colorscheme definition file. No matter how i set the cursor highlighting for cterm

Re: 8 bit problem

2007-02-19 Thread Ulrich Lauther
A problem with German Umlauts Under Linux I have modified my key map in a way that for instance ALT a generates Umlaut a (a in Tex notation). Now when I start vi like this: /usr/bin/X11 rxvt -meta8 -e vim I can type in Umlauts using the ALT key. This also worked with gvim,

question about mapping

2007-02-19 Thread shawn bright
hello there all, i am very new to vim, but i really dig it. I tried out a script plugin from vim.org and when i start vim, there is an error message that says Error detected while processing /home/piv/.vim/plugin/snippetsE mu.vim: line 163: E227: mapping already exists for ^I i guess i need to

Re: surround.vim in AsNeeded

2007-02-19 Thread drchip
Quoting Bill McCarthy [EMAIL PROTECTED]: Hello Vim List, I just tried out surround.vim, recently updated on Vim Online. Nice plugin! It works fine when placed in my plugin directory but doesn't work if moved to my AsNeeded directory and :MkAsNeeded is run. Has anyone out there been

Re: question about mapping

2007-02-19 Thread A.J.Mechelynck
shawn bright wrote: hello there all, i am very new to vim, but i really dig it. I tried out a script plugin from vim.org and when i start vim, there is an error message that says Error detected while processing /home/piv/.vim/plugin/snippetsE mu.vim: line 163: E227: mapping already exists for

Overview of diretories of $HOME/.vim

2007-02-19 Thread Kai Weber
Hello, where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for :help ftplugin, :help initialization and so on. I am searching for a short overview like foo -- contains files for filetypes foo/bar --

Re: Overview of diretories of $HOME/.vim

2007-02-19 Thread Tim Chase
where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for :help ftplugin, :help initialization and so on. I am searching for a short overview like I'm not sure such a list exists from a quick search of

Re: ant plugin recomendation

2007-02-19 Thread Gavin Gilmour
Hi there. You might want to check out http://everything101.sourceforge.net/docs/papers/java_and_vim.html if you haven't already - it's got some nice tips on it regarding working with ant and java in general. I wondered if I could hastily add my own question to this mix though; with the error

Re: Re : Omni Confusion

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 6:14am -0600, Vissale NEANG wrote: To use cpp completion with c files you can copy ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim Thank you. That looks like a nice simple solution to use until ccomplete is fixed. I'll try it tonight. -- Best regards, Bill

Re: Overview of diretories of $HOME/.vim

2007-02-19 Thread A.J.Mechelynck
Kai Weber wrote: Hello, where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for :help ftplugin, :help initialization and so on. I am searching for a short overview like foo -- contains files for

Re: surround.vim in AsNeeded

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 11:13am -0600, [EMAIL PROTECTED] wrote: I think I should point out that AsNeeded provides transparent support for plugin loading for commands and functions -- ie. issue a command, and if the associated plugin hasn't been loaded yet, it will be, and the command is then

Re: indenting and json

2007-02-19 Thread Marc Weber
On Sat, Feb 17, 2007 at 09:57:57PM -0200, g b wrote: Any way to indent json correctly on vim? I recall that on 6.4 version we needed an external syntax file for javascript. Is it still the case? it's driving me nuts to have weird tabulation put allover the place... thanks ps: json

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Bram Moolenaar
Yongwei Wu wrote: Bin Chen wrote: Thanks. I am also looking forward to this talk. But unfortunately the google video is blocked in some countries, could some one put the video to the vim official site? and this can make this video seems more official ^^. From what countries

auto closing tags in HTML

2007-02-19 Thread Simon Jackson
how do i tell vim to close html tags as i'm writing them and place the cursor in between the 2 tags? example: if i type.. p then vim replaces it with p/p and places my cursor should be between '' and ''

Re: auto closing tags in HTML

2007-02-19 Thread Pete Johns
On Mon, 2007-02-19 at 17:32:36 -0600, Simon Jackson sent: how do i tell vim to close html tags as i'm writing them and place the cursor in between the 2 tags? I have been using the following plugin for the past few years: http://www.american.edu/econ/notes/html_xhb.vim Works a treat

Re: auto closing tags in HTML

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: how do i tell vim to close html tags as i'm writing them and place the cursor in between the 2 tags? example: if i type.. p then vim replaces it with p/p and places my cursor should be between '' and '' To do exactly that, you would have to write, probably, an

limited fonts in gVim

2007-02-19 Thread Simon Jackson
Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine?

Re: limited fonts in gVim

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine? Gvim can only use fixed-width fonts. Some fixed-width fonts (such as Courier New) are TrueType or OpenType, and can be used.

Re: limited fonts in gVim

2007-02-19 Thread Bernhard Walle
* Simon Jackson [EMAIL PROTECTED] [2007-02-20 01:04]: Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine? I think vim can only deal with monospaced fonts. And I really don't think that proportinal

Re: Re : Omni Confusion

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 6:14am -0600, Vissale NEANG wrote: To use cpp completion with c files you can copy ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim This apparently doesn't work with C. I've installed it and copied cpp.vim to c.vim as instructed above. It automatically goes into

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread cRaig
On 2/19/07, Bram Moolenaar [EMAIL PROTECTED] wrote: ... I'll ask if I can get the video in a portable format and put it on the Vim ftp server. If you choose Download from a Linux workstation, you can save the video as an AVI file. The presentation is approx. 500 MB (and well worth it, I might

Dos runtime files adjusted

2007-02-19 Thread Bram Moolenaar
I have changed the script that uploads the runtime files to the ftp server. It now better matches the list of files in the archives. The runtime/dos/spell directory now exists and contains the English spell files, just like the distribution. This means you can use rsync --delete without

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Bin Chen
Bram Moolenaar 写道: Yongwei Wu wrote: Bin Chen wrote: Thanks. I am also looking forward to this talk. But unfortunately the google video is blocked in some countries, could some one put the video to the vim official site? and this can make this video seems more official ^^.

Re: limited fonts in gVim

2007-02-19 Thread cRaig
On 2/19/07, Simon Jackson [EMAIL PROTECTED] wrote: Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine? If you are looking for high-quality, free (as in beer) fonts for programming, the following will

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Bram Moolenaar
cRaig - On 2/19/07, Bram Moolenaar [EMAIL PROTECTED] wrote: ... I'll ask if I can get the video in a portable format and put it on the Vim ftp server. If you choose Download from a Linux workstation, you can save the video as an AVI file. The presentation is approx. 500 MB (and well

RE: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Michael Wookey
cRaig - On 2/19/07, Bram Moolenaar [EMAIL PROTECTED] wrote: ... I'll ask if I can get the video in a portable format and put it on the Vim ftp server. If you choose Download from a Linux workstation, you can save the video as an AVI file. The presentation is approx. 500 MB

show only filenames in tabs

2007-02-19 Thread Simon Jackson
is there anyway to only show the name of the file up in the tabs rather than the entire path? example: this.. index.html instead of this.. \M\s\g\h\e\n\f\index.html

Re: show only filenames in tabs

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: is there anyway to only show the name of the file up in the tabs rather than the entire path? example: this.. index.html instead of this.. \M\s\g\h\e\n\f\index.html Sure. You can customise the tabline however you will. See: - for Console Vim, or when 'guioptions' does

Re: indenting and json

2007-02-19 Thread g b
On 2/19/07, Marc Weber [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2007 at 09:57:57PM -0200, g b wrote: Any way to indent json correctly on vim? Obj = { att1: 'val1', att2: 'val2', } I don't know. But it shouldn't be that hard to use folding on { } and set indentexpr to a function

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Kim Schulz
On Mon, 19 Feb 2007 23:11:16 +0100 Bram Moolenaar [EMAIL PROTECTED] wrote: Yongwei Wu wrote: Bin Chen wrote: Thanks. I am also looking forward to this talk. But unfortunately the google video is blocked in some countries, could some one put the video to the vim official

Cursor position - file history

2007-02-19 Thread David Woodfall
Is there any way of getting vim to remember more previously opened file cursor positions? Searching for history only yields command history. -- It's easier to get forgiveness for being wrong than forgiveness for being right. Cheers! Dave

perl questioin.

2007-02-19 Thread ayoub890
Hi, I am running a perl script in a command inside make. I am trying to pass an environment variable to perl, modify it inside perl and see it changed inside make after returning from the perl script. What is happening is that perl see the environment variable and tries to modify it but

indexing in a latex file

2007-02-19 Thread C.G.Senthilkumar.
Hi, I want to create an index with the makeindex program. So, I have to markup my latex document with \index{index_term}. Is there a script or some mechanism to do this effeciently? For example, when I search a term, vim should take the cursor to the term and prompt a confirmation(y/n) to index

Re: perl questioin.

2007-02-19 Thread Matthew Winn
On Mon, 19 Feb 2007 23:28:08 -0800, ayoub890 [EMAIL PROTECTED] wrote: I am running a perl script in a command inside make. I am trying to pass an environment variable to perl, modify it inside perl and see it changed inside make after returning from the perl script. What is happening is

Reread the file

2007-02-19 Thread Bin Chen
Hi, Can VIM configured to reload the opened file in a constant interval? Thanks. ABAI