Chunyou Peng

中文用户的福音:用Emacs的快捷键绑定VS Code,个人感觉比Vim好用

特别喜欢Vim,是Vim让我习惯了没有鼠标的日子,高效而流畅。 无奈作为一个中文用户,有输入拼音的需求。听说Emacs由ctrl键位控制,不需要频繁的切换中英文,中文状态下也可以流畅使用快捷键,于是开始学习Emacs。 刚开始不太习惯,个人感觉没有Vim流畅,不过在习惯之后,也是逐渐熟悉起来,打字也更加流畅,特别是在中文环境下。 除了有一个不太好的点是,Emacs配置不好弄,我会一点lisp,但是还是很难去搞配置。而且里面的插件都很老了,不太好用。相比之下,VS Code插件就丰富多了。特别是我最喜欢的ssh插件,这里推荐一下VSCode的ssh插件,连上之后基本上更本地开发没有什么太大的区别… More »

Repeat Yourself

One of the most repeated pieces of advice throughout my career in software has been “don’t repeat yourself,” also known as the DRY principle.1 For the longest time, I took that at face value, never questioning its validity. That was until I saw actual experts write code: they copy code all the time2… More »