折腾了一把 vscode + markdown 后,还是回到了 Emacs + orgmode 的老路。可谓“积习难改”。
Emacs with git 🔗
我的 orgmode 文档通过远程 git 仓库同步。Windows 下面我装了一个GitHub for Windows1,然后把 Emacs 的启动方式改成用 Git Shell 启动即可。方法是在 GitHub for Windows 的安装路径下复制一份shell.ps1,改为 emacs.ps1 然后在里面加载完环境变量的代码路径后,加上 start path\to\your\runemacs.exe。然后桌面新建一个快捷方式:
powershell.exe -windowstyle hidden -executionpolicy bypass -File emacs.ps1
执念 🔗
大家都知道 Unix 最著名的一句设计理念:Do one thing and do it well. 但不是所有的古老的 Unix 下能跑的程序都追随了这个理念。比如:Emacs.
-
有人讽刺说:
"Emacs was designed with the fear that some day the OS won't be there."2 -
Vim用户也一直嘲笑Emacs是"A great operating system, lacking only a decent editor."
对于第一条讽刺,我看见了一条反驳:
(replace-regexp-in-string "fear" "hope")
曾经最美好的一段时间,我用 Emacs 处理新闻组、电子邮件、Twitter 以及gtalk 在内的各种网络聊天(通过 bitlbee)。
Vim 🔗
从 RedHat 7.1/7.2 的年代开始接触 Linux,至今十几年了。vim 和emacs 是我的两个心头好。在编辑体验方面,这两者无可替代。
-
GitHub desktop, https://desktop.github.com/ ↩︎
-
Emacs standing alone on a Linux Kernel, https://news.ycombinator.com/item?id=8325308 ↩︎