<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.fortier-family.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Warnaud&#039;s Wiki - software:cli:vim</title>
        <description></description>
        <link>https://wiki.fortier-family.com/</link>
        <lastBuildDate>Tue, 28 Apr 2026 19:48:03 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.fortier-family.com/_media/wiki/logo.png</url>
            <title>Warnaud&#039;s Wiki</title>
            <link>https://wiki.fortier-family.com/</link>
        </image>
        <item>
            <title>add</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/add</link>
            <description>*  Add a string (comment for example) at the beginning of several lines:
		*  Use Ctrl+V to select the first column of text in the lines you want to comment. (using up/down arrows to highlight the portion needed)
		*  Then hit Shift+i and type the text you want to insert.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:45 +0000</pubDate>
        </item>
        <item>
            <title>copy</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/copy</link>
            <description>Vim commands for copying

	*  Extract lines from line n to line m to a new file
: n,m w newfile

	*  Next</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:45 +0000</pubDate>
        </item>
        <item>
            <title>mouse</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/mouse</link>
            <description>Mouse is captured and switches mode in VIM to “Visual” ?

 :set mouse=</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 23 Jun 2025 09:05:27 +0000</pubDate>
        </item>
        <item>
            <title>save</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/save</link>
            <description>*  Save without root permission 
:w !sudo tee %

 Reference: &lt;http://www.cyberciti.biz/faq/vim-vi-text-editor-save-file-without-root-permission/&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:45 +0000</pubDate>
        </item>
        <item>
            <title>searchreplace</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/searchreplace</link>
            <description>*  Change occurrence of a word by another from the line to the end of the file 
:.,$s/word/another/g

	*  add a character at the beginning of lines
:13,37s/^/%/

 here on line 13 to 37 we add &#039;%&#039; at the beginning

	*  Reference: Search and replace</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:46 +0000</pubDate>
        </item>
        <item>
            <title>start</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/start</link>
            <description>Here is some nice Vim commands I use and abused sorted in category

	*  References
	*  Copy
	*  Save
	*  Search And replace
	*  Add</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Dec 2021 20:09:47 +0000</pubDate>
        </item>
        <item>
            <title>vimdiff</title>
            <link>https://wiki.fortier-family.com/software/cli/vim/vimdiff</link>
            <description>Compare 2 files using vim

&lt;https://www.freecodecamp.org/news/compare-two-files-in-linux-using-vim/&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 16 Mar 2023 05:44:12 +0000</pubDate>
        </item>
    </channel>
</rss>
