Re: What Syntax-Highlightning where no syntax is?

2012-03-08 Thread Xell Liu
First, you could use :verbose highlight GROUP_NAME to identify what you're look for. For example, ":verbose highlight DiffChange" will tell you the definition of it and where it was set last. And, you may be interesting in $VIMRUNTIME/syntax/nosyntax.vim and synload.vim. You could find their usa

What Syntax-Highlightning where no syntax is?

2012-03-08 Thread meino . cramer
Hi, in exploring the 'what is what' in coloring vims display, I found the next -- at least for me -- confusing item: Suppose one has loaded two files into vimdiff. Next one may recognize is, that the coloring of the differences is in a waay, that the text at that lines becomes unreadable. I such

Re: No `oldfiles' in redhat vim 7.0.237.

2012-03-08 Thread sc
On Thu, Mar 08, 2012 at 12:11:34PM -0800, howard Schwartz wrote: > On Thu, 8 Mar 2012, Ben Fritz wrote: > >:oldfiles was added in version 7.2.031, quite some time after > >7.0.237 was :released. You will need to upgrade to a more recent > >version of Vim to get :this feature. > Interesting that

Re: No `oldfiles' in redhat vim 7.0.237.

2012-03-08 Thread howard Schwartz
On Thu, 8 Mar 2012, Ben Fritz wrote: :oldfiles was added in version 7.2.031, quite some time after 7.0.237 was :released. You will need to upgrade to a more recent version of Vim to get :this feature. Interesting that my 7.0 help files include a description of this feature! I have read a de

Re: No `oldfiles' in redhat vim 7.0.237.

2012-03-08 Thread Ben Fritz
On Thursday, March 8, 2012 12:59:16 PM UTC-6, howardb21 wrote: > I find the :oldfiles or :browse oldfiles command to be quite simple and > convenient. It works as advertised on my > 7.3 version of vim in windows xp. However, with my 7.0.237 version of vim > running on redhat linux, the command d

Re: No `oldfiles' in redhat vim 7.0.237.

2012-03-08 Thread Dominique Pellé
howard Schwartz wrote: > I find the :oldfiles or :browse oldfiles command to be quite simple and > convenient. It works as advertised on my 7.3 version of vim in windows xp. > However, with my 7.0.237 version of vim running on redhat linux, the command > does not work and I get the error message >

No `oldfiles' in redhat vim 7.0.237.

2012-03-08 Thread howard Schwartz
I find the :oldfiles or :browse oldfiles command to be quite simple and convenient. It works as advertised on my 7.3 version of vim in windows xp. However, with my 7.0.237 version of vim running on redhat linux, the command does not work and I get the error message E492: Not an editor command:

Re: How to trace down error

2012-03-08 Thread Marco
On 2012-03-08 Ben Fritz wrote: > It sounds like you are missing a highlight definition for Visual. > What does ":verbose hi Visual" tell you? Visual xxx term=reverse ctermbg=252 guibg=LightGrey Last set from ~/.vim/vim-addons/CSApprox/plugin/CSApprox.vim Thanks for the tip. This dir

Re: Map in visual mode to delete indent

2012-03-08 Thread Tim Chase
On 03/08/12 11:43, Juanjo Gomez Navarro wrote: Hi, I would like to create a map which removes all sort of indent within a selected text. I have tried this: vnoremap s/^ *// But when I select the text (with "V") and then press backspace, I get the whole line replaced by the text "/^*//" In ad

Re: Find duplicated lines

2012-03-08 Thread Alessandro Antonello
2012/3/8 Tim Chase : > On 03/08/12 06:45, Alessandro Antonello wrote: >> >> pass1 key: 9534 1CFF A92D 76B9 B52C 79E5 1D10 85E5 >> pass2 key: 6C66 D635 3922 1D99 6FCE 8366 7992 C3DE >> passN key: F906 930C 2FD3 6B4B 7A2C 1AF5 C314 D62C >> >> There are several of that 3 lines. I could ':sort' the fil

Re: How to trace down error

2012-03-08 Thread Ben Fritz
On Thursday, March 8, 2012 5:00:07 AM UTC-6, Marco wrote: > Dear list, > > my vim lost the ability to highlight marked text, e.g. when I press > -v the line is marked (it says “visual line” at the bottom), > but it is not visible. It occurs only in console vim and only in > urxvt, I tried fo

Re: Colorscheme-Spy

2012-03-08 Thread meino . cramer
Benjamin R. Haskell [12-03-08 18:12]: > On Thu, 8 Mar 2012, Charles Campbell wrote: > > >meino.cra...@gmx.de wrote: > >>Hi, > >>is there a way to print out that informations which is responnsible > >>for giving the symbol under the cursor its appearance in a way which > >>enables me to directly

Re: Find duplicated lines

2012-03-08 Thread Alessandro Antonello
2012/3/8 Christian Brabandt : > On Thu, March 8, 2012 13:45, Alessandro Antonello wrote: >> Hi, all. >> >> I have a file with the following output: >> >> pass1 key: 9534 1CFF A92D 76B9 B52C 79E5 1D10 85E5 >> pass2 key: 6C66 D635 3922 1D99 6FCE 8366 7992 C3DE >> passN key: F906 930C 2FD3 6B4B 7A2C 1

Re: Map in visual mode to delete indent

2012-03-08 Thread Juanjo Gomez Navarro
2012/3/8 Ben Fritz : > > > On Mar 8, 11:43 am, Juanjo Gomez Navarro > wrote: >> Hi, I would like to create a map which removes all sort of indent >> within a selected text. I have tried this: >> >> vnoremap s/^ *// >> >> But when I select the text (with "V") and then press backspace, I get >> the

Re: Textpad to GVIM

2012-03-08 Thread Ben Fritz
On Mar 8, 7:27 am, Govind wrote: > > In which case it will be interesting to see if I can do the command sequence > x all; f all 'search string' > that is incredibly useful when editing cobol programs or mainframe files, > i.e. show me only the lines that satisfy the search criteria. > You've

Re: Map in visual mode to delete indent

2012-03-08 Thread Ben Fritz
On Mar 8, 11:43 am, Juanjo Gomez Navarro wrote: > Hi, I would like to create a map which removes all sort of indent > within a selected text. I have tried this: > > vnoremap s/^ *// > > But when I select the text (with "V") and then press backspace, I get > the whole line replaced by the text "

Map in visual mode to delete indent

2012-03-08 Thread Juanjo Gomez Navarro
Hi, I would like to create a map which removes all sort of indent within a selected text. I have tried this: vnoremap s/^ *// But when I select the text (with "V") and then press backspace, I get the whole line replaced by the text "/^*//" Any idea how to accomplish this? Thanks -- Juanjo -

Re: shell for vim

2012-03-08 Thread Tim Chase
On 03/08/12 08:15, Mark Wilden wrote: On Thu, Mar 8, 2012 at 5:11 AM, Tim Chase wrote: One of the biggest advantages of screen is that you can detach from it and the re-attach from another machine. Just to be crystal clear - that's why you would use screen, right? There are no benefits if you

Re: shell for vim

2012-03-08 Thread Benjamin R. Haskell
On Thu, 8 Mar 2012, Mark Wilden wrote: On Thu, Mar 8, 2012 at 5:11 AM, Tim Chase wrote: On 03/08/12 06:42, Mark Wilden wrote: I've heard screen mentioned with Vim several times now, and I just have to ask: How does this differ from simply having a Vim window and a Terminal window (OS X)?

Re: Colorscheme-Spy

2012-03-08 Thread Benjamin R. Haskell
On Thu, 8 Mar 2012, Charles Campbell wrote: meino.cra...@gmx.de wrote: Hi, is there a way to print out that informations which is responnsible for giving the symbol under the cursor its appearance in a way which enables me to directly find the according line in the current colorscheme to mo

Re: shell for vim

2012-03-08 Thread Mark Wilden
On Thu, Mar 8, 2012 at 5:11 AM, Tim Chase wrote: > On 03/08/12 06:42, Mark Wilden wrote: >> >> I've heard screen mentioned with Vim several times now, and I >> just have to ask: How does this differ from simply having a >> Vim window and a Terminal window (OS X)? > > One of the biggest advantages

Re: DrChip's website is back!

2012-03-08 Thread Charles Campbell
Marty Fried wrote: On Wed, Mar 7, 2012 at 1:18 PM, Charles Campbell mailto:charles.e.campb...@nasa.gov>> wrote: Yes, its back! Albeit at a new webhost (apply your favorite search engine to hostbig). You may find it at: http://www.drchip.org/ So, I guess you're a little PO'd

Re: Colorscheme-Spy

2012-03-08 Thread Charles Campbell
meino.cra...@gmx.de wrote: Hi, is there a way to print out that informations which is responnsible for giving the symbol under the cursor its appearance in a way which enables me to directly find the according line in the current colorscheme to modify that line to my needs? May I suggest lo

Re: Textpad to GVIM

2012-03-08 Thread Tim Chase
On 03/08/12 07:27, Govind wrote: In which case it will be interesting to see if I can do the command sequence x all; f all 'search string' that is incredibly useful when editing cobol programs or mainframe files, i.e. show me only the lines that satisfy the search criteria. I don't see any need

Re: Textpad to GVIM

2012-03-08 Thread Christian Brabandt
On Thu, March 8, 2012 14:27, Govind wrote: > In which case it will be interesting to see if I can do the command > sequence > x all; f all 'search string' > that is incredibly useful when editing cobol programs or mainframe files, > i.e. show me only the lines that satisfy the search criteria. > >

Re: Find duplicated lines

2012-03-08 Thread Reid Thompson
On Thu, 2012-03-08 at 09:45 -0300, Alessandro Antonello wrote: > Hi, all. > > I have a file with the following output: > > pass1 key: 9534 1CFF A92D 76B9 B52C 79E5 1D10 85E5 > pass2 key: 6C66 D635 3922 1D99 6FCE 8366 7992 C3DE > passN key: F906 930C 2FD3 6B4B 7A2C 1AF5 C314 D62C > > There are se

Re: Textpad to GVIM

2012-03-08 Thread Govind
On Monday, March 5, 2012 4:53:20 PM UTC-5, Gary Johnson wrote: > On 2012-03-05, Govind wrote: > > I've been a longtime user of Textpad on windows and transitioning more to > > Linux. Gedit by itself doesn't have some features I want like > > a) Columnar mode selection > > b) ability to sort lines

Re: Find duplicated lines

2012-03-08 Thread Christian Brabandt
On Thu, March 8, 2012 13:45, Alessandro Antonello wrote: > Hi, all. > > I have a file with the following output: > > pass1 key: 9534 1CFF A92D 76B9 B52C 79E5 1D10 85E5 > pass2 key: 6C66 D635 3922 1D99 6FCE 8366 7992 C3DE > passN key: F906 930C 2FD3 6B4B 7A2C 1AF5 C314 D62C > > There are several of

Re: Textpad to GVIM

2012-03-08 Thread Govind
On Wednesday, March 7, 2012 10:23:25 PM UTC-5, Timothy Knox wrote: > Somewhere on Shadow Earth, at Wed, Mar 07, 2012 at 09:09:51PM -0600, Tim > Chase wrote: > > On 03/07/12 20:51, Govind wrote: > > > Btw, I've been using the ISPF editor for many years now, and > > > that's no picnic either for peo

Re: Find duplicated lines

2012-03-08 Thread Tim Chase
On 03/08/12 06:45, Alessandro Antonello wrote: pass1 key: 9534 1CFF A92D 76B9 B52C 79E5 1D10 85E5 pass2 key: 6C66 D635 3922 1D99 6FCE 8366 7992 C3DE passN key: F906 930C 2FD3 6B4B 7A2C 1AF5 C314 D62C There are several of that 3 lines. I could ':sort' the file to find duplicated lines but, what I

Re: shell for vim

2012-03-08 Thread Tim Chase
On 03/08/12 06:42, Mark Wilden wrote: On Wednesday, March 7, 2012 4:02:21 AM UTC-8, Joan Miquel Torres wrote: In other words: You probably love screen ;-) I've heard screen mentioned with Vim several times now, and I just have to ask: How does this differ from simply having a Vim window and a

syn region with highlighting gaps

2012-03-08 Thread Tarlika Elisabeth Schmitz
I created a region that displays different highlighting for start/end and content. However, I wanted the spaces following start and preceding end not to be highlighted. I came up with the solution outlined below. It works. I am just wondering: was this the best way to do it? EXAMPLES (highlighti

Find duplicated lines

2012-03-08 Thread Alessandro Antonello
Hi, all. I have a file with the following output: pass1 key: 9534 1CFF A92D 76B9 B52C 79E5 1D10 85E5 pass2 key: 6C66 D635 3922 1D99 6FCE 8366 7992 C3DE passN key: F906 930C 2FD3 6B4B 7A2C 1AF5 C314 D62C There are several of that 3 lines. I could ':sort' the file to find duplicated lines but, wha

Re: shell for vim

2012-03-08 Thread Mark Wilden
On Wednesday, March 7, 2012 4:02:21 AM UTC-8, Joan Miquel Torres wrote: > > (Partially off-topic) > > If you are using the shell frequently, then you will probably > appreciate the ability of switching between vim and your shell > session(s) easily and without needing to close them. > > In other

How to trace down error

2012-03-08 Thread Marco
Dear list, my vim lost the ability to highlight marked text, e.g. when I press -v the line is marked (it says “visual line” at the bottom), but it is not visible. It occurs only in console vim and only in urxvt, I tried four other terminals and all are fine. I tried to find out what causes

Re: How to set “number“ format size , type and color?

2012-03-08 Thread Christian Brabandt
On Thu, March 8, 2012 09:24, William wrote: > vimers : How to set number list format? :h hl-LineNr :h 'nuw' :h 'rnu' :h 'nu' regards, Christian -- 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, v

How to set “number“ format size , type and color?

2012-03-08 Thread William
vimers : How to set number list format? -- 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: Colorscheme-Spy

2012-03-08 Thread Benjamin R. Haskell
On Wed, 7 Mar 2012, meino.cra...@gmx.de wrote: Hi, is there a way to print out that informations which is responnsible for giving the symbol under the cursor its appearance in a way which enables me to directly find the according line in the current colorscheme to modify that line to my need