Markdown 生成 HTML 时汉字之间多出空格的问题
在过去很长一段时间,我都在使用 Sublime Text 来编辑 Markdown 文件,Sublime Text有一个非常实用的功能,可以设定 wrap_width 和 word_wrap 选项,自动在设定的 80个字符长度处 softwrap 文本。所以即使一个段落写成一行,编辑起来或者看起来都不违和。
| ★ wanayoo — archive 1999 https://jdhao.github.io/ | Nouvelle recherche | Portail wanayoo |
在过去很长一段时间,我都在使用 Sublime Text 来编辑 Markdown 文件,Sublime Text有一个非常实用的功能,可以设定 wrap_width 和 word_wrap 选项,自动在设定的 80个字符长度处 softwrap 文本。所以即使一个段落写成一行,编辑起来或者看起来都不违和。
五一假期入手了小米9,在安 装谷歌 play 商店以及启用过程中遇到了一些问题,特此记录解决方法。

Many normal mode commands accept a count, which means to repeat the motion
count times. For example, 3j moves the cursor 3 lines below the current
line and 4w will move the cursor four words forward. Usually, the
user-defined mappings can not take a count. Even if they can, they will most
probably not work the way you expect them to. In this post, I will describe
what I have learned to make a fairly complex mapping repeatable with a count.
In this post, I want to talk about how to enable built-in spell check in Nvim.
Some words are hard to type, it is handy if Neovim can provide auto-completion for the words we are typing. We can achieve word completion in Neovim in two ways.
I have been using Vim-airline for a while to customize my statusline. We can change the theme used for statusline with the many themes available in vim-airline-themes. Not all these themes looks good since it depends on the background color you use for Neovim and certainly your aesthetics.
I only use a handful of themes myself and I change my themes when I feel bored with one theme. It occurs to me that I can write a simple script to randomly pick a theme from my favorite list1. It turns out writing such a script is not easy for Neovim newbies like me.
In this post, I would like to share how I end up achieving what I want by mixing Vim script and Python script.
This is the series 2 of the nifty Nvim techniques.
If you have used Sublime Text before, you may be familiar with the snippet function. Snippets let you input a trigger word and expand the trigger to some boilerplate code or string you do not want to repeat each time. You will increase your efficiency dramatically with the help of snippets.
本文简单总结 Mac 上罗技 M590 鼠标的设置。
In this post, I summarize some nifty little techniques which make my experience of editing in Nvim smoother.
Previously, I have written a post about how to write and compile LaTeX source code in Sublime Text. Now that I am familiar with Neovim and I want to do everything related to text editting in Neovim. In this post, I would like to share how to configure Neovim for LaTeX editting and previewing.
In image processing, alpha channel is usually used to control the transparency of an image. In itself, the alpha channel is just a gray level image1. In this post, I want to talk about how to add an alpha channel to RGB image and show it using the Pillow package.

A cheat sheet about regex in Sublime Text.
In computer vision tasks, we need to crop a rotated rectangle from the original image sometimes, for example, to crop a rotated text box. In this post, I would like to introduce how to do this in OpenCV.
In my previous post, I have introduced how to build Zsh from source and install oh-my-zsh to enhance your terminal experience. In this post, I’d like to introduce how to manage plugins with zplug and a few more plugins to boost your productivity.

之前一直听说过 Rime 这个神级输入法的大名,却一直迟迟没有试 用,一方面现在有的各种输入法用着可以,另外,对于 Rime 没有 GUI 界面的配置感觉发 怵。之前一直使用的是 QQ 输入法,最近一次升级,却造成 Chrome 浏览器频频崩溃 ,是可忍孰不可忍,真好是时候卸载 QQ 输入法,试 试 Rime 了。关于 Rime 的配置,网上能够找到的资料实在是过于丰富,为了使文章不过 于冗长,一些简单的设置我将不再重复。
With the help of Windows Subsystem for Linux (WSL, for short)1, we can use the nearly full Linux environment on Windows system. In this post, I would like to share how to display images inside Ubuntu on Windows, which is one of the popular distrubtions.
If you work with terminals extensively, you may be tired of typing cd to go
to directories, especially when directory names are very long.
z.lua is such a tool to make your life
easier by jumping to the desired directory smartly.
In this post, I summarize some of the advanced configurations of Cmder.
Nvim-qt is one of the many GUI front end for Neovim and it is packaged with Neovim by default on Windows platform. In this post, I will give a summary on how to solve a few issues with Nvim-qt.