<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vim on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/vim/</link>
    <description>Recent content in Vim on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Mon, 05 Jan 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/vim/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Indenter le PHP via une commande bash</title>
      <link>https://move.cyber-neurones.org/post/dev/php/indent/</link>
      <pubDate>Mon, 05 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/dev/php/indent/</guid>
      <description>&lt;p&gt;Ma commande pour indenter PHP&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# find . -name &amp;#39;*.php&amp;#39; -printf &amp;#34;echo -e \&amp;#34;G=gg\n:wq\n\&amp;#34; \&#xA;  | vim %p\n&amp;#34; | sh&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>VIM sous Windows (version 8.0.586) : comment supprimé les ^M</title>
      <link>https://move.cyber-neurones.org/post/2018/06/2018-06-18-vim-sous-windows-version-8-0-586-comment-supprime-les-m/</link>
      <pubDate>Mon, 18 Jun 2018 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2018/06/2018-06-18-vim-sous-windows-version-8-0-586-comment-supprime-les-m/</guid>
      <description>&lt;p&gt;Pour supprimer les ^M il suffit de faire :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;1,$ s/\r//g&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Normalement sous Unix il aurait fallu faire :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;1,$ s/{Ctrl-v}{Ctrl-M}/g&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Mais le {Ctrl-v} fait du Windows &amp;hellip;. Misère.&lt;/p&gt;&#xA;&lt;p&gt;Sachant que la solution de changement d&amp;rsquo;encodage n&amp;rsquo;a jamais fonctionné :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;:set fileformat=unix&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Et la solution &amp;ldquo;dos2unix&amp;rdquo; ne s&amp;rsquo;occupe que des fins de chaines &amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;Je donne donc ma solution &amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;Bisous.&lt;/p&gt;&#xA;&lt;p&gt;L&amp;rsquo;autre question qui est souvent posé, comment faire pour la redirection de flux des erreurs lors du make ( compilation ) :&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
