A small tip when using vim macros
2021-03-08
Show the tip first: …
在 Linux 中查看字体名称
2021-03-04
在 Linux 环境下,一些应用程序的字体是需要通过配置文件来进行配置的,我们就需要知道字体的确切名字。通过 fc-list 命令可以查看所有安装的字体信息,比如,下面…
Arch Linux list installed packages by date
2021-01-31
This is a simple tip to determine all installed packages by date. You can search for some approach using pacman with some bash script. But we can also use pacman log to achieve it. Pacman log is located in /var/log/pacman.log and it records all events related to pacman. And grep will help us to find what we want in massive logs. Use the following command: grep installed /var/log/pacman.log If you like to use ripgrep, replace grep with rg.…
Archlinux 安装记录
2021-01-14
用了很长一段时间的 Windows + WSL2,最终我还是回到了 Linux。之前一直用的是 openSUSE,真真是坚如磐石,包括后来换成 Tumbleweed 源,体验一把滚动发…
使用反向代理加速 Ubuntu PPA
2021-01-10
Ubuntu 的 PPA(Personal Package Archives)可以下载其他用户上传的编译好的软件,很便捷地解决一些软件版本落后、自己不想编译等等的问题(这…
[Vim Tips]Jump to link in Vim's help
2021-01-05
When I use Vim's help, I usually forget how to jump to the links. So I write the tips down to keep mind in them. The links in Vim’ help is not really links, they are tags. Following shortcut will simplely jump into tags and jump back. Follow the link(jump to the link) Ctrl-] Jump back previous location Ctrl-t or Ctrl-o Also you can jump to a specific subjects(tags) by using :ta {subjects}” instead of Ctrl-].…
2020,文字长存
2021-01-01
2020 给我们留下了不平凡的记忆。不平凡在何处?很多人都能给出自己的答案。大到新冠肺炎疫情,小到生活中随之而来的方方面面的变化,工作、感情乃至健康…