<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by PHPBoost on Fri, 08 May 2026 16:11:39 +0200 -->
<rss version="2.0" xmlns:atom="https://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Wiki]]></title>
		<atom:link href="https://www.mageialinux-online.org/syndication/rss/wiki/57" rel="self" type="application/rss+xml"/>
		<link>https://www.mageialinux-online.org</link>
		<description><![CDATA[Derniers articles de la catégorie Éditeurs de textes]]></description>
		<copyright>(C) 2005-2026 PHPBoost</copyright>
		<language>fr</language>
		<generator>PHPBoost</generator>
		
            <item>
                <title><![CDATA[Kate]]></title>
                <link>https://www.mageialinux-online.org/wiki/kate</link>
                <guid>https://www.mageialinux-online.org/wiki/kate</guid>
                <description><![CDATA[<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/kate-logo-128.png" alt="Logo Kate" style="width: 96px" /></p><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-prerequis">Prérequis</h2><br />

<span class="message-helper bgc notice"><ul class="formatter-ul">
    <li class="formatter-li"> Avoir configuré sa base URPMI.
    </li><li class="formatter-li"> Avoir une connexion internet établie.
    </li><li class="formatter-li"> Avoir l'environnement de bureau KDE</li></ul></span><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-presentation">Présentation</h2><br />

<br />
Kate est un éditeur de texte spécialement adapté à la programmation, fourni avec l'environnement de bureau KDE disponible pour les systèmes<br />
d'exploitation GNU/Linux, BSD et autres systèmes apparentés à Unix.<br />
<br />
Kate est un éditeur de texte très performant pour KDE. Il intègre la coloration syntaxique <a class="offload" href="https://kate-editor.org/fr/syntax/">pour beaucoup de langages</a>.<br />
<br />
Source: <a class="offload" href="http://fr.wikipedia.org/wiki/Kate_%28logiciel%29">Wikipédia</a><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installation">Installation</h2><br />

<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-en-ligne-de-commande">En ligne de commande</h3><br />

1) Ouvrir une console (ou terminal)<br />
Par exemple <strong>Konsole</strong> :<br />
<strong> <span style="color:blue;"><em>Menu Applications</em></span> ->  <span style="color:blue;"><em>Outils</em></span> -> <span style="color:blue;"><em> Konsole </em></span></strong><br />
<br />
2) Passer en root (mode administrateur)<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>skulls<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">su</span>
Mot de passe : 
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost skulls<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># </span></pre></pre></div></div><br />
<br />
3) Taper la commande suivante:<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">urpmi kate</pre></pre></div></div><br />
s'en suivra (pour Mageia 3) :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">ftp:<span style="color: #000000; font-weight: bold;">//</span>download.asso-linux-online.fr<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>packages-mlo<span style="color: #000000; font-weight: bold;">/</span>Mageia<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">/</span>x86_64<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>kate-4.10.5-<span style="color: #000000;">1.1</span>.mga3.x86_64.rpm
installation de kate-4.10.5-<span style="color: #000000;">1.1</span>.mga3.x86_64.rpm depuis <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>cache<span style="color: #000000; font-weight: bold;">/</span>urpmi<span style="color: #000000; font-weight: bold;">/</span>rpms                                             
Préparation...                   <span style="color: #666666; font-style: italic;">######################################################################################</span>
      <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>: kate              <span style="color: #666666; font-style: italic;">######################################################################################</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost skulls<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;">#</span></pre></pre></div></div><br />
<span class="message-helper bgc warning">À ce jour 20/08/2025 il s'agit de kate-23.04.3-1.mga9<br />
</span><br />
<br />
Vous pouvez retrouver votre application dans :<br />
<strong> <span style="color:blue;"><em>Menu Applications</em></span> ->  <span style="color:blue;"><em>Outils</em></span> -> <span style="color:blue;"><em>Kate </em></span></strong><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-en-graphique-avec-le-ccm-centre-de-controle-de-mageia">En graphique avec le  CCM ( Centre de Contrôle de Mageia )</h3><br />

<br />
1) Dans le menu des Applications/Outils cliquez sur l'icône<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/drakconf.png" alt="Icone drakconf" style="width: 48px" /></p><br />
<br />
Il est possible de saisir au clavier le mot "centre" pour faire apparaître l&#8217;icône.<br />
2) Entrez votre mot de passe administrateur (ou  <em><span style="color:blue;">root</span></em>) :<br />
<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/mageia_2_mot_de_passe.png" alt="mageia_2_mot_de_passe" /></p><br />
<br />
3) Dès que le CCM est lancé, cliquez sur l'onglet <em><span style="color:blue;">Gestion des logiciels</span></em> <strong>-></strong><em><span style="color:blue;"> Installer et désinstaller des logiciels</span></em>.<br />
<br />
<p style="text-align: center;"> <img src="https://www.mageialinux-online.org/upload/mageia_3_logiciel_3.png" alt="mageia_3_logiciel_3" /> </p><br />
<br />
4) Dans la zone de recherche saisissez <span style="color:blue;"><em>kate</em></span> :<br />
<br />
<p style="text-align: center;"> <img src="https://www.mageialinux-online.org/upload/kate1.png" alt="kate1" /></p><br />
<br />
5) Cochez <strong><span style="color:blue;">kate</span></strong> et, si il y en a, acceptez les dépendances.<br />
<br />
6) Cliquez sur <em><span style="color:blue;">Appliquer</span></em> afin de lancer le téléchargement et l'installation des paquetages.<br />
<span class="message-helper bgc success">Voila Kate est désormais installé.</span><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-fonctionnalites-de-kate">Fonctionnalités de Kate</h2><br />

<h3 class="formatter-title wiki-paragraph-3" id="paragraph-liste-non-non-exhaustive">Liste non  non exhaustive</h3><br />

<ul class="formatter-ul">
    <li class="formatter-li">Coloration syntaxique <a class="offload" href="https://kate-editor.org/fr/syntax/">pour plus de 400 langages</a>.
    </li><li class="formatter-li">Pliage de code, ou <span class="emoji-tag">&laquo;</span> code folding <span class="emoji-tag">&raquo;</span>.
    </li><li class="formatter-li">Édition de plusieurs fichiers en simultanée possible grâce<br />
<ul class="formatter-ul">
    <li class="formatter-li">aux onglets,
    </li><li class="formatter-li">aux fenêtres scindées verticalement, horizontalement : <strong>Affichage>Scinder la vue</strong> <p style="text-align: center;"><br />
<img src="https://www.mageialinux-online.org/upload/kate-scindee-screenshot_20250825_154719-2.png" alt="Kate fenetre scindée verticalement, onglets" style="width: 600px" /></p><br />
</li></ul>
    </li><li class="formatter-li">Intégration de l'émulateur de terminal Konsole dans l'interface, grâce à la technologie Kparts<span class="emoji-tag">&nbsp;</span>:<br />
<strong>Outils>Afficher le panneau de terminal</strong> ou raccourci clavier F4.
    </li><li class="formatter-li">Capable d'éditer des fichiers de taille importante sans ralentissements majeurs.
    </li><li class="formatter-li">Création d'outils externes <em>personnalisés</em>.
    </li><li class="formatter-li">Possibilité d'utiliser des plugins...<br />
</li></ul><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-editeur-markdown">Éditeur markdown</h3><br />

Kate prend en charge la syntaxe markdown, mais permet aussi de visualiser en temps réel le document en cours d'édition.<br />
Pour obtenir cette fonctionnalité, il faut activer <strong>Aperçu de documents</strong> qui se trouve dans <strong>Configuration>Configurer Kate>Modules externes</strong>.<br />
Exemple :<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/kate-markdown-screenshot_20250903_103058.png" alt="Kate Visualisation markdown" style="width: 400px" /></p><br />
<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-raccourcis-clavier">Raccourcis clavier</h2><br />

Kate comporte une pléthore de raccourcis clavier. Voici les plus communs :<br />
<ul class="formatter-ul">
    <li class="formatter-li">F4 : Ouvrir, fermer le terminal embarqué.
    </li><li class="formatter-li">Ctrl+Maj+F4 : Passer le focus de l'éditeur au terminal incorporé, et réciproquement. (Pour lancer la compilation ou le script).
    </li><li class="formatter-li">Ctrl+D : Commenter la sélection.
    </li><li class="formatter-li">Ctrl+Maj+D : Décommenter la sélection.
    </li><li class="formatter-li">Ctrl+I : Indenter la sélection.
    </li><li class="formatter-li">Ctrl+Maj+I : Désindenter la sélection.
    </li><li class="formatter-li">Ctrl+K : Supprimer la ligne.<br />
</li></ul><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sitographie">Sitographie</h2><br />

<ul class="formatter-ul">
    <li class="formatter-li"><a class="offload" href="https://kate-editor.org/fr/">https://kate-editor.org/fr/</a>.
    </li><li class="formatter-li"><a class="offload" href="https://en.wikipedia.org/wiki/Kate_(text_editor)">Les raccourcis clavier</a>. En anglais.
    </li><li class="formatter-li">Kate, <a class="offload" href="https://kate-editor.org/fr/syntax/">coloration syntaxique</a>
    </li><li class="formatter-li"><a class="offload" href="https://en.wikipedia.org/wiki/Kate_(text_editor)">Sur Wikipedia</a> (English too)
    </li><li class="formatter-li"><a class="offload" href="https://doc.ubuntu-fr.org/kate">Tuto de Kate sur Ubuntu.</a><br />
</li></ul><br />
<br />
<br />
<p style="text-align: right;"><span style="font-size: 10px;">Écrit par: <a class="offload" href="https://www.mageialinux-online.org/member/member-6578.php">skulls</a>, Le: 21/11/13.<br />
MaJ <a class="offload" href="https://www.mageialinux-online.org/user/profile/5813">Meuz</a> le 20/08/2025.</span></p><br />
<br />
<p style="text-align: right;"><a href="https://www.mageialinux-online.org/wiki/utiliser-mageia">Retour<span class="emoji-tag">&nbsp;</span>: Utiliser Mageia</a></p>]]></description>
                <pubDate>Wed, 03 Sep 2025 11:14:55 +0200</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Utiliser l'éditeur nano]]></title>
                <link>https://www.mageialinux-online.org/wiki/utiliser-l-editeur-nano</link>
                <guid>https://www.mageialinux-online.org/wiki/utiliser-l-editeur-nano</guid>
                <description><![CDATA[<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/gnu-nano.svg" alt="Logo Gnu nano" style="width: 64px" /></p><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-presentation">Présentation</h2><br />

nano, sans majuscule, est un éditeur de texte en mode console, cela peut s&#8217;avérer pratique quand vous n&#8217;avez pas accès au mode graphique, par exemple. Bien que livré avec beaucoup moins d&#8217;options que vi, il a l&#8217;avantage d&#8217;être utilisable sans connaissances particulières.<br />
<br />
De plus les raccourcis clavier usuels pour les commandes (Quitter, Copier...) sont indiqués statiquement en bas de la fenêtre d&#8217;édition.<br />
<br />
<span class="message-helper bgc notice">Des raccourcis vont changer à partir de version 8. À ce jour 27/08/25, c'est la version 7.2 qu'on trouve dans Magiea.<br />
</span><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installation">Installation</h2><br />

<br />
Normalement, nano est installé par défaut sur Mageia.<br />
<br />
Si ce n'est pas le cas, l'installation se fera avec <pre style="display:inline;">urpmi <span style="color: #c20cb9; font-weight: bold;">nano</span></pre> en console et en mode administrateur, ou via le Centre de Contrôle de Mageia (CCM)<br />
<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-utiliser-nano">Utiliser nano</h2><br />

<h3 class="formatter-title wiki-paragraph-3" id="paragraph-demarrer-nano">Démarrer nano</h3><br />

Il s'agit d'un logiciel en mode texte, nano ne fonctionne que depuis un terminal. Il faut saisir le terme <strong>nano</strong> dans le terminal pour le démarrer.<br />
Exemple depuis Konsole :<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/nano-konsole-screenshot_20250826_143717-3.png" alt="démarrage nano dans Konsole" style="width: 500px" /></p><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-options-de-ligne-de-commandes">Options de ligne de commandes</h3><br />

nano dispose d&#8217;options de ligne de commande. Il suffit de saisir <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #660033;">-h</span></pre></pre></div></div> pour en avoir la liste. Par exemple avec <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #660033;">-B</span> monfichier</pre></pre></div></div><br />
nano enregistrera en faisant une sauvegarde de sécurité en <pre style="display:inline;">monfichier∼</pre>.<br />
<br />
Quelques exemples :<br />
<ul class="formatter-ul">
    <li class="formatter-li">-i Indentation automatique
    </li><li class="formatter-li"><span style="font-family: andale mono;">-l</span> Afficher le numéro de ligne
    </li><li class="formatter-li">-F multi buffer, c.a.d édition de plusieurs fichiers
    </li><li class="formatter-li">-m Active l'utilisation de la souris
    </li><li class="formatter-li">-w ne coupe pas les longues lignes<br />
</li></ul><br />
<pre style="display:inline;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #660033;">-ilm</span> monfichier</pre> ouvrira donc <pre style="display:inline;">monfichier</pre> avec activées :<br />
<ul class="formatter-ul">
    <li class="formatter-li">l'indentation automatique,
    </li><li class="formatter-li">la numérotation des lignes, et
    </li><li class="formatter-li">la prise en compte de la souris.</li></ul><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-configuration">Configuration</h2><br />

<br />
Plutôt que de saisir les mêmes options à chaque utilisation de nano, il est préférable d'établir un paramétrage pérenne dans un fichier.<br />
<br />
La configuration par défaut est dans le fichier <pre style="display:inline;">/etc/nanorc</pre>. C'est la configuration pour tous les utilisateurs. Pour personnaliser nano, il suffit de copier ce fichier dans le $HOME de l'utilisateur, voire de chaque utilisateur,<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nanorc ~<span style="color: #000000; font-weight: bold;">/</span>.nanorc</pre></pre></div></div><br />
et ensuite de l'adapter à aux besoins dans un éditeur de texte, par exemple.<br />
<br />
Attention, il se peut que les mises à jour aient laissé plusieurs de ces fichiers sous le nom <pre style="display:inline;">nanorc.rpmnew</pre>. Il est raisonnable d'utiliser le plus récent, quitte à le renommer <pre style="display:inline;">nanorc</pre>.<br />
<br />
Dans l'ensemble, la tâche consiste à décommenter les paramètres qui nous intéressent. Ce fichier est un fichier texte dont la plupart des lignes débutent par un #.<br />
<br />
Ces lignes ne sont pas lues, interprétées, quand nano parcourt ce fichier durant son démarrage.<br />
<br />
Décommenter une ligne, c'est supprimer le #. Elle sera alors lue et prise en compte par nano lors de son démarrage.<br />
<br />
Si la même configuration convient à tous les utilisateurs, root compris, il n'est pas utile de créer un fichier <pre style="display:inline;">~/.nanorc</pre>. Il suffira d'éditer en root le fichier <pre style="display:inline;">/etc/nanorc</pre>.<br />
<br />
Après chaque modification de <pre style="display:inline;">nanorc</pre>, il faut redémarrer nano pour les modifications soient prises en compte.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-parametrage-perenne-confortable-exemple">Paramétrage pérenne confortable, exemple</h3><br />

Pour disposer, de l'autoindentation, de sauvegarde, de numérotation des lignes, de la souris<span class="emoji-tag">&nbsp;</span>:<br />
<ul class="formatter-ul">
    <li class="formatter-li">Autoindentation. Décommenter <pre style="display:inline;"># set autoindent</pre>
    </li><li class="formatter-li">Faire sauvegarde. Décommenter<pre style="display:inline;"># set backup</pre>
    </li><li class="formatter-li">Numérotation des lignes. Décommenter <pre style="display:inline;"># set linenumbers</pre>
    </li><li class="formatter-li">Activer l'utilisation de la souris Décommenter <pre style="display:inline;"># set mouse</pre><br />
</li></ul><br />
Pour réaliser des recherches sensibles à la casse, il faudra décommenter <pre style="display:inline;"># set casesensitive</pre>.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-raccourcis-clavier-usuels">Raccourcis clavier usuels</h3><br />

Les <span id="raccourcisdefaut">raccourcis clavier de nano</span> pourront sembler exotiques :<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/nano-raccourcis-screenshot_20250826_184731-g.png" alt="nano raccourcis  gauche" /></p><br />
<br />
Pour retrouver vos raccourcis clavier usuels décommenter dans <pre style="display:inline;">/etc/nanorc</pre> ou <pre style="display:inline;">~/.nanorc</pre><span class="emoji-tag">&nbsp;</span>:<br />
<div class="indent"><div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">## If you would like nano to have keybindings that are more "usual",
## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit,
## then uncomment these:
#bind ^X cut main
#bind ^C copy main
#bind ^V paste all
#bind ^Q exit all
#bind ^S savefile main
#bind ^W writeout main
#bind ^O insert main
...
...</pre></pre></div></div></div><br />
En français : décommenter toute cette partie (fin du nanorc).<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-coloration-syntaxique">Coloration syntaxique</h3><br />

Il est possible de personnaliser la coloration syntaxique pour un utilisateur ou tous. Rendez vous pour ce faire au paragraphe <pre style="display:inline;">## === Syntax coloring ===</pre> du <pre style="display:inline;">~/.nanorc</pre>.<br />
<br />
Par défaut, toutes les colorations syntaxiques de nano sont activées. Pour restreindre, commenter la ligne <div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">include "/usr/share/nano/*.nanorc"</pre></pre></div></div> et ajouter les lignes<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">include "/usr/share/nano/html.nanorc"
include "/usr/share/nano/python.nanorc"
include "/usr/share/nano/xml.nanorc"</pre></pre></div></div> pour pour restreindre la coloration syntaxique à html, python et xml.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-utilisation">Utilisation</h2><br />

<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-edition-en-general">Édition en général</h3><br />

En bas de la fenêtre d'édition, apparaissent des fonctions et leur raccourci clavier, <a href="https://www.mageialinux-online.org/wiki/utiliser-l-editeur-nano#raccourcisdefaut">cf image plus haut.</a><br />
<br />
<span class="message-helper bgc notice">Ce qu'il faut savoir et qui n'est en rien évident c'est que<br />
<ul class="formatter-ul">
    <li class="formatter-li">^ représente la touche Ctrl
    </li><li class="formatter-li">M- représente la touche Alt<br />
</li></ul></span><br />
On peut donc voir (d'après l'image plus haut) que pour<br />
<ul class="formatter-ul">
    <li class="formatter-li">afficher l'aide, il faut appuyer sur Ctrl et G : Ctrl+G (F1 fonctionne aussi)
    </li><li class="formatter-li">quitter, c'est Ctrl+X
    </li><li class="formatter-li">copier, c'est Alt+Maj+6 : en effet, il ne s'agit pas du 6 du pavé numérique
    </li><li class="formatter-li">annuler, c'est Alt+U
    </li><li class="formatter-li">rechercher, c'est Ctrl+W
    </li><li class="formatter-li">sauvegarder, c'est Ctrl+O
    </li><li class="formatter-li">trouver le curseur, c'est Ctrl+C<br />
</li></ul><br />
<br />
Ce qui surprend, et n'est pas commun autres éditeurs : Ctrl+X, c'est en général pour couper du texte.<br />
<br />
Liste complète des <a class="offload" href="https://nano-editor.org/dist/latest/cheatsheet.html">raccourcis clavier</a>.<br />
<br />
Les flèches du clavier restent fonctionnelles, et permettent de naviguer dans le fichier.<br />
<br />
Retrouver les raccourcis usuels est décrit dans le paragraphe Configuration. Voici comment ça se présente :<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/nano-raccourcis_usuels-screenshot_20250827_145752.png" alt="nano raccouris usuels" style="width: 500px" /></p><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-selectionner-du-texte">Sélectionner du texte</h3><br />

La démarche pour sélectionner du texte n'est guère intuitive.<br />
<br />
Il faut <ol class="formatter-ol">
    <li class="formatter-li">placer le curseur sur le premier caractère, à la souris ou avec les flèches <span class="emoji-tag">&uarr;</span>, <span class="emoji-tag">&darr;</span>, <span class="emoji-tag">&larr;</span>, <span class="emoji-tag">&rarr;</span><span class="emoji-tag">&nbsp;</span>;
    </li><li class="formatter-li">marquer le début de la sélection avec Alt+A<span class="emoji-tag">&nbsp;</span>: apparait le message <pre style="display:inline;">[ Marque posée ]</pre><span class="emoji-tag">&nbsp;</span>;
    </li><li class="formatter-li">surligner le texte à avec les flèches ;
    </li><li class="formatter-li">copier cette sélection avec Alt+Shift+-<br />
</li></ol><br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/nano-selection-copier-coller-screenshot_20250827_170324.png" alt="nano-texte sélectionné" style="width: 350px" /></p><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-coller-couper">Coller, couper</h3><br />

Coller avec Ctrl+U après être placé à l'endroit voulu.<br />
Couper avec Ctrl+K.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-saisie-de-caracteres-absents-du-clavier">Saisie de caractères absents du clavier</h3><br />

<br />
Les caractères qui ne sont pas présents sur le clavier peuvent être saisis de deux manières :<br />
<br />
<ul class="formatter-ul">
    <li class="formatter-li">pour les caractères codés un seul octet, appuyez deux fois sur la touche Esc, puis<br />
tapez un nombre décimal à trois chiffres (de 000 à 255) pour que nano<br />
se comporte comme si vous aviez tapé la touche correspondant à cette valeur ;
    </li><li class="formatter-li">pour tout caractère possible, appuyez sur M-V, donc Alt+V, puis tapez une<br />
série de chiffres hexadécimaux (six au maximum, ou terminez par Entrée ou<br />
Espace) pour entrer le caractère Unicode.<br />
<br />
Par exemple, tapez Esc Esc 2 3 4 pour entrer le caractère <span class="emoji-tag">&laquo;</span> ê <span class="emoji-tag">&raquo;</span>, utile lorsque vous écrivez à propos d'une fête.<br />
<br />
Autres exemples. Saisir M-V 0 0 2 6 6 5 insère le symbole <span class="emoji-tag">&laquo;</span> <span class="emoji-tag">&hearts;</span> <span class="emoji-tag">&raquo;</span>, un petit c&#339;ur ;<br />
et M-V 0 0 2 6 3 A insère le symbole <span class="emoji-tag">&laquo;</span> <span class="emoji-tag">&#9786</span> <span class="emoji-tag">&raquo;</span>.<br />
</li></ul><br />
Taper M-V suivi de n'importe quel caractère autre qu'un chiffre hexadécimal insère<br />
cette frappe telle quelle dans le tampon, ce qui permet à l'utilisateur d'insérer des codes de contrôle littéraux (à l'exception de ^J) ou des séquences d'échappement.<br />
<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-crochets-parentheses-accolades-chevrons">Crochets, parenthèses, accolades, chevrons</h3><br />

Le raccourci <pre style="display:inline;">M-]</pre>, donc Alt+altgr+=, permet de retrouver le crochets, parenthèse, accolade, chevron apparié. Placer le curdeur sur une parenthèse, puis <pre style="display:inline;">M-]</pre>, pour retrouvez la seconde.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sitographie">Sitographie</h2><br />

<ul class="formatter-ul">
    <li class="formatter-li"><a class="offload" href="https://nano-editor.org/docs.php">Site de nano</a> (en anglais). Très complet.
    </li><li class="formatter-li">L'ensemble des <a class="offload" href="https://nano-editor.org/dist/latest/cheatsheet.html">raccourcis clavier</a> par défaut. (en anglais).
    </li><li class="formatter-li"><a class="offload" href="https://nano-editor.org/dist/latest/nanorc.5.html">nanorc en html</a> pour une lecture plus aisée. (en anglais).
    </li><li class="formatter-li"><a class="offload" href="https://doc.nfrappe.fr/doku.php?id=logiciel:systeme:editeurs:nano:start">L'éditeur du débutant...</a> Très détaillé.<br />
</li></ul><br />]]></description>
                <pubDate>Wed, 27 Aug 2025 19:18:22 +0200</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Éditeurs de textes]]></title>
                <link>https://www.mageialinux-online.org/wiki/editeurs-de-textes</link>
                <guid>https://www.mageialinux-online.org/wiki/editeurs-de-textes</guid>
                <description><![CDATA[Catégorie consacrée aux éditeur de textes]]></description>
                <pubDate>Wed, 20 Aug 2025 16:49:16 +0200</pubDate>
                
            </item>
		
	</channel>
</rss>
