Liste des Groupes | Revenir à col misc |
On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote: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). ;)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'.
>
Les messages affichés proviennent d'usenet.