<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vimrc on Cheat Sheet</title><link>/tags/vimrc/</link><description>Recent content in Vimrc on Cheat Sheet</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="/tags/vimrc/index.xml" rel="self" type="application/rss+xml"/><item><title>vimrc</title><link>/dotfiles/vim/vimrc/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>/dotfiles/vim/vimrc/</guid><description>&lt;h1 id="vimrc"&gt;~/.vimrc&lt;a class="anchor" href="#vimrc"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://github.com/Jssim710/dotfiles/blob/main/2-vim/.vimrc"&gt;GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="configuration-details"&gt;Configuration Details&lt;a class="anchor" href="#configuration-details"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="general-settings"&gt;General Settings&lt;a class="anchor" href="#general-settings"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Syntax &amp;amp; Indentation:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;syntax on&lt;/code&gt;: Enables syntax highlighting.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;filetype plugin indent on&lt;/code&gt;: Loads filetype-specific indent files.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;set expandtab&lt;/code&gt;, &lt;code&gt;set shiftwidth=2&lt;/code&gt;, &lt;code&gt;set tabstop=2&lt;/code&gt;: Standardizes indentation to 2 spaces.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UI &amp;amp; Feedback:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;set number&lt;/code&gt;: Displays line numbers for easier navigation.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;set showmatch&lt;/code&gt;: Briefly jumps to the matching bracket when one is inserted.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;set list&lt;/code&gt;: Visualizes tabs and trailing spaces using &lt;code&gt;listchars&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;set scrolloff=5&lt;/code&gt;: Ensures context is always visible around the cursor.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Behavior:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;set nohlsearch&lt;/code&gt;: Prevents persistent highlighting after a search.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;set nobackup&lt;/code&gt;: Disables the creation of backup files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mappings"&gt;Mappings&lt;a class="anchor" href="#mappings"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;nnoremap &amp;lt;C-b&amp;gt; &amp;lt;C-w&amp;gt;&lt;/code&gt;: Maps &lt;code&gt;Ctrl+b&lt;/code&gt; to window commands (&lt;code&gt;Ctrl+w&lt;/code&gt;). This bypasses the browser&amp;rsquo;s default behavior of closing the window when &lt;code&gt;Ctrl+w&lt;/code&gt; is pressed in web-based IDEs like Code-server. This can be commented out if not using a web-based environment.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;map &amp;lt;Space&amp;gt; &amp;lt;Plug&amp;gt;(easymotion-prefix)&lt;/code&gt;: Uses the &lt;code&gt;Space&lt;/code&gt; key as the trigger for EasyMotion.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="plugins"&gt;Plugins&lt;a class="anchor" href="#plugins"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Managed via &lt;strong&gt;vim-plug&lt;/strong&gt;. See &lt;a href="../../dotfiles/vim/plugin/"&gt;Plugin&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>