In this post, I give a summary about how to solve a few issues with Nvim-qt.

In this post, I want to share how to manage tmux plugins with Tmux plugin manager (i.e., tpm) and also mention a few useful plugins.

In this post, I would like to share line number settings in Neovim to move the cursor more efficiently.

2018 年对于我来说，是变化很大的一年，我很高兴自己能够下定决心做一些决定。 这一年读书的数量并不多，因为有几部比较大部头，读完花费了相当多的时间。年初寒假的时候， 买了最新款的 Kindle Oasis2，替换了几年前买的 Kindle Paper White1。最值得高兴的事情是现在可以完全无压力阅读英文原版书籍，没有阅读的障碍。

Every programmer knows newline character, but maybe not so familiar. In this post, I want to write what I have learned about newline handling in various cases.

In this post, I want to write about two issues related to the ImageFont module in the PIL package.

GoldenDict 是一款开源字典应用，功能强大，支持多种字典格式，同时也支持网络资源。 [欧路词典]() 是一款国产的查词软件，产品做得也很不错，同样支持多种字典格式。本文介绍 GoldenDict 以及欧路词典的配置, 以及如何在 Listary 中调用它们实现查词功能。

If you are using Python 3 on Windows, you may have seen a Unicode decoding error when opening files in UTF-8 format:

UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xaf in position 5: illegal multibyte sequence

If you read the same file on Linux or MacOS, you will find that this file can be opened without any error. Why is there a difference? It has something to do with the default encoding Python chooses to use on different platforms.

Today when I use :checkhealth to check if there are anything wrong with my Neovim and related packages. I got an info that Python neovim package is not up to date. So I tried to update neovim with pip install --upgrade neovim. This is the start of a disaster which wastes me several hours.

On Windows system, if you install Python3 via Anaconda. Under Anaconda root, there is directory named Scripts, in which pip.exe, pip3.exe and pip3.6.exe all exist. When we want to install a package, a natural question arises, is there any difference if I use pip install PACKAGE or pip3 install PACKAGE?

Today when I try to move a file using shutil.move() on my Windows machine, I encounter an error message:

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process

In this post, I will write about what I have learned from this error.

In this post, I will write about how to install and configure Neovim on Windows 101.

On Linux system, if we do not have root priviledge, we can not use package managers to install a package to its default location (usually under /usr). Besides, the packages installed by the package managers are often too old to have the latest features. Or, even if we have root priviledge, we do not want to mess up with the system-wide packages and just want to experiment with a package locally. On these ocassions, we may want to install the package to a custom location.