<?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 Amal B Francis on Medium]]></title>
        <description><![CDATA[Stories by Amal B Francis on Medium]]></description>
        <link>https://medium.com/@benjaminfrancis45?source=rss-e144df0f22ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*d7GC0lMhSBLesqZ5.jpg</url>
            <title>Stories by Amal B Francis on Medium</title>
            <link>https://medium.com/@benjaminfrancis45?source=rss-e144df0f22ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:33:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@benjaminfrancis45/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[Check Availability Of A Product]]></title>
            <link>https://medium.com/@benjaminfrancis45/check-availability-of-a-product-975e03a7c494?source=rss-e144df0f22ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/975e03a7c494</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[shopping]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Amal B Francis]]></dc:creator>
            <pubDate>Sat, 13 Dec 2025 13:51:27 GMT</pubDate>
            <atom:updated>2025-12-13T13:51:27.576Z</atom:updated>
            <content:encoded><![CDATA[<p>Being a watch snob I’m always on the lookout for watches that are<br>rarely available on online stores. If you’re looking for a casio<br>f91w which has any trim other than the OG blue trim you’ll know what<br>I’m talking about. I wish they would notify me via mail once they<br>have it back in stock but unfortunately they don’t have that Feature!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*99oNDw_2Wzi1cOg-" /></figure><p>I ended up checking for the watch every single day in the morning, that’s<br>when I remembered! I know how to code.</p><p>Heads up, You’ll need a basic understanding of bash scripting to do this.</p><h3>Use case</h3><p>You don’t have to be a watch snob to benefit from this article no matter what it is that you’re looking for online, you can tweak the script and<br>check if the thing you’re on the look out for is available or not.</p><h3>How to</h3><h4>1. Find your product</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7R6Mmu43qy0qgl48JQYMsQ.png" /></figure><p>Go to your online retailer’s website and navigate to the product page. Open developer options on your browser and navigate to the network tab.</p><h4>2. Find The API</h4><p>Find on the product page a text box to enter pin code with the label check availability. Enter your pin code and hit enter. Now you&#39;ll see an API call being made<br>in the network tab, right click on it and select Copy as cURL from the menu.</p><h4>3. Parse The API response</h4><p>Once you have the API copied, open the terminal app paste it there and hit enter. Once the command finishes running you’ll see the response. Here’s an example from<br><a href="https://casiostore.bhawar.com/">https://casiostore.bhawar.com</a> the official online retailer for Casio in India:</p><pre>{<br>  &quot;success&quot;: false,<br>  &quot;message&quot;: &quot;This product is currently out of stock.&quot;<br>}</pre><p>Depending on what website it is that you’re on the response might look a bit different. Find out how it looks after running the cUrl.</p><h4>4. Let’s Script</h4><p>Once you know how the response looks, create a file named checkAvailability.sh. Now pipe<br>the response of the cUrl command through jq to get the message that you need. In my<br>case the response was &quot;This product is currently out of stock&quot;. It might not be a clear<br>message like this always but there will be something in the response that suggests that<br>your product is unavailable use jq to get it. You can refer to my <a href="https://medium.com/@benjaminfrancis45/jq-basics-85d22ee5f3f0">jq Basics</a> to get this done.</p><p>Now that you have the message check if the message says its unavailable in an if statement and display a notification.</p><p>On macOS you may use the osascript to display notifications and on linux you may use any desktop<br>notification client . <a href="https://wiki.archlinux.org/title/Desktop_notifications">libnotify</a> should be available on most mainstream linux distros. If you’re on windows (god bless your soul), I have no clue what happens there.</p><p>Check out this example script on github: <a href="https://github.com/francisjunr/blogs/blob/main/checkAvailability.sh">https://github.com/francisjunr/blogs/blob/main/checkAvailability.sh</a></p><h4>5. Run The Script As A Cron.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*NtefOjlCoc5cmKSYOaGEiA.png" /></figure><p>To run the script every day you can make use or crontab. Just run the crontab -e command<br>on your terminal and you’ll be sent into an instance of vi with a /tmp/crontab.&lt;someid&gt; file<br>now add this line in the file: 0 9 * * * &lt;/path/to/your/script&gt; (just press &quot;i&quot; and start typing once you’re done save the file by typing &quot;:x&quot; followed by the enter key). if you’re new to vi/vim<br>and would like to learn more, you may check out my <a href="https://medium.com/@benjaminfrancis45/vim-roadmap-from-a-bare-bones-editor-to-your-personal-ide-e2da67de60de">vim blog</a> The line that that we’ve added runs our script every morning at 9 am. You can change this time by<br>changing the &lt;0 9 * * *&gt; part of the line. The first digit corresponds to minute, followed by the hour (1 - 24), then by the day of the month (1 - 31), then the month (1 - 12), and then the day of the<br>week (1 - 7).</p><p>Viola! Now sit back and relax, if your product is back in stock you’ll be notified in the morning itself.</p><p>Liked the blog? Hit that clap button thingy and show me some love.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=975e03a7c494" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI and Software Jobs]]></title>
            <link>https://medium.com/@benjaminfrancis45/ai-and-software-jobs-7ea21f6d68a7?source=rss-e144df0f22ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ea21f6d68a7</guid>
            <category><![CDATA[computer-sceince]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Amal B Francis]]></dc:creator>
            <pubDate>Sat, 19 Jul 2025 14:45:45 GMT</pubDate>
            <atom:updated>2025-07-19T14:53:25.491Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rBdKT2KV66wcSRnxk_RoOA.jpeg" /></figure><p>People seem to be waiting for the inevitable loss of all software engineering<br>jobs or at least a drastic decline in the number of them by a huge margin with the<br>introduction of AI into the engineer’s workflow. It is true to an extent<br>that AI might replace a junior to mid level software engineer and also do their<br>jobs magnitudes faster, but the question is will this result in a ginormous<br>decline in the number of software jobs in the market soon? On the surface<br>it certainly looks to be the case. I’ve been hearing a lot of high profile<br>individuals advising youngsters that learning to code is not worth it anymore,<br>here’s why its really bad advice.</p><h3>Maybe…..</h3><p>We have reason to believe there is another possibility. Since the<br>programming landscape has seen drastic changes in the past decade, as a matter<br>fact, it has been changing ever since it came into existence. From the time Ada<br>wrote the first computer program out of 0s and 1s, to the development of high<br>level languages and frameworks, a lot of changes came about but with it the<br>industry grew bigger as it became easier to build things with these newer,<br>fancier technologies. Instead of firing or getting rid of programmers since its now<br>easier to build things, the industry actually demanded more of them. So much so<br>that the number of developers in the industry doubled every 5 years. We made huge improvements in software that needed both the men and the tools that made it<br>easier for them to build those improvements.</p><h3>AI Help Hooman</h3><p>Even today with all the development in AI and it’s ability to aid the engineer<br>in his quest for greatness, we have reason to believe that the industry is<br>going to demand more. Today’s top 1% software are going to become industry<br>standards, and the top 1% software of tomorrow will have quirks and features<br>that people of today can’t even imagine. And to build those features its going<br>to take a lot of talented individuals who can leverage AI tools to assist them.<br>When I say leverage I do not mean letting AI write all the code, but to make it<br>write things that you understand very well, things that you could’ve written if<br>there were no AI. This will let you understand the mistakes that AI has made and<br>correct them.</p><h3>The AI Generation</h3><p>There is also another possibility. The new generation of software engineers have<br>a great reliance on AI and therefore don’t really understand the fundamentals of<br>programming. Their abilities are limited by the abilities of the LLMs they use,<br>which will increase the demand for people who really know how to code. That<br>right there is even more reason to learn to code.</p><h3>Let Me Conclude</h3><p>Obviously this is all just a possibility and not a certainty and all I’m<br>offering is an alternative point of view and not a prediction. Just wanted to<br>highlight this since no one was talking about this possibility and everyone<br>seems so fixated on the eventual doom that the software engineering industry<br>is about to face. Maybe there will be a drastic decline in workforce needed<br>but there’s also an equal, if not greater chance that the greatest companies will find<br>better ways to employ engineers and AI to get the most out of them and soon<br>enough their competition will need to do the same to keep up.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ea21f6d68a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[jq Basics]]></title>
            <link>https://medium.com/@benjaminfrancis45/jq-basics-85d22ee5f3f0?source=rss-e144df0f22ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/85d22ee5f3f0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Amal B Francis]]></dc:creator>
            <pubDate>Sun, 30 Mar 2025 13:52:51 GMT</pubDate>
            <atom:updated>2025-03-30T13:58:42.696Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>As software engineers, we often have to manipulate json data to make sense of it. Writing scripts in javascript was my go-to option to get something out of huge json files, until I found jq.</p><p>jq is an amazing command line utility that lets you play around with json data.</p><figure><img alt="Image" src="https://cdn-images-1.medium.com/max/574/1*TI3ClsOHmHFXs6KCo7uU1A.png" /></figure><p>In this article you&#39;ll learn the most basic stuff to get started with jq.</p><h3>jq Basic Usage</h3><h4>1. Object Indexing:</h4><p>jq command will format the json object piped to it.</p><p><strong>example 1.0:</strong> echo &#39;{&quot;key1&quot;:{&quot;key2&quot;: &quot;value1&quot;}}&#39; | jq will output:</p><pre>{<br>    key1: {<br>      key2: &quot;value1&quot;<br>    }<br>}</pre><p>You can specify the level within the json object that you need jq to<br>output, which means you can use the attribute name after a period to print<br>output only the value of the that attribute.</p><p><strong>example 1.1:</strong> echo &#39;{&quot;key1&quot;:{&quot;key2&quot;: &quot;value1&quot;}}&#39; | jq &#39;.key1&#39; will output:</p><pre>{<br>    key2: &quot;value1&quot;<br>}</pre><p>using just a period will print out the entire object withing the single<br>quotes after jq.</p><h4>2. Indexing Arrays:</h4><p>You can index arrays using the square brackets and the index of the<br>array item you want to output</p><p><strong>example 2.0:</strong> echo &quot;[1, 2, 3, 4, 5, 6]&quot; | jq &#39;.[3]&#39; will output: 4,<br>which is the item at the fourth index.</p><p>You can print out all the items within an array if you don’t specify the<br>index within the square brackets:</p><p><strong>example 2.1:</strong> echo &quot;[1, 2, 3, 4, 5, 6]&quot; | jq &#39;.[]&#39; will output:</p><pre>  1<br>  2<br>  3<br>  4<br>  5<br>  6</pre><p>If you have an array of objects you can use the empty square brackets<br>followed by a period and the attribute name of the attribute of the<br>array items that you want to output.</p><p><strong>example 2.2:</strong> echo &#39;[{&quot;name&quot;: &quot;name1&quot;},{&quot;name&quot;: &quot;name2&quot;}]&#39; | jq &#39;.[].name&#39; will output:</p><pre>name1<br>name2</pre><p>Negative indexes can be used to index the array backwards</p><p><strong>example 2.1:</strong> echo &quot;[1, 2, 3, 4, 5, 6]&quot; | jq &#39;.[-4]&#39; will output: 3,<br>which is the 4th last item.</p><p>You can print array items between two specified indexes separated by a colon.</p><p><strong>example 2.1:</strong> echo &#39;[1, 2, 3, 4, 5, 6]&#39; | jq &#39;.[1:4]&#39; will output:</p><pre>[<br>    2,<br>    3,<br>    4<br>  ]</pre><h3>3. Array Construction</h3><p>jq can construct arrays from a given input and output them.</p><p><strong>example 3.0:</strong> jq &#39;[1,2]&#39; will output:</p><pre>[<br>    1,<br>    2<br>]</pre><p>You may also use a query that returns the items of your array to<br>construct a new array out of it. For example if you had an array of<br>objects that had a title property in it you can construct an array of just the title attribute of the objects.</p><p><strong>example 3.1:</strong> echo &#39;[ { &quot;title&quot;: &quot;name1&quot; }, { &quot;title&quot;: &quot;name2&quot; }, { &quot;title&quot;: &quot;name3&quot; }, { &quot;title&quot;: &quot;name4&quot; }, { &quot;title&quot;: &quot;name5&quot; }]&#39; | jq &#39;[.[].title]&#39;,<br>will output:</p><pre>[<br>    &quot;name1&quot;,<br>    &quot;name2&quot;,<br>    &quot;name3&quot;,<br>    &quot;name4&quot;,<br>    &quot;name5&quot;<br>]</pre><h3>4. Object Construction</h3><p>You can construct objects just like you would construct arrays using jq.<br>You can wrap queries in curly brackets and add the key under which<br>the query should go and you&#39;ll get an object in the output</p><p><strong>example 4.0:</strong> If example.json contains:</p><pre>[<br>    {<br>        &quot;title&quot;: &quot;name1&quot;,<br>        &quot;number&quot;: &quot;1&quot;,<br>        &quot;designation&quot;: &quot;manager&quot;<br>    },<br>    {<br>        &quot;title&quot;: &quot;name2&quot;,<br>        &quot;number&quot;: &quot;2&quot;,<br>        &quot;designation&quot;: &quot;junior&quot;<br>    },<br>    {<br>        &quot;title&quot;: &quot;name3&quot;,<br>        &quot;number&quot;: &quot;3&quot;,<br>        &quot;designation&quot;: &quot;senior&quot;<br>    },<br>    {<br>        &quot;title&quot;: &quot;name4&quot;,<br>        &quot;number&quot;: &quot;4&quot;,<br>        &quot;designation&quot;: &quot;lead&quot;<br>    },<br>    {<br>        &quot;title&quot;: &quot;name5&quot;,<br>        &quot;number&quot;: &quot;5&quot;,<br>        &quot;designation&quot;: &quot;ceo&quot;<br>    }<br>]</pre><p>then you can run cat example.json | jq &#39;{title: [.[].title]}&#39;,<br>and jq will output:</p><pre>&quot;title&quot;: [<br>    &quot;name1&quot;,<br>    &quot;name2&quot;,<br>    &quot;name3&quot;,<br>    &quot;name4&quot;,<br>    &quot;name5&quot;<br>  ]</pre><h3>5. Sort, Reverse and Length</h3><p><em>sort</em>: You can sort an array input to jq using sort</p><p><strong>example 5.1:</strong>echo &#39;[3, 2, 4, 1]&#39; | jq &#39;sort&#39;, will output:</p><pre>[<br>    1,<br>    2,<br>    3,<br>    4<br>]</pre><p><em>sort_by</em>: You may also sort an array of objects by any given key<br>using sort_by</p><p><strong>example 5.2:</strong> If example.json contains:</p><pre>[<br>      {<br>          &quot;title&quot;: &quot;name1&quot;,<br>          &quot;number&quot;: &quot;1&quot;,<br>          &quot;designation&quot;: &quot;manager&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name2&quot;,<br>          &quot;number&quot;: &quot;2&quot;,<br>          &quot;designation&quot;: &quot;junior&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name3&quot;,<br>          &quot;number&quot;: &quot;3&quot;,<br>          &quot;designation&quot;: &quot;senior&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name4&quot;,<br>          &quot;number&quot;: &quot;4&quot;,<br>          &quot;designation&quot;: &quot;lead&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name5&quot;,<br>          &quot;number&quot;: &quot;5&quot;,<br>          &quot;designation&quot;: &quot;ceo&quot;<br>      }<br>]</pre><p>then you can run cat example.json | jq &#39;sort_by(.designation)&#39;,<br>and jq will output:</p><pre>[<br>    {<br>      &quot;title&quot;: &quot;name5&quot;,<br>      &quot;number&quot;: &quot;5&quot;,<br>      &quot;designation&quot;: &quot;ceo&quot;<br>    },<br>    {<br>      &quot;title&quot;: &quot;name2&quot;,<br>      &quot;number&quot;: &quot;2&quot;,<br>      &quot;designation&quot;: &quot;junior&quot;<br>    },<br>    {<br>      &quot;title&quot;: &quot;name4&quot;,<br>      &quot;number&quot;: &quot;4&quot;,<br>      &quot;designation&quot;: &quot;lead&quot;<br>    },<br>    {<br>      &quot;title&quot;: &quot;name1&quot;,<br>      &quot;number&quot;: &quot;1&quot;,<br>      &quot;designation&quot;: &quot;manager&quot;<br>    },<br>    {<br>      &quot;title&quot;: &quot;name3&quot;,<br>      &quot;number&quot;: &quot;3&quot;,<br>      &quot;designation&quot;: &quot;senior&quot;<br>    }<br>]</pre><p><em>reverse:</em> You can reverse an array using reverse</p><p><strong>example 5.3:</strong> echo &#39;[1, 2, 3, 4, 5]&#39; | jq &#39;reverse&#39; will output:</p><pre>[<br>    5,<br>    4,<br>    3,<br>    2,<br>    1<br>]</pre><p><em>length:</em> You can find the length of an input array using length</p><p><strong>example 5.4:</strong> echo &#39;[1, 2, 3, 4, 5]&#39; | jq &#39;length&#39; will output: 5</p><p>You can pipe the output of a jq selector to another jq selector<br>to get the desired output.</p><p><strong>example 5.5:</strong> If example.json contains:</p><pre>[<br>      {<br>          &quot;title&quot;: &quot;name1&quot;,<br>          &quot;number&quot;: &quot;1&quot;,<br>          &quot;designation&quot;: &quot;manager&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name2&quot;,<br>          &quot;number&quot;: &quot;2&quot;,<br>          &quot;designation&quot;: &quot;junior&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name3&quot;,<br>          &quot;number&quot;: &quot;3&quot;,<br>          &quot;designation&quot;: &quot;senior&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name4&quot;,<br>          &quot;number&quot;: &quot;4&quot;,<br>          &quot;designation&quot;: &quot;lead&quot;<br>      },<br>      {<br>          &quot;title&quot;: &quot;name5&quot;,<br>          &quot;number&quot;: &quot;5&quot;,<br>          &quot;designation&quot;: &quot;ceo&quot;<br>      }<br>]</pre><p>then you can run: cat example.json | jq &#39;[.[].designation] | sort&#39;,<br>and jq will output:</p><pre>[<br>    &quot;ceo&quot;,<br>    &quot;junior&quot;,<br>    &quot;lead&quot;,<br>    &quot;manager&quot;,<br>    &quot;senior&quot;<br>]</pre><h3>What next?</h3><p>No matter how hard you study anything, until you put it to use, you haven’t really studied anything. So once you’re done with the basics listed above, try to use jq to get that json formatted to your liking instead of resorting to a script in your favourite language or online json editor websites.</p><p>If you’ve found this useful share it with your nerd friends who might find it useful as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85d22ee5f3f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vim Roadmap: From a bare bones editor to your personal IDE]]></title>
            <link>https://medium.com/@benjaminfrancis45/vim-roadmap-from-a-bare-bones-editor-to-your-personal-ide-e2da67de60de?source=rss-e144df0f22ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2da67de60de</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[ide]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[text-editor]]></category>
            <dc:creator><![CDATA[Amal B Francis]]></dc:creator>
            <pubDate>Thu, 16 May 2024 13:37:13 GMT</pubDate>
            <atom:updated>2024-05-16T13:37:13.134Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a lot of debate over IDEs on the internet. But no matter what IDE you prefer, it’s only good to experiment with a new one. This blog is for anyone who wants to experiment with Vim and don’t know how to get started. Expect concise, engaging tips to kickstart your Vim adventure without being overwhelmed.</p><h3>Why Vim ?</h3><p>In world of new, flashy, feature rich text editors and IDEs, why would someone ever even consider a bare bones text editor from the ‘80s?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*up71FGBatDZon89ucywgfA.jpeg" /></figure><p>Surprisingly, despite its age, Vim boasts remarkable speed and resource efficiency. You could run 100 Vim instances across 100 different tmux sessions, and your CPU and RAM wouldn’t even flinch — no exaggeration.</p><p>You may have heard that Vim boosts productivity, and it’s true, but there’s a catch: it requires practice. When you first start, your productivity might take a nosedive before soaring. Unlike other editors, Vim has no limits to enhancing your workflow. The more you learn, the smoother things become.</p><p>Also, configuring Vim is an invaluable way to comprehend your IDE. Out of the box, it offers nothing; everything must be set up using code. This process provides insights into syntax trees, Language Server Protocols (LSPs), and more. As a Vim user, you practically reside in the terminal, which helps hone your skills with command line utilities.</p><h4>The keyboard mindset</h4><p>Vim as a software is pretty awesome, but the highlight of Vim has always been its key bindings. Even before getting my first computer I had decided to learn keyboard shortcuts so that I can move in and out of my system as fast as possible and look like a badass doing it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*O8VJ0cxIfZxzC_nmWsmWSw.gif" /></figure><p>I use a keyboard shortcut for almost everything that I use frequently, but whenever I discuss shortcuts with people, the immediate response I get is “Why bother memorising countless shortcuts when a few mouse clicks can get it done?” Well you can click stuff with your mouse but then you wouldn’t get the satisfaction of getting something you want thrown at your face at the very instance you think of it. Moreover, memorising shortcuts is far simpler than many anticipate. They are designed for ease of recall, this holds true for Vim bindings as well.</p><h3>Step — 1: Learn The Bindings</h3><p>Exploring Vim’s bindings is quite intriguing. Initially, the sheer number of bindings may seem overwhelming, but fret not — mastering the basic Vim bindings typically takes no longer than a week or two. To get started open your mac or linux terminal and run the vimtutor command, ( you might have to install Vim and do some fidgeting around before you can run this command if you&#39;re on windows ) you&#39;ll be greeted with this screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*p2YIq-yaalNf03NE6ITj6g.png" /></figure><p>Here you will learn more than enough keybindings to get started with Vim. Throughout the document it gives you tiny little things to work on as you read through it. While you are at it, try learning how to touch type since that’s how the keyboard was intended to be used and you will learn to type without staring at the keyboard in no time. If you are an absolute beginner <a href="https://www.typing.com/">typing.com</a> is your best bet, it can help you learn finger placement through a few games. Once you are fairly advanced you can continue practicing on <a href="https://monkeytype.com/">monkeytype</a>. When you’re done with vimtutor, integrate Vim mode into your current IDE and use it till you get the hang of it. Nearly all IDEs offer a Vim mode or an extension that enable it. Initially it will feel like everything is twice the effort, but if you trust the process and grind on, you’ll thank yourself later. If you’ve successfully completed step one, Congratulations! You’re now a vimmer.</p><h3>Step — 2: Install Nvim</h3><p>Most Linux distributions and macOS come with Vim preinstalled, but we’ll be focusing on configuring NeoVim (nvim), a fork of Vim. Just as Vim is an enhanced version of Vi, nvim takes Vim a step further. Nowadays most vimmers use nvim since configuring Vim in vimscript is a nightmare and nvim has a lot of good to have features out of the box and better plugin support. To install nvim you can either build it from the source or install it using your default package manager. I recommend building from source. To build from source on macOS run these commands in sequence:</p><ol><li>brew install ninja cmake gettext curl</li><li>git clone <a href="https://github.com/neovim/neovim">https://github.com/neovim/neovim</a></li><li>cd neovim &amp;&amp; make CMAKE_BUILD_TYPE=RelWithDebInfo</li><li>If you want the stable release, also run: git checkout stable</li><li>sudo make install</li></ol><p>If you use a different OS or need further help with the install, you can refer this <a href="https://github.com/neovim/neovim/blob/master/BUILD.md">documentation</a>.</p><h3>Step — 3: Set Up Vim</h3><p>Configuring Vim is not as easy as configuring most editors, but when you’re starting out, you don’t really have to, instead you can use an existing nvim distribution, better still, you can use <a href="https://github.com/nvim-lua/kickstart.nvim">kickstart.nvim </a>. It is a Vim configuration with the bare minimum things to get you started without needing to know all the nitty-gritty details. Everything you need to know about the kickstart.nvim configuration is in the comments of the lua configuration files, and if you need more explanation TJ DeVries, the man himself has a <a href="https://youtu.be/stqUbv-5u2s?feature=shared">youtube video</a> going through kickstart.nvim.</p><h3>Step — 4: Make It Yours</h3><p>Now that you have your basic Vim set up, it’s time to configure it to suit your workflow and the tech stack you use. For reference, you can take a look at my <a href="https://github.com/francisjunr/dotfiles/tree/main/.config/nvim">nvim configuration</a>, which is set up for Node.js development.</p><p>There are hundreds of videos showcasing people’s nvim configurations on YouTube. Here are a few recommendations:</p><ul><li><a href="https://youtu.be/m8C0Cq9Uv9o?feature=shared">The Only Video You Need to Get Started with Neovim by TJ DeVries</a></li><li><a href="https://youtu.be/ctH-a-1eUME?feature=shared">Neovim IDE from Scratch — Introduction (100% lua config)</a></li><li><a href="https://youtu.be/V070Zmvx9AM?feature=shared">Effective NeoVim Setup for Full-Stack Web Development in 2024</a></li></ul><p>Feel free to explore these resources to enhance your Vim setup according to your preferences and requirements.</p><h3>Step — 5: Get trolled</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*u1o6TvrwYitRZ3OPTCWaLw.png" /></figure><p>Lets face it, no matter how great you feel using Vim, everyone around you will troll you for using a text editor that takes days to configure and years to master. Instead of arguing how productive Vim makes you, just say “Give it a shot, might surprise you”.</p><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*b-DC8f2GF3gEUXeMNztvIQ.jpeg" /></figure><p>With everything said, I do believe that Vim is not for everyone. If you hate the experience, you can always go back to using your favourite IDE. Consider this a side project and do it for the sake of fun.</p><p>If you’ve read this far, don’t forget to leave a feedback in the comments :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2da67de60de" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>