Liste des Groupes | Revenir à col misc |
On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:I didn't know there was a special way to do this. I used simply "\ foo ", as
Lawrence D'Oliveiro wrote this post while blinking in Morse code:
>On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:>
>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. :-)
Every now and then I come across some nifty trick I didn't know about. One
of my favourites is /\<foo\> - which finds the next occurrence of "foo" that
is a complete word, i.e. it ignores "foobar".
Les messages affichés proviennent d'usenet.