Re: set mouse=a and copy paste

2012-10-01 Thread Gelonida N
On 09/22/2012 01:31 PM, Christian Brabandt wrote: Hi Gelonida! Would there be any trick to set mouse=a , and still have the visual selection end up in the clipboard or to be able to copy paset from another app? Have you tried this ,[ :h 'mouse' ]- | Note: When enabling the mouse in a

Re: Syntax highlight wrong closing XML tag?

2012-10-01 Thread Silas Silva
On Fri, Sep 28, 2012 at 03:52:40PM -0300, Silas Silva wrote: One of my needs was to highlight tags that don't match its closing tag. For example: foo text bar text /foo text /bar It should highlight the first foo/bar pair, since they don't match. A not complete workable way I found is

Re: Syntax highlight wrong closing XML tag?

2012-10-01 Thread Ben Fritz
On Monday, October 1, 2012 9:10:58 AM UTC-5, Silas Silva wrote: On Fri, Sep 28, 2012 at 03:52:40PM -0300, Silas Silva wrote: One of my needs was to highlight tags that don't match its closing tag. For example: foo text bar text /foo text /bar It should highlight the

Re: Syntax highlight wrong closing XML tag?

2012-10-01 Thread Ben Fritz
On Monday, October 1, 2012 10:03:14 AM UTC-5, Ben Fritz wrote: Handling an arbitrary level of balanced matched pairs with regular expressions is not a solvable problem, which is why I haven't responded before. Handling a limited level is solvable but extremely ugly. I did just learn that

Re: Prolog filetype problem

2012-10-01 Thread Gautier DI FOLCO
2012/9/30 Ben Fritz fritzophre...@gmail.com It looks like Vim will automatically detect prolog rather than Perl if the first non-blank line contains any of: 1. the word prolog 2. a prolog comment, % or /* ... */ 3. the prolog :- construct Otherwise, Vim detects Perl. So for existing

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread Tony Mechelynck
On 30/09/12 22:47, Tim Chase wrote: On 09/30/12 08:37, meino.cra...@gmx.de wrote: it is often said, taht certain software has a steep learning curve. Vi/vim is such an example for the use of this phrase... I would take the time as measure for the x-axis and the amount of stuff I have learned

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread Gerald Klein
What I think happens sometimes is that someone is perhaps is for the first time stuck with only his Linux tty and has to fix something. The only editor he has is vi/vim he knows how to pass a file as an argument. He opens the file and can't get it to edit or makes edits and can't close it.Swearing

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread ping
no matter what, I never understand vim emacs part of that picture - it doesn't make much sense. I think Tony's graph make more sense in terms of deep , or , I think maybe this: | | |productivity | | | (VIM) |

vim in an edit pipeline

2012-10-01 Thread Art Scheel
vim can read stdin with 'vim -' but there's currently no way to submit all edited changes to stdout (so far as I can find.) There are plenty of scripts and plugins that allow this kind of functionality, but they all require a file to be written to disk (even if it's a RAMDISK). Would it be

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread Boyko Bantchev
In my personal opinion, saying that Vim's learning curve is steep is nothing but a gross exaggeration. Why should it be? Are Vim's potential users computer illiterates, incapable of adapting to simple albeit new concepts? Highly improbable. Are they not learning to use many other and much more

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread Tim Chase
On 10/01/12 14:17, Boyko Bantchev wrote: In my personal opinion, saying that Vim's learning curve is steep is nothing but a gross exaggeration. Why should it be? Are Vim's potential users computer illiterates, incapable of adapting to simple albeit new concepts? I'm pretty sure it stems on

Re: Change colour of cursor and matching bracket

2012-10-01 Thread Bram Moolenaar
Marcin Szamotulski wrote: On 23:53 Sun 30 Sep , Bram Moolenaar wrote: Dominique Pelle wrote: Bram Moolenaar wrote: Erik Christiansen wrote: On 30.09.12 11:12, Dotan Cohen wrote: Where in the fine manual is it mentioned how to change the colour of the

Re: Spellcheck on Tex-Files

2012-10-01 Thread skeept
On Tuesday, January 15, 2008 2:35:06 PM UTC-5, (unknown) wrote: Hi! I am using the built in spellcheck for vim 7 and I want to use it with Latex-files. There are some fillips which are irritating me. So, for example if I have a table defined as: \begin{tabular}{c} ... The c in the

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread Charlie Kester
On 10/01/2012 12:48 PM, Tim Chase wrote: On 10/01/12 14:17, Boyko Bantchev wrote: In my personal opinion, saying that Vim's learning curve is steep is nothing but a gross exaggeration. Why should it be? Are Vim's potential users computer illiterates, incapable of adapting to simple albeit new

change display colors. which rule causes which color?

2012-10-01 Thread Gelonida N
I'm having terminal-windows with dark backgrounds. The problem is, that all dark blue colors are very difficult to recognize. Ideally I'd like to change all dark blue vim colors into a lighter blue or another color. My Questions: Is there an easy way to globally change one color with

Re: change display colors. which rule causes which color?

2012-10-01 Thread richard emberson
To see the group I use: map F10 :echo hi synIDattr(synIDtrans(synID(line(.),col(.),1)),name) . CR To see the colors associated with a group use: :highlight groupname I also have a color chooser https://github.com/megaannum/forms/blob/master/images/examples_colorchooser.png which is part

Re: OT: The so called steep learning curve of vim...

2012-10-01 Thread Steve Litt
On Mon, 01 Oct 2012 15:04:15 -0700, Charlie Kester said: On 10/01/2012 12:48 PM, Tim Chase wrote: On 10/01/12 14:17, Boyko Bantchev wrote: In my personal opinion, saying that Vim's learning curve is steep is nothing but a gross exaggeration. Why should it be? Are Vim's potential users

Reading variables of a buffer/window that is not in scope

2012-10-01 Thread Brandon Coleman
I would like to read the contents of variables for buffers that are not in scope. How would I go about doing this? Is there an example of a way to loop through all of the buffers? is there a command lookupWinVar(1,testVar)? Brandon -- You received this message from the vim_use maillist. Do

Mapping for visual mode that starts from insert mode?

2012-10-01 Thread WU Yue
Hi, I know title is unclear, but my English skill is so limited, forgive me please, I will try my best to make my expression more clear. I have set mouse=a, so I can drag mouse to start a selection in normal/insert mode, I notice that when start selection in normal mode, the status line