Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread Christian Brabandt
Hi john! On Di, 14 Feb 2012, john Culleton wrote: > On Tue, 14 Feb 2012 15:39:01 -0800 (PST) > John Little wrote: > > > On Feb 14, 1:02 pm, john Culleton wrote: > > > In the cobol.vim file, something causes all sentences starting > > > with "if" to be colored red just like an error. > > > > A

Re: multiple autocommands

2012-02-14 Thread jeroen
On Feb 14, 6:44 pm, Chris Lott wrote: > On Tuesday, February 14, 2012, Ben Fritz wrote: > > > On Feb 13, 3:11 pm, Chris Lott wrote: > >> Is there a more efficient or better way to cluster together a set of > >> autocommands in my .vimrc? For instance, I have the following: > > >> au BufNewFile,B

Re: Can't change locale for top menu in GVim on Windows

2012-02-14 Thread Christian Brabandt
Hi Алексей! On Di, 14 Feb 2012, Алексей Данченков wrote: > Hi, everybody! > > I need to use the UTF-8 encoding in gvim on Windows (even if just for > non-printable symbols for invisibles). However, the menu locale stays > in system's default CP1251 (for Russian). > > Here is the excerpt from my

Re: Can't change locale for top menu in GVim on Windows

2012-02-14 Thread Алексей Данченков
Ben, thanks, that worked out beautifully. Specifically: 1. Setting the language to C works as expected (i.e. English language in all menus and proper display of unicode symbols in the text), not setting the language (which results in selection of default system locale, which is CP1251) results in

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread sc
On Tue, Feb 14, 2012 at 11:06:53PM -0500, john Culleton wrote: > On Tue, 14 Feb 2012 15:39:01 -0800 (PST) > John Little wrote: > > On Feb 14, 1:02 pm, john Culleton wrote: > > > In the cobol.vim file, something causes all sentences starting > > > with "if" to be colored red just like an error. >

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread john Culleton
On Tue, 14 Feb 2012 15:39:01 -0800 (PST) John Little wrote: > On Feb 14, 1:02 pm, john Culleton wrote: > > In the cobol.vim file, something causes all sentences starting > > with "if" to be colored red just like an error. > > Any chance of sending us some valid cobol showing the problem? Or >

Re: does highlighting in colorcolumn's work?

2012-02-14 Thread Ben Fritz
On Feb 14, 2:57 pm, Alexey wrote: > Hello, > > is it possible to highlight a match that happens in color columns? > > I have set color columns with > > :set colorcolumn=79,80 > > and tried to set highlighting of trailing whitespace with > > :autocmd ColorScheme * highlight WhitespaceAtEOL ctermb

Re: Can't change locale for top menu in GVim on Windows

2012-02-14 Thread Ben Fritz
On Feb 14, 1:02 pm, Алексей Данченков wrote: > Hi, everybody! > > I need to use the UTF-8 encoding in gvim on Windows (even if just for > non-printable symbols for invisibles). However, the menu locale stays > in system's default CP1251 (for Russian). > > Here is the excerpt from my gvimrc: > >

Re: Multi-colored regexp match highlighting

2012-02-14 Thread Paul
On Tuesday, 14 February, 2012 at 20:55:35 GMT, Eldar Yusupov wrote: Also, in case if regexp did not match I'd like to highlight the part of regexp which started matching prevention. I can't answer your other questions, but for this I usually enable incsearch, then either start composing my reg

Multi-colored regexp match highlighting

2012-02-14 Thread Eldar Yusupov
Hi, Is it possible to make VIM highlight defferently each group in the regexp matched text? Even more cool would be to highlight the regexp group at the command line with the same colors, so it's easy to associate regexp groups and their matched text. Also, in case if regexp did not match I'd like

does highlighting in colorcolumn's work?

2012-02-14 Thread Alexey
Hello, is it possible to highlight a match that happens in color columns? I have set color columns with :set colorcolumn=79,80 and tried to set highlighting of trailing whitespace with :autocmd ColorScheme * highlight WhitespaceAtEOL ctermbg=DarkGreen guibg=DarkGreen :syntax match WhitespaceAt

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread John Little
On Feb 14, 1:02 pm, john Culleton wrote: > In the cobol.vim file, something causes all sentences starting > with "if" to be colored red just like an error. Any chance of sending us some valid cobol showing the problem? Or uploading it somewhere we can get it from? That would multiply enormously

Can't change locale for top menu in GVim on Windows

2012-02-14 Thread Алексей Данченков
Hi, everybody! I need to use the UTF-8 encoding in gvim on Windows (even if just for non-printable symbols for invisibles). However, the menu locale stays in system's default CP1251 (for Russian). Here is the excerpt from my gvimrc:   language C   set guifont=Courier_New:h12:cANSI   set langmenu

Coverity compiler plugin

2012-02-14 Thread Ben Fritz
I was going to respond to this thread, but it's "closed" on google groups and I don't have emails delivered to me anymore: http://groups.google.com/group/vim_use/browse_thread/thread/ffdbff727fab26a2/57f933c71b6b6f23 I finally got around to creating an errorformat for the cov-format- errors comma

Re: C-S-up and C-s-down

2012-02-14 Thread Christian Brabandt
Hi David! Please don't top post. On Di, 14 Feb 2012, David Gomes wrote: > On Gvim it works indeed, thanks! The problem with terminal vim has already been pointed out to you last time. It is mentioned in the faq. May be you should read it? regards, Christian -- You received this message from

Re: Is there a way of moving in the jump list without using ctrl_i?

2012-02-14 Thread Tim Chase
On 02/14/12 11:58, skeept wrote: in my vimrc I have map This is very convenient for all the window commands (like close, go to previous, go to top, etc...) but it seems that this prevents me from using the ctrl_i command. So if I type ctrl_o then I cannot go back just by typing ctrl_i. Is ther

Re: C-S-up and C-s-down

2012-02-14 Thread David Gomes
On Gvim it works indeed, thanks! On Tue, Feb 14, 2012 at 5:56 PM, Taylor Hedberg wrote: > David Gomes, Tue 2012-02-14 @ 17:50:57+: > > No, my mistake, this is what I put: > > > > " Select text with keyboard like in Gtk Apps > > :noremap V{j > > :noremap V}k > > Are you using GVim or termin

Is there a way of moving in the jump list without using ctrl_i?

2012-02-14 Thread skeept
Hi, in my vimrc I have map This is very convenient for all the window commands (like close, go to previous, go to top, etc...) but it seems that this prevents me from using the ctrl_i command. So if I type ctrl_o then I cannot go back just by typing ctrl_i. Is there another way of using this fe

Re: C-S-up and C-s-down

2012-02-14 Thread Taylor Hedberg
David Gomes, Tue 2012-02-14 @ 17:50:57+: > No, my mistake, this is what I put: > > " Select text with keyboard like in Gtk Apps > :noremap V{j > :noremap V}k Are you using GVim or terminal Vim? A lot of terminals won't deal with modified cursor keys very well. If that's the case for you, yo

Re: Simple Settings for PUTTY, Windows 7, and VIM/GVIM 7.3

2012-02-14 Thread lessthanideal
On Feb 14, 4:27 pm, Gary Furash wrote: > I haven't been able to get gVim/Vim 7.3 on windows to work with the putty > executables. > 1. they're in my path; > 2. they work perfectly fine from the dos command line; > 3. I can use the WinSCP edit link to edit things with gVim > 4. these are my current

Re: C-S-up and C-s-down

2012-02-14 Thread David Gomes
No, my mistake, this is what I put: " Select text with keyboard like in Gtk Apps :noremap V{j :noremap V}k On Tue, Feb 14, 2012 at 5:45 PM, Taylor Hedberg wrote: > David Gomes, Tue 2012-02-14 @ 17:34:08+: > > That didn't really work, neither with nor without the parentheses. > > Do you re

Re: C-S-up and C-s-down

2012-02-14 Thread Taylor Hedberg
David Gomes, Tue 2012-02-14 @ 17:34:08+: > That didn't really work, neither with nor without the parentheses. Do you really mean parentheses? The commands I posted don't use parentheses; those are braces. The things you use to delimit code blocks in C-like languages. If you actually used paren

Re: multiple autocommands

2012-02-14 Thread Chris Lott
On Tuesday, February 14, 2012, Ben Fritz wrote: > > > On Feb 13, 3:11 pm, Chris Lott wrote: >> Is there a more efficient or better way to cluster together a set of >> autocommands in my .vimrc? For instance, I have the following: >> >> au BufNewFile,BufRead *.mtxt setlocal filetype=pandoc >> au B

Re: C-S-up and C-s-down

2012-02-14 Thread David Gomes
That didn't really work, neither with nor without the parentheses. Thanks! On Sun, Feb 12, 2012 at 4:41 PM, Taylor Hedberg wrote: > David Gomes, Sun 2012-02-12 @ 15:00:15+: > > I was wondering of how I can map Ctrl+Shift+Up to select all region > > above until next blank like, and Ctrl+Shif

Simple Settings for PUTTY, Windows 7, and VIM/GVIM 7.3

2012-02-14 Thread Gary Furash
I haven't been able to get gVim/Vim 7.3 on windows to work with the putty executables. 1. they're in my path; 2. they work perfectly fine from the dos command line; 3. I can use the WinSCP edit link to edit things with gVim 4. these are my current settings. Note that PASSWORD has my actual passwo

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread john Culleton
On Tue, 14 Feb 2012 08:43:28 + Andrew Long wrote: > > On 14 Feb 2012, at 00:02, john Culleton wrote: > > > In the cobol.vim file, something causes all sentences starting > > with "if" to be colored red just like an error. The "if" verb is > > perfectly legitimate in COBOL, I have used it s

Re: multiple autocommands

2012-02-14 Thread Ben Fritz
On Feb 13, 3:11 pm, Chris Lott wrote: > Is there a more efficient or better way to cluster together a set of > autocommands in my .vimrc? For instance, I have the following: > > au BufNewFile,BufRead *.mtxt setlocal filetype=pandoc > au BufNewFile,BufRead *.mtxt setlocal spell > au BufNewFile,Bu

Re: New file open is same window

2012-02-14 Thread Ben Fritz
On Feb 14, 8:41 am, sathyashrayan wrote: > When i click open a  file it is opening in a different file(new > window)..But when I use NERDTree or any dir/file listing and open > those files, it is getting in the same display with new tab. Or i > use :browse tabnew to open a file in the same tab.

New file open is same window

2012-02-14 Thread sathyashrayan
When i click open a file it is opening in a different file(new window)..But when I use NERDTree or any dir/file listing and open those files, it is getting in the same display with new tab. Or i use :browse tabnew to open a file in the same tab. All i want is, just double click a file and it shoul

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread Andrew Long
On 14 Feb 2012, at 00:02, john Culleton wrote: > In the cobol.vim file, something causes all sentences starting > with "if" to be colored red just like an error. The "if" verb is > perfectly legitimate in COBOL, I have used it since 1968. I haven't been using it for *quire* that long, but I ag