Re: an old "hack" of mine, shared for amusement

2017-04-25 Thread Erik Falor
On Tue, Apr 25, 2017 at 04:23:12PM -0400, Eli the Bearded wrote: > Christian Brabandt wrote: > > Are you saying, original Vi could be tricked to execute various commands > > via modelines? That sounds pretty scary actually. > > Still can, if you have real vi somewhere. (You can also embed

Re: an old "hack" of mine, shared for amusement

2017-04-25 Thread Eli the Bearded
Christian Brabandt wrote: > Are you saying, original Vi could be tricked to execute various commands > via modelines? That sounds pretty scary actually. Still can, if you have real vi somewhere. (You can also embed arbitrary ex commands in tag files for real vi.) Elijah -- -- You received

Re: an old "hack" of mine, shared for amusement

2017-04-25 Thread Christian Brabandt
Hi Eli! On Di, 25 Apr 2017, Eli the Bearded wrote: > Everyone seems to be missing it. rot13 solution for those interested. > > This *hack* was designed to *not* work in vim. > > It works in vi. It makes vi reopen the file with vim. > > (And by-the-by, I have Vim 3.0 for Mac System 7. I found

Re: an old "hack" of mine, shared for amusement

2017-04-25 Thread Eli the Bearded
Erik Falor wrote: > I can report that this "hack" doesn't do anything interesting as of Vim 5.5. > It doesn't complain about the pipe characters in the modelines, though. Everyone seems to be missing it. rot13 solution for those interested. Guvf *unpx* jnf qrfvtarq gb *abg* jbex va ivz. Vg

Re: an old "hack" of mine, shared for amusement

2017-04-25 Thread Erik Falor
On Tue, Apr 25, 2017 at 09:16:54AM +0200, Christian Brabandt wrote: > > A while ago, I converted the old Vim CVS Repository to git and I made it > available here: > https://bitbucket.org/vim-mirror/vim-ancient > > #v+ > ~/vim-ancient$ git log --reverse |head -15 > commit

Re: already at oldest change - how to suppress this message

2017-04-25 Thread Tony Mechelynck
On Tue, Apr 25, 2017 at 10:18 AM, Christian Brabandt wrote: > Hi Jim! > > On Mo, 24 Apr 2017, Jim Wilmore wrote: > >>I recently got a new laptop, so I decided I would install gvim80 after >> using gvim73 for many years. >>As an old Unix user from the 70s onward, I

Re: Vim Improvement suggester

2017-04-25 Thread Shawn H Corey
On Tue, 25 Apr 2017 04:12:46 -0700 (PDT) Patrik Iselind wrote: > Even if they lack context you can still figure out things like "You > use j and k to move around a lot. A faster and less error prone way > would be using seaching for example.". This could be one example of >

Re: Vim Improvement suggester

2017-04-25 Thread Patrik Iselind
Den onsdag 19 april 2017 kl. 10:22:25 UTC+2 skrev ZyX: > > 1. Parsing , see :h 'verbose' and :h 'verbosefile'. Should > only work for Ex commands, but not for normal-mode commands. > 2. Recording your input in `-w {scriptout}` and parsing to guess where > are commands there and where is regular

Re: Vim Improvement suggester

2017-04-25 Thread Patrik Iselind
Den onsdag 19 april 2017 kl. 11:25:38 UTC+2 skrev MarcWeber: > Brams advice was > 1) watch yourself > 2) look at what takes most of you time > 3) use mailinglist or chat to ask how to do things faster. > > I've put some ideas here: >

Re: already at oldest change - how to suppress this message

2017-04-25 Thread Christian Brabandt
Hi Jim! On Mo, 24 Apr 2017, Jim Wilmore wrote: >I recently got a new laptop, so I decided I would install gvim80 after > using gvim73 for many years. >As an old Unix user from the 70s onward, I have quite a lot of > customization, and when I discovered Gvim, my customization

Re: an old "hack" of mine, shared for amusement

2017-04-25 Thread Christian Brabandt
On Mo, 24 Apr 2017, Erik Falor wrote: > Eli did mention that he had been running Vim version 4.2. Perhaps > modelines worked differently back then? > > The oldest Vim source code I could find in a brief search is version > 6.4. Does anybody know of a way to find a version that's even older >