<?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 魔都水滴</title>
    <link>https://blog.margrop.net/tag/vim/</link>
    <description>Recent content in Vim on 魔都水滴</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 15 May 2021 16:27:00 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/tag/vim/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Vim打开文件中文乱码</title>
      <link>https://blog.margrop.net/post/vim-open-files-messy-code-solution/</link>
      <pubDate>Sat, 15 May 2021 16:27:00 +0800</pubDate>
      <guid>https://blog.margrop.net/post/vim-open-files-messy-code-solution/</guid>
      <description>&lt;h1 id=&#34;解决办法&#34;&gt;解决办法&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;编辑 ~/.vimrc 文件（没有则手动创建） 添加如下几行&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;set fileencodings&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;utf-8,ucs-bom,gb18030,gbk,gb2312,cp936&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;set termencoding&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;utf-8&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;set encoding&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;utf-8&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
