<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dotfiles on Cheat Sheet</title><link>/tags/dotfiles/</link><description>Recent content in Dotfiles on Cheat Sheet</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="/tags/dotfiles/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><item><title>lf</title><link>/dotfiles/lf/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>/dotfiles/lf/</guid><description>&lt;h1 id="lf"&gt;&lt;a href="https://github.com/gokcehan/lf"&gt;&lt;code&gt;lf&lt;/code&gt;&lt;/a&gt;&lt;a class="anchor" href="#lf"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="installation"&gt;Installation&lt;a class="anchor" href="#installation"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/gokcehan/lf#installation"&gt;https://github.com/gokcehan/lf#installation&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="vim-compatible-interface"&gt;Vim-compatible Interface&lt;a class="anchor" href="#vim-compatible-interface"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;lf&lt;/code&gt; provides a Vim-like navigation experience by default:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Navigation:&lt;/strong&gt; &lt;code&gt;h&lt;/code&gt;, &lt;code&gt;j&lt;/code&gt;, &lt;code&gt;k&lt;/code&gt;, &lt;code&gt;l&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scrolling:&lt;/strong&gt; &lt;code&gt;gg&lt;/code&gt;, &lt;code&gt;G&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Search:&lt;/strong&gt; &lt;code&gt;/&lt;/code&gt;, &lt;code&gt;n&lt;/code&gt;, &lt;code&gt;N&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Selection:&lt;/strong&gt; &lt;code&gt;v&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hidden Files:&lt;/strong&gt; &lt;code&gt;zh&lt;/code&gt; (Toggle)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="shortcuts"&gt;Shortcuts&lt;a class="anchor" href="#shortcuts"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;m&lt;/code&gt;&lt;/strong&gt;: Set a mark (eg. &lt;code&gt;ma&lt;/code&gt; to mark a location as &amp;lsquo;a&amp;rsquo;).
&lt;ul&gt;
&lt;li&gt;Inspired by &lt;a href="../../dotfiles/vim/tips/marks/"&gt;Vim marks&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;'&lt;/code&gt;&lt;/strong&gt;: Move to a mark (eg. &lt;code&gt;'a&lt;/code&gt; to jump to the location marked &amp;lsquo;a&amp;rsquo;).
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;''&lt;/code&gt;&lt;/strong&gt;: Jump to previous location (built-in feature, also inspired by vim marks). Equivalent to &lt;code&gt;cd -&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;&amp;quot;&lt;/code&gt;&lt;/strong&gt;: Remove (Delete) the selected file or directory.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;gh&lt;/code&gt;&lt;/strong&gt;: Go home (cd &lt;code&gt;~&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="shell-integration"&gt;Shell Integration&lt;a class="anchor" href="#shell-integration"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="change-directory-on-exit-lfcd"&gt;Change Directory on Exit (&lt;code&gt;lfcd&lt;/code&gt;)&lt;a class="anchor" href="#change-directory-on-exit-lfcd"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;To make &lt;code&gt;lf&lt;/code&gt; change your shell&amp;rsquo;s current working directory to the last visited directory on exit, add the following to your &lt;code&gt;~/.bashrc&lt;/code&gt;: &lt;a href="https://github.com/Jssim710/dotfiles/blob/main/1-general/.bashrc_dotfiles#L17-L21"&gt;GitHub&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>