<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vim on Semonan Book</title><link>https://semonan.com/en/tags/vim/</link><description>Recent content in Vim on Semonan Book</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 11 Jul 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://semonan.com/en/tags/vim/rss.xml" rel="self" type="application/rss+xml"/><item><title>Macos vi editor color scheme</title><link>https://semonan.com/en/book/os/macos/vi-editor-color-scheme/</link><pubDate>Thu, 11 Jul 2024 00:00:00 +0000</pubDate><guid>https://semonan.com/en/book/os/macos/vi-editor-color-scheme/</guid><description>&lt;h1 id="applying-colors-to-the-vi-editor-on-mac-os"&gt;Applying Colors to the VI Editor on Mac OS&lt;a class="anchor" href="#applying-colors-to-the-vi-editor-on-mac-os"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="problem"&gt;Problem&lt;a class="anchor" href="#problem"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;On Mac OS, the default color scheme for vim is not configured, so readability is poor as shown below.&lt;/p&gt;
&lt;img src="https://semonan.com/images/book/os/macos/vi-editor-color-scheme/vimcolor1.png" alt="" width="350"&gt;
&lt;p&gt;Let&amp;rsquo;s configure a vim color scheme to improve readability as shown below.&lt;/p&gt;
&lt;img src="https://semonan.com/images/book/os/macos/vi-editor-color-scheme/vimcolor2.png" alt="" width="350"&gt;
&lt;h2 id="how-to-configure"&gt;How to Configure&lt;a class="anchor" href="#how-to-configure"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Create a &lt;code&gt;.vimrc&lt;/code&gt; file as follows.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-shellscript" data-lang="shellscript"&gt;% cd ~/
% mkdir .vim
% cd .vim
% git clone https://github.com/rafi/awesome-vim-colorschemes
% cd awesome-vim-colorschemes
% mv colors ../
% cd ~/
% vim .vimrc&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Add the following content to the &lt;code&gt;.vimrc&lt;/code&gt; file.&lt;/p&gt;</description></item></channel></rss>