Path: csiph.com!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: D Newsgroups: comp.os.linux.misc Subject: Re: What programs do you make sure are installed on a new Linux Date: Thu, 21 Nov 2024 09:54:10 +0100 Organization: i2pn2 (i2pn.org) Message-ID: <770ca1c0-74df-901d-fbfc-988a51621165@example.net> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-1765020307-1732179252=:16130" Injection-Info: i2pn2.org; logging-data="3464919"; mail-complaints-to="usenet@i2pn2.org"; posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M"; X-Spam-Checker-Version: SpamAssassin 4.0.0 In-Reply-To: Xref: csiph.com comp.os.linux.misc:61171 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1765020307-1732179252=:16130 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 21 Nov 2024, Robert Riches wrote: > On 2024-11-20, Chris Ahlstrom wrote: >> Lawrence D'Oliveiro wrote this post while blinking in Morse code: >> >>> On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote: >>> >>>> ... my fingers speak [vi/vim] well enough >>>> that if I'm trying to move down the screen in other editors a string of >>>> "j"s appear on the screen. >>> >>> The vi/vim apps I’ve used also support the arrow keys, like modern >>> programs. >>> >>>> For sheer economy of keystrokes, vi(m) is hard to beat. >>> >>> Moving around after inserting text requires n + 1 keystrokes: 1 to exit >>> insert mode, and n to move around. Editors which don’t have a separate >>> insert mode can do n moves with just n keystrokes. >> >> With vim, you can be in insert mode and still move around with the arrow keys. >> >> /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files. >> >> Actually, one problem with vim is tooooo many ways to do things. :-) > > Regarding moving around requiring n+1 keystrokes, GNU Emacs lets > you experience the power of Control-U. It is a prefix argument > that (oversimplification follows, but ...) multiplies the effect > of the next action by 4. > > So, with control-U three times and an arrow key the cursor can > move 64 steps in any direction. > > If you want to execute the current keyboard macro 1024 times, do > control-U 5 times, then control-X, then 'e'. > So my earlier joke was not a joke. I twas the truth! In vim, just type 1024@a and be done with it (assuming macro is in a). ;) --8323328-1765020307-1732179252=:16130--