[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
fr:slackbook:vi [2012/11/19 01:05 (UTC)] – [Se déplacer] ellendhel | fr:slackbook:vi [2012/11/21 03:15 (UTC)] – [Sources] typography ellendhel | ||
---|---|---|---|
Ligne 54: | Ligne 54: | ||
===== Aide-mémoire vi ===== | ===== Aide-mémoire vi ===== | ||
- | Comme **//vi//** peut être difficile à apprendre, j'ai préparé un petit aide mémoire qui pourra vous aider à débuter | + | Comme **//vi//** peut être difficile à apprendre, j'ai préparé un petit aide mémoire qui pourra vous aider à débuter, en attendant d'être plus à l' |
^ Commande ^ Résultat ^ | ^ Commande ^ Résultat ^ | ||
- | |h|Move the cursor one character left| | + | |h|déplace le curseur d'un caractère vers la gauche| |
- | |j|Move the cursor one line down| | + | |j|déplace le curseur d'une ligne vers le bas| |
- | |k|Move the cursor one line up| | + | |k|déplace le curseur d'une ligne vers le haut| |
- | |l|Move the cursor one character right| | + | |l|déplace le curseur d'un caractère vers la droite| |
- | |10j|Move the cursor ten lines down| | + | |10j|déplace le curseur de 10 lignes vers le bas| |
- | |G|Move to the end of the file| | + | |G|aller à la fin du fichier| |
- | |%%^%%|Move to the beginning of the line| | + | |%%^%%|aller au début de la ligne| |
- | |$|Move to the end of the line| | + | |$|aller à la fin de la ligne| |
- | |dd|Remove a line (and store it in the copy buffer)| | + | |dd|supprimer la ligne (et la copier en mémoire tampon)| |
- | |5dd|Remove | + | |5dd|supprimer |
- | |dw|Remove a single word (and store it in the copy buffer)| | + | |dw|supprimer un mot (et la copier en mémoire tampon)| |
- | |5dw|Remove five words (and store them in the copy buffer)| | + | |5dw|supprimer 5 mots (et les copier en mémoire tampon)| |
- | |yy|Yank (copy) a line (and store it in the copy buffer)| | + | |yy|copier une ligne (et la copier en mémoire tampon)| |
- | |yw|Yank (copy) a single word (and store it in the copy buffer)| | + | |yw|copier un mot (et le copier en mémoire tampon)| |
- | |5yw|Yank five words (and store them in the copy buffer)| | + | |5yw|copier 5 mots (et les copier en mémoire tampon)| |
- | |p|Paste the contents of the copy buffer at the cursor's location| | + | |p|coller le contenu de la mémoire tampon à l'emplacement du curseur| |
- | |P|Paste the contents of the copy buffer above the cursor's location| | + | |P|coller le contenu de la mémoire tampon au dessus de l'emplacement du curseur| |
- | |r|Replace a single character| | + | |r|remplace un caractère| |
- | |R|Replace multiple characters| | + | |R|remplace plusieurs caractères| |
- | |x|Delete a character| | + | |x|supprime un caractère| |
- | |X|Delete the previous character| | + | |X|supprime le caractère précédent| |
- | |u|Undo the last action| | + | |u|annule l'action |
- | |:s'old'new'g|Replace all occurrences | + | |:s'ancien'nouveau'g|remplace toutes les occurrences |
- | |:%s'old'new'g|Replace all occurrences | + | |:%s'ancien'nouveau'g|remplace toutes les occurrences |
- | |/asdf|Locate next occurrence | + | |/asdf|recherche la prochaine |
- | |:q|Quit (without saving)| | + | |:q|quitte |
- | |:w|Save the current | + | |:w|enregistre le document |
- | |:w file|Save the current | + | |:w fichier|sauvegarde le document |
- | |:x|Save and quit| | + | |:x|sauvegarde et quitte| |
====== Navigation ====== | ====== Navigation ====== | ||
Ligne 93: | Ligne 93: | ||
====== Sources ====== | ====== Sources ====== | ||
<!-- If you copy information from another source, then specify that source --> | <!-- If you copy information from another source, then specify that source --> | ||
- | * Source originale: [[http:// | + | * Source originale : [[http:// |
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
* Publié par Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson\\ | * Publié par Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson\\ | ||
* Traduction initiale de [[wiki: | * Traduction initiale de [[wiki: | ||
+ | * Traduction de [[wiki: | ||
<!-- * Contrbutions by [[wiki: | <!-- * Contrbutions by [[wiki: | ||