cursor color change with mode in Linux console

2006-06-05 Thread John Magolske
A while back I posted a question asking how to have the cursor change color with mode in an xterm. The answer (thanks!) was :help termcap-cursor-shape and Vim 7. Now, wishing to have the same behavior in a Linux console, I try: if &term =~ "linux" set t_ve+=^[[?17;206;99c let &t_SI = "\03

Re: E108: No such variable: "b:current_syntax" (I'm an idiot)

2006-06-05 Thread Thomas Schumm
On Monday 05 June 2006 08:01 pm, you wrote: > So the question is: what have you been doing with > $VIMRUNTIME/syntax/css.vim ? Nothing, unless my distro has been doing it behind my back. The only modifications I've made to the runtime files were to squash that error message. The reason I'm ask

Re: E108: No such variable: "b:current_syntax"

2006-06-05 Thread A.J.Mechelynck
Thomas Schumm wrote: I had been getting this error (or something very similar) for a while now when editing PHP files, but now I'm also getting it when editing Cheetah templates. - Error detected while processing /usr/share/vi

E108: No such variable: "b:current_syntax"

2006-06-05 Thread Thomas Schumm
I had been getting this error (or something very similar) for a while now when editing PHP files, but now I'm also getting it when editing Cheetah templates. - Error detected while processing /usr/share/vim/vim70/syntax/html.vim

Upgrading to Vim 7.0 in Debian (was Re: :ha printouts - fontsize)

2006-06-05 Thread Marvin Renich
* A.J.Mechelynck <[EMAIL PROTECTED]> [060605 03:04]: > cga2000 wrote: > [...] > >.. as I suspected. Some of the stuff I've read about v7.0 on this list > >rather made my mouth water.. but as a comparatively new user of debian > >upgrading vim is something I'm not prepared to do just now.. > >Thank

Re: how to fold lines not containing a pattern ?

2006-06-05 Thread Tim Chase
and how do I do if I want it to be case insensitive ? ie I want to detect "Warning" "WARNING" "warning" :help expr-=~? set foldmethod=expr foldexpr=getline(v:lnum)=~?'warning'?0:1 I also tried another approach of set foldexpr=(match(getline(v:lnum),'warning\\c')+1)?0:1 which also see

Re: How can I map with the arrow keys?

2006-06-05 Thread A.J.Mechelynck
Jeremy Conlin wrote: I am trying to make a mapping to more easily switch tabs. I wanted to use CTRL-RightArrow to move to the "next" tab and CTRL-LeftArrow to move to the "previous" tab. However, I can't find in the help files how to map the arrow keys. Can someone help me? Thanks, Jeremy s

RE: How can I map with the arrow keys?

2006-06-05 Thread Max Dyckhoff
Mapping arrow keys is easy, you just refer to them by name! Namely, "UP", "DOWN, "LEFT" and "RIGHT". I use caps, but I don't think it is necessary. So if you want to map CTRL-RightArrow, then do something like: :noremap (your command here) Tada! Max > -Original Message- > From:

How can I map with the arrow keys?

2006-06-05 Thread Jeremy Conlin
I am trying to make a mapping to more easily switch tabs. I wanted to use CTRL-RightArrow to move to the "next" tab and CTRL-LeftArrow to move to the "previous" tab. However, I can't find in the help files how to map the arrow keys. Can someone help me? Thanks, Jeremy

Re: ctags javascript associate arrays function defintions

2006-06-05 Thread Gary Johnson
On 2006-06-05, Mark Palmer <[EMAIL PROTECTED]> wrote: > A few javascript libraries define functions as a series of associate arrays: > > Example > > Foo.Bar = Class.create(); > Foo.Bar.prototype = { > initialize : function( args ) { > //some code > }, > execute : f

Spell check in Portuguese

2006-06-05 Thread Jakson A. Aquino
Hi, I'm happy with the new spell check capabilities of Vim! However, the list of words for the Portuguese language as spoken in Brazil is a bit incomplete (I've got it from http://ftp.vim.org/pub/vim/runtime/spell/). A possible solution to the problem is the use of the new list released by BrOffic

Updates to netrw

2006-06-05 Thread Suresh Govindachar
Dr. Chip wrote: > I've uploaded netrw v100o to my website > (http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs > - see "Network Oriented Reading, Writing, and Browsing). Will Bram's updates to the runtime have the latest version? --Suresh

Re: MatchParen unreadable on dark backgrounds

2006-06-05 Thread Charles E Campbell Jr
Yakov Lerner wrote: I don't think any single colorscheme defines MatchParen. I haven't seen any single colorscheme that define MatchParen. Do they ? In addition to the astronaut colorscheme, my hicolors helper/colorscheme-editor also supports MatchParen. Available at: http://mysite.veri

Re: MatchParen unreadable on dark backgrounds

2006-06-05 Thread Charles E Campbell Jr
Yakov Lerner wrote: On 6/2/06, Georg Dahn <[EMAIL PROTECTED]> wrote: > I use dark backgrounds (and therefore a light coloured foreground colour). > As a consequence the new MatchParen highlight that is enabled > by default in vim 7 is unreadable/annoying. > I need to put the following in my ~

Re: How to use map to exchange g and G keys?

2006-06-05 Thread Charles E Campbell Jr
Yakov Lerner wrote: On 6/4/06, Georg Dahn <[EMAIL PROTECTED]> wrote: Hi! > IOW, the problem seems to be caused by a gx mapping somewhere in the > netrw plugin set. You might try downloading the latest version, probably > from Dr. Charles "Chip" Campbell's site (astronaut or somesuch). I ha

Re: how to fold lines not containing a pattern ?

2006-06-05 Thread Mikolaj Machowski
Dnia poniedziałek, 5 czerwca 2006 13:51, Christian MICHON napisał: > > any help/hint appreciated. thanks in advance Tim already gave folding solution but you may be also interested in: :vimgrep /warning/ % m. ps. Vim7 required.

Re: how to fold lines not containing a pattern ?

2006-06-05 Thread Tim Chase
I would like to fold all lines not containing a keyword like 'warning'. Basically, I want to be able to open a file, apply this filter and immediately see all warnings related in my file. :set foldmethod=expr :set foldexpr=getline(v:lnum)=~'warning'?'<1':1 You can learn more by reading at

Re: display tweaks - tilde lines, statusline..

2006-06-05 Thread James Vega
On Mon, Jun 05, 2006 at 01:09:41AM -0400, cga2000 wrote: > I think I should stick these doubtful customizations of mine in some > separate file rather than modifying individual colorschemes. I've just > tested: > > :set FoldColumn=2 > :hi Foldcolumn ctermbg=black > > .. and it adds a 2-column m

how to fold lines not containing a pattern ?

2006-06-05 Thread Christian MICHON
Hi vimmers, I would like to fold all lines not containing a keyword like 'warning'. Basically, I want to be able to open a file, apply this filter and immediately see all warnings related in my file. Is there a one-liner way to do this? or must I do a specific syntax folding file, or even a vim

ctags javascript associate arrays function defintions

2006-06-05 Thread Mark Palmer
A few javascript libraries define functions as a series of associate arrays: Example Foo.Bar = Class.create(); Foo.Bar.prototype = { initialize : function( args ) { //some code }, execute : function() { //some code }, cancel

Re: laststatus=2 anomaly (was: I sometimes have to "double strike" when using gvim7 over Hummingbird Exceed)

2006-06-05 Thread Matthew Winn
On Fri, Jun 02, 2006 at 03:21:26PM -0400, Karl Guertin wrote: > On 6/2/06, Mun Johl <[EMAIL PROTECTED]> wrote: > >abbcdeffgghijjkklmmnopqqrßtuvvww×yzz > > ^ > > this is the greek Beta character (in case it > > got lost in the t

Re: :ha printouts - fontsize

2006-06-05 Thread A.J.Mechelynck
cga2000 wrote: [...] .. as I suspected. Some of the stuff I've read about v7.0 on this list rather made my mouth water.. but as a comparatively new user of debian upgrading vim is something I'm not prepared to do just now.. Thanks, cga Well, here I am a "comparatively new" user of SuSE