<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jeevaa on Medium]]></title>
        <description><![CDATA[Stories by Jeevaa on Medium]]></description>
        <link>https://medium.com/@jeevaa?source=rss-ea9b1a54d377------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BB0IoEdDHk29-2nq</url>
            <title>Stories by Jeevaa on Medium</title>
            <link>https://medium.com/@jeevaa?source=rss-ea9b1a54d377------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 02:47:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeevaa/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Vi Editor: The 50-Year-Old Tool That Still Runs The Internet]]></title>
            <link>https://medium.com/@jeevaa/vi-editor-the-50-year-old-tool-that-still-runs-the-internet-47f9cb47bb54?source=rss-ea9b1a54d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/47f9cb47bb54</guid>
            <category><![CDATA[unix]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[vi]]></category>
            <category><![CDATA[editor]]></category>
            <dc:creator><![CDATA[Jeevaa]]></dc:creator>
            <pubDate>Fri, 07 Aug 2026 21:36:15 GMT</pubDate>
            <atom:updated>2026-08-07T21:36:15.500Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Bill Joy — the one created VI editor" src="https://cdn-images-1.medium.com/max/250/0*vp_LzYbIy5qng-WE.jpg" /><figcaption>Bill Joy</figcaption></figure><h3>Created in 1976, it lives on every server you’ll ever touch. Here’s how to stop fearing it and start using it.</h3><p>The <a href="https://en.wikipedia.org/wiki/Vi_(text_editor)">vi text editor</a> was created by American computer scientist <strong>Bill Joy</strong> in 1976 while he was at UC Berkeley. Later, <a href="https://en.wikipedia.org/wiki/Bram_Moolenaar">Bram Moolenaar</a> created Vim (Vi IMproved) in 1991 as an enhanced version of Joy’s original editor.</p><p>If you’ve ever SSH’d into a remote server, typed vi by accident, and then couldn&#39;t figure out how to exit, you&#39;re not alone.</p><p>I have seen senior engineers do it too.</p><p>Created by Bill Joy in 1976, vi is a fast, lightweight text editor that runs directly in your terminal. Most modern Linux systems actually give you vim - vi improved - but 95% of vi commands work exactly the same. And because it&#39;s pre-installed on virtually every Unix-like system, knowing vi is not nostalgia. It&#39;s survival.</p><p>Here is the no-fluff guide I wish someone gave me.</p><h3>1. The Mental Model: Vi Has 3 Modes</h3><p>This is where most people get stuck. Unlike Word or VS Code, vi changes what your keys <em>do</em> based on the mode you are in.</p><p>Command Mode: The default. Every key is a command. j does not type j, it moves you down. This is where you navigate, delete, copy and paste.</p><p>Insert Mode: This is where you actually type text. You get here from Command Mode by pressing i. You get back to Command Mode by pressing Esc.</p><p>Last Line Mode: For saving, quitting, and serious commands. From Command Mode, press : and you will see a colon appear at the bottom. That&#39;s it.</p><p>Think of it like this: Command Mode to move, Insert Mode to write, Last Line Mode to finish.</p><p>To open or create a file:</p><pre>vi filename.txt</pre><h3>2. Navigation: Keep Your Hands on Home Row</h3><p>Yes, arrow keys work in vim. But the classic keys are faster once you learn them.</p><p>Basic movement:</p><ul><li>h — move left</li><li>j — move down</li><li>k — move up</li><li>l — move right</li></ul><p>Smarter movement:</p><ul><li>0 — jump to beginning of line</li><li>$ — jump to end of line</li><li>w — jump to start of next word</li><li>b — jump back to start of previous word</li><li>e — jump to end of next word</li></ul><p>Jumping around the file:</p><ul><li>:1 — go to first line</li><li>G — go to last line</li><li>:42 — go to line 42</li><li>:set nu — show line numbers</li></ul><h3>3. Searching and Replacing</h3><p>Need to find that one config line in a 500 line file?</p><pre>/searchterm   # search forward for searchtermn             # repeat search forwardN             # repeat search backward<br>:%s/old/new/g # replace all &#39;old&#39; with &#39;new&#39; in entire file</pre><h3>4. Entering Text The Right Way</h3><p>Don’t just press i for everything. These will save you hours:</p><ul><li>i — insert before cursor</li><li>I — insert at beginning of line</li><li>a — append after cursor</li><li>A — append at end of line</li><li>o — open a new line <em>below</em> and start typing</li><li>O — open a new line <em>above</em> and start typing</li></ul><h3>5. Editing, Deleting and Copying</h3><p>Vi’s language is incredibly efficient.</p><ul><li>x — delete character under cursor</li><li>dw — delete a word</li><li>dd — cut the entire line</li><li>5dd — cut 5 lines</li><li>yy — copy (yank) the line</li><li>3yy — copy 3 lines</li><li>p — paste after cursor</li><li>P — paste before cursor</li><li>u — undo</li></ul><p>Pro tip: dd + p is how you quickly move a line.</p><h3>6. How to Save and Actually Exit</h3><p>Press Esc first to make sure you are back in Command Mode. Then:</p><ul><li>:w — save</li><li>:wq — save and quit</li><li>:q! — quit without saving (the panic button)</li><li>ZZ — save and quit, no colon needed</li></ul><h3>Your Cheat Sheet to Bookmark</h3><pre>Navigation: h j k l  0 $ w b G<br>Insert:     i I a A o O + Esc to exit<br>Edit:       x dw dd yy p u<br>Search:     /term n N :%s/old/new/g<br>Save/Quit:  :w :wq :q! ZZ</pre><p>Mastering vi is a rite of passage. Its modal nature feels weird for a day, and then it feels like superpowers. You stop reaching for the mouse and start flying through config files.</p><p>Practice it for 15 minutes on a test file. That muscle memory will pay you back every time you log into a server for the next 20 years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47f9cb47bb54" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>