Earlier quoted context omitted.
28 years of vi and TIL about ZZ. Thanks friend! ^_^
ZZ is the first vi command I learned. After typing vi and only seeing a column of ~s, I asked how do I get out of this thing. Someone answered - ZZ .
The Traditional Vi (2007)
31–40 of 61 posts
Re: The Traditional Vi (2007)
#32Re: The Traditional Vi (2007)
#33I wish elvis was still around. I don't want everything vim has but I like syntax highlighting and other conveniences
Elvis, at its latest release (2.2.0) is a required part of Slackware, part of the A (essential system) package series. I have it installed on my system, alongside Plasma 6.7 and kernel 7.1.
Re: The Traditional Vi (2007)
#34Earlier quoted context omitted.
Lacks centering, other than that I also found it enjoyable to look at.
That’s a feature. It lets your thumb scroll comfortably in a larger blank area so the content is always in view for you. There is no reason for things to be centered, it does not aid readability.
Re: The Traditional Vi (2007)
#35Re: The Traditional Vi (2007)
#36My favorite features are the ranges on the commands (like substitute or delete), piping the buffer into the bottomless utility of the classic UNIX command line, and the . do again command.
About the only vim feature I use today is being able to navigate while entering text, but even after all this time, that is not automatic to me.
I have used syntax coloring a couple of times, I find it particularly useful for XML, especially XML with chunks of XML commented out.
Re: The Traditional Vi (2007)
#37Re: The Traditional Vi (2007)
#38I was just talking about a fun and largely forgotten feature of Joy+Horton vi elsewhere. * https://mastodonapp.uk/@JdeBP/116793159030149624 You can see it here in Ritter vi on lines 83 et seq. of ex_vis.h . vi actually has three flavours of its 'open' mode, for cursor addressable video terminals, non-cursor addressable video terminals, and actual paper terminals. There's an as-yet unfilled niche for the retrocomputer…
Re: The Traditional Vi (2007)
#39I started writing a more fleshed out vi compatibility mode for TextAdept earlier this year. As someone who understood the basics after going through :vimtutor multiple times but always struggled with the more "advanced" commands, there's no better way to actually grok vi than to just try to recreate it. It's pretty amazing how much Bill Joy managed to pack in. Of course, if you're implementing POSIX vi, there are qui…
What do you mean by "roff/troff macros"?
EDIT: Ah, you're probably talking about the "section-wise" movements, defined in POSIX with language like "A line whose first character is a and whose second and third characters match a two-character pair in the 'sections' edit option (see ex)" - that's the first time I've stumbled upon the 'sections' and 'paragraphs' options in the Vim manual ... Very quaint!
Re: The Traditional Vi (2007)
#40I learned vi back in the day and have never really graduated to vim. My favorite features are the ranges on the commands (like substitute or delete), piping the buffer into the bottomless utility of the classic UNIX command line, and the . do again command. About the only vim feature I use today is being able to navigate while entering text, but even after all this time, that is not automatic to me. I have used synta…