<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vim on The Final Artefact</title><link>https://www.thefinalartefact.xyz/tags/vim/</link><description>Recent content in Vim on The Final Artefact</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Fri, 28 Mar 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.thefinalartefact.xyz/tags/vim/index.xml" rel="self" type="application/rss+xml"/><item><title>Automatically Refreshing NVim plugins</title><link>https://www.thefinalartefact.xyz/post/nvim-autoupdate/</link><pubDate>Fri, 28 Mar 2025 00:00:00 +0000</pubDate><guid>https://www.thefinalartefact.xyz/post/nvim-autoupdate/</guid><description>&lt;p&gt;One of the key benefits of modern editors like NVim, Vim, or Emacs is the rich plugin ecosystem. After years with Vim, I switched to NVim and was immediately impressed by its plugin landscape. The &lt;a href="https://github.com/folke/lazy.nvim"&gt;Lazy&lt;/a&gt; plugin manager—available for NVim &amp;gt; 0.8—quickly became my favourite. &lt;a href="https://github.com/folke/lazy.nvim"&gt;Lazy&lt;/a&gt; simplifies plugin discovery and management. It offers an intuitive interface and powerful commands that make it easy to add, remove, or update plugins.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.thefinalartefact.xyz/post/nvim-autoupdate/images/lazy_image.png" target="_blank" rel="noopener noreferrer"&gt;
&lt;img alt="Lazy Plugin in Actions" loading="lazy" src="https://www.thefinalartefact.xyz/post/nvim-autoupdate/images/lazy_image.png"&gt;
&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Aggressively formatting your Python files</title><link>https://www.thefinalartefact.xyz/post/aggressively-formatting-your-python-files/</link><pubDate>Sat, 30 Sep 2023 00:00:00 +0000</pubDate><guid>https://www.thefinalartefact.xyz/post/aggressively-formatting-your-python-files/</guid><description>&lt;p&gt;Vim provides a wide range of functions for file formatting, starting with basic features such as &lt;code&gt;reindent&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="viml-implementation"&gt;VimL Implementation&lt;/h2&gt;
&lt;p&gt;Creating a function within Vim to process the file is likely the most straightforward approach. The primary purpose of this function is to pass the filename to an external command for formatting. Leveraging the rich ecosystem of Python formatting tools available from the command line allows the function to efficiently and consistently format files, tapping into powerful, pre-existing solutions for code aesthetics and standardization. In effect, the role of the function is to pass the filename to the call below:&lt;/p&gt;</description></item></channel></rss>