Liste des Groupes | Revenir à ol advocacy |
On Tue, 23 Apr 2024 21:32:50 -0000 (UTC), candycanearter07 wrote:
>rbowman <bowman@montana.com> wrote at 21:26 this Tuesday (GMT):>On Tue, 23 Apr 2024 21:20:06 -0000 (UTC), candycanearter07 wrote:
>I thought the paste key was p?>
'.' repeats the last action so if you go into insert, add ' ha', and
exit insert mode '.' will insert ' ha'. 'p' inserts whatever is in
the default buffer.
Interesting, I didn't know that.
It can be handy. Suppose you want to change 'some_word' to 'some_phrase'
but not in every case and you don't want to change just 'word'
>
/word
>
will find all instances of 'word'. When you come to a 'some_word' that you
want to change, 'cw', edit it to 'phrase' and hit Esc to go back to
command mode. 'n' will take you to the next instance of 'word'. When you
get to a 'some_word' that you want to change, the cursor will be on 'w'.
'.' will repeat the 'cw' and replace 'word' with phrase.
>
This is sort of a contrived example but it's very useful to replay the
last command selectively where %s/_word/_phrase/g would change
everything.
Like everything else vim has a lot of tricks, a subset of which I use
frequently and some of which I'm completely ignorant about or have to look
up. There's usually different ways to skin the cat too and all the macros
you can set up in .vimrc or .gvimrc.
Date | Sujet | # | Auteur | |
23 Apr 24 | Système D | 81 | Lawrence D'Oliveiro | |
23 Apr 24 | Re: Système D | 4 | candycanearter07 | |
23 Apr 24 | Re: Système D | 3 | Farley Flud | |
24 Apr 24 | Re: Russell's tiny dick | 2 | Joel | |
24 Apr 24 | Re: Russell's tiny dick | 1 | % | |
23 Apr 24 | Re: Système D | 53 | DFS | |
23 Apr 24 | Re: Système D | 52 | candycanearter07 | |
23 Apr 24 | Re: Système D | 1 | candycanearter07 | |
23 Apr 24 | Re: Système D | 8 | Farley Flud | |
23 Apr 24 | Re: Système D | 7 | vallor | |
23 Apr 24 | Re: Système D | 6 | Farley Flud | |
23 Apr 24 | Re: Système D | 4 | Lawrence D'Oliveiro | |
24 Apr 24 | Re: Système D | 3 | vallor | |
24 Apr 24 | Re: Système D | 2 | Farley Flud | |
25 Apr 24 | Re: Système D | 1 | vallor | |
24 Apr 24 | Re: Système D | 1 | vallor | |
23 Apr 24 | Re: Système D | 25 | Farley Flud | |
23 Apr 24 | Re: Système D | 13 | vallor | |
23 Apr 24 | Re: Système D | 12 | Chris Ahlstrom | |
23 Apr 24 | Re: Système D | 11 | candycanearter07 | |
23 Apr 24 | Re: Système D | 9 | rbowman | |
23 Apr 24 | Re: Système D | 8 | candycanearter07 | |
24 Apr 24 | Re: Système D | 7 | rbowman | |
24 Apr 24 | Re: Système D | 6 | candycanearter07 | |
24 Apr 24 | Re: Système D | 5 | rbowman | |
24 Apr 24 | Re: Système D | 3 | candycanearter07 | |
25 Apr 24 | Re: Système D | 2 | rbowman | |
25 Apr 24 | Re: Système D | 1 | candycanearter07 | |
24 Apr 24 | Re: Système D | 1 | Chris Ahlstrom | |
24 Apr 24 | Re: Système D | 1 | Chris Ahlstrom | |
24 Apr 24 | Re: Asshole Russell | 11 | Joel | |
24 Apr 24 | Re: Asshole Russell | 3 | candycanearter07 | |
24 Apr 24 | Re: Asshole Russell | 2 | Joel | |
24 Apr 24 | Re: Asshole Russell | 1 | candycanearter07 | |
24 Apr 24 | Re: Asshole Russell | 6 | DFS | |
24 Apr 24 | Re: Asshole Russell | 1 | Joel | |
24 Apr 24 | Re: Asshole Russell | 4 | candycanearter07 | |
24 Apr 24 | Re: Asshole Russell | 2 | DFS | |
25 Apr 24 | Re: Asshole Russell | 1 | candycanearter07 | |
24 Apr 24 | Re: Asshole Russell | 1 | Physfitfreak | |
24 Apr 24 | Re: Asshole Russell | 1 | % | |
23 Apr 24 | Re: Système D | 1 | Chris Ahlstrom | |
23 Apr 24 | Re: Système D | 9 | Lawrence D'Oliveiro | |
19 May 24 | Re: Syst?me D | 8 | Sebastian | |
25 Jun 24 | Re: Système D | 7 | Lawrence D'Oliveiro | |
25 Jun 24 | Re: Système D | 4 | candycanearter07 | |
25 Jun 24 | Re: Système D | 1 | Sebastian Wells | |
25 Jun 24 | Re: Système D | 2 | Lawrence D'Oliveiro | |
26 Jun 24 | Re: Système D | 1 | candycanearter07 | |
25 Jun 24 | Re: Système D | 2 | Sebastian Wells | |
25 Jun 24 | Re: Système D | 1 | Lawrence D'Oliveiro | |
24 Apr 24 | Re: Système D | 7 | Simon | |
24 Apr 24 | Re: Système D | 4 | Lawrence D'Oliveiro | |
24 Apr 24 | Re: Système D | 3 | candycanearter07 | |
25 Apr 24 | Re: Système D | 2 | Lawrence D'Oliveiro | |
25 Apr 24 | Re: Système D | 1 | candycanearter07 | |
24 Apr 24 | Re: Système D | 2 | Farley Flud | |
24 Apr 24 | Re: Système D | 1 | candycanearter07 | |
23 Apr 24 | Re: Système D | 3 | Farley Flud | |
23 Apr 24 | Re: Système D | 1 | Chris Ahlstrom | |
23 Apr 24 | Re: Système D | 1 | Lawrence D'Oliveiro | |
24 Apr 24 | Re: Système D | 1 | Farley Flud | |
15 May 24 | Re: Syst?me D | 19 | Sebastian | |
17 May 24 | Re: Système D | 18 | Lawrence D'Oliveiro | |
18 May 24 | Re: Système D | 6 | Farley Flud | |
19 May 24 | Re: Système D | 5 | Stéphane CARPENTIER | |
19 May 24 | Re: Système D | 4 | Farley Flud | |
19 May 24 | Re: Système D | 3 | Stéphane CARPENTIER | |
19 May 24 | Re: Système D | 2 | Farley Flud | |
19 May 24 | Re: Système D | 1 | Stéphane CARPENTIER | |
18 May 24 | Re: Système D | 1 | Chris Ahlstrom | |
19 May 24 | Re: Syst?me D | 9 | Sebastian | |
19 May 24 | Re: Syst?me D | 2 | Farley Flud | |
19 May 24 | Re: Syst?me D | 1 | Stéphane CARPENTIER | |
25 Jun 24 | Re: Système D | 6 | Lawrence D'Oliveiro | |
25 Jun 24 | Re: Système D | 2 | Sebastian Wells | |
25 Jun 24 | Re: Système D | 1 | Lawrence D'Oliveiro | |
27 Jun 24 | Re: Système D | 3 | Hunter | |
27 Jun 24 | Re: Système D | 2 | Lawrence D'Oliveiro | |
29 Jun 24 | Re: Système D | 1 | Hunter | |
19 May 24 | Re: Système D | 1 | Stéphane CARPENTIER |
Les messages affichés proviennent d'usenet.