Re: Ignore some filenames

2015-12-07 Thread Matt Ackeret
On Sun, 6 Dec 2015, Paolo Bolzoni wrote: >This is a good point indeed, I guess it is time to learn cmake or >something similar to make this step easy, as manually written Makefile >s do not really make easy multidirectory projects. Do you know a good Not really on topic for this group, but the mak

Re: Highlight if-else-endif structures in Vim

2015-12-07 Thread Charles E Campbell
Fabian Nick wrote: > Am Donnerstag, 3. Dezember 2015 23:20:01 UTC+1 schrieb DrChip: >> Eric Christopherson wrote: >>> On Wed, Aug 26, 2015, Fabian Nick wrote: Hi all, ss there a way to highlight if-else-endif structures in Vim on demand based on their 'level' in the overall pro

Re: Moving twixt vsplit windows

2015-12-07 Thread Ben Fritz
On Monday, December 7, 2015 at 8:47:37 AM UTC-6, Jan wrote: > I've two vsplit windows open, the active line number in window A is 15, and > in window B it's 5, with the cursor currently in window A. Is it possible to > move to window B straight onto line 15 there, in effect just hopping directly

Moving twixt vsplit windows

2015-12-07 Thread Paul
I've two vsplit windows open, the active line number in window A is 15, and in window B it's 5, with the cursor currently in window A. Is it possible to move to window B straight onto line 15 there, in effect just hopping directly horizontally in window B? I ask this because, with a diffsplit b

Re: :windo and quickfix

2015-12-07 Thread Paul
On Wednesday, 02 December, 2015 at 20:01:12 GMT, Christian Brabandt wrote: I have never needed this, but this should work: :windo :cclose | diffthis or even more fancier: :exe ":windo :cclose | diffthis" |copen This last example is what I need. Thanks, Ben and Christian. -- -- You received t

Re: Unintentionally closing Vim with many buffers open

2015-12-07 Thread Michael Henry
On Mon, Dec 7, 2015 at 10:11 AM, Christian Brabandt wrote: > Just always keep a modified buffer around. This can possibly > be a hidden scratch buffer, whose sole purpose is to prevent a > quick exit. I wondered whether some kind of autocmd would help here. I don't have time to check into it suf

Re: Unintentionally closing Vim with many buffers open

2015-12-07 Thread Tony Mechelynck
On Mon, Dec 7, 2015 at 10:11 AM, Christian Brabandt wrote: > Hi wolfv! > > On So, 06 Dez 2015, wolfv wrote: > >> I usually work with one primary Vim open with multiple files in the >> buffers list. Sometimes I will also temporarily open a few text files >> from the file manager, each file opened i

Re: programmatically determine blockwise visual mode

2015-12-07 Thread Nikolay Aleksandrovich Pavlov
2015-12-05 14:59 GMT+03:00 Christian Brabandt : > On Sa, 05 Dez 2015, Nikolay Aleksandrovich Pavlov wrote: > > > I think that in most cases `"\42$"` will work: `+"42$" is 42`, > `str2nr > > ("42$") is 42`. > > Hm, I am sorry, I don't understand what you are trying to say. > I have mistaken `visua

Re: Unintentionally closing Vim with many buffers open

2015-12-07 Thread Christian Brabandt
Hi wolfv! On So, 06 Dez 2015, wolfv wrote: > I usually work with one primary Vim open with multiple files in the > buffers list. Sometimes I will also temporarily open a few text files > from the file manager, each file opened in its own Vim. Then I quickly > close all the temporary Vims by click

Re: Highlight if-else-endif structures in Vim

2015-12-07 Thread Fabian Nick
Am Donnerstag, 3. Dezember 2015 23:20:01 UTC+1 schrieb DrChip: > Eric Christopherson wrote: > > On Wed, Aug 26, 2015, Fabian Nick wrote: > >> Hi all, > >> > >> ss there a way to highlight if-else-endif structures in Vim on demand > >> based on their 'level' in the overall program hierarchy? I.e. I