Re: Change colour of cursor and matching bracket

2012-10-01 Thread François Ingelrest
On Sun, Sep 30, 2012 at 11:53 PM, Bram Moolenaar wrote: > I'm using ATI/AMD. I tried installing their proprietery driver. > Resulted in my desktop being 640 x 480 :-( Then running the > display manager to change the resulution has the OK button off-screen. > AAAr! Managed to hit it by pr

Re: Matching/Sorting line terminations: -- Solved

2012-10-01 Thread J.B. Lethbridge
On Tue, Oct 2, 2012 at 2:18 AM, Tony Mechelynck wrote: > On 30/09/12 20:18, jbl wrote: >> >> Thanks -- the lines are in English 400 years old, hence the eccentric >> spelling. >> >> The sorting you suggest is just what produced the first list, the raw >> file: it is mixed up with lines without rep

Re: Matching/Sorting line terminations

2012-10-01 Thread Bee
On Sep 30, 11:31 am, jbl wrote: > Hi. Thanks. Here is a better sample of the raw lines file sorted as > you suggest. This is the form I generated ages ago to work on these > repetitions, and which I am now trying to sort again into groups > repeating the last two terms, last three terms ... and

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 wil

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

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 > >> pote

Re: Matching/Sorting line terminations

2012-10-01 Thread Tony Mechelynck
On 30/09/12 20:18, jbl wrote: Thanks -- the lines are in English 400 years old, hence the eccentric spelling. The sorting you suggest is just what produced the first list, the raw file: it is mixed up with lines without repetitions, and those repetitions that occur are not ordered: so that in th

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

2012-10-01 Thread richard emberson
To see the "group" I use: map :echo "hi<" synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" 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

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 anothe

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 anothe

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 ne

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 t

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 ch

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 stem

Re: vim in an edit pipeline

2012-10-01 Thread Art Scheel
Currently, my template script creates a temporary .vimrc invoked with -u that sets viminfo= to nothing so viminfo doesn't get saved/used. I was doing the same with the swap file so no swap is created in this instance. The BufWriteCmd very well may fit the bill. The goal is to make this user frien

Re: vim in an edit pipeline

2012-10-01 Thread Ben Fritz
On Monday, October 1, 2012 11:52:26 AM UTC-5, Art Scheel wrote: > 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

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 mor

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 wor

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) |

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 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: Prolog filetype problem

2012-10-01 Thread Gautier DI FOLCO
2012/9/30 Ben Fritz > 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 files, just get int

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

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: > > > > > >text text text > > > > > > It should highlight t

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: > >text text text > > It should highlight the first pair, since they don't match. A not complete workable way I found is having the foll

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