After Trying Persp Mode
August 11, 2018
After last post about trying emacs workspace management, I tried
persp-mode. It comes out that it’s not that simple to implement a workspace auto-switch feature. It’s not just
find-file-hook and advice for
switch-buffer. There are too many commands need to advice and hook (
kill-buffer-hook …). Cause there’s no “buffer-focus-in-hook”. And it’s not easy to build one with
There is one package in melpa that implement per buffer
buffer-focus-out-hook by hacking on
persp-mode also manipulate the
buffer-list. It won’t work out.
Emacs Workspace Management
August 7, 2018
Recently I’m asked to help on a project. The problem is there’re a lot files with same name in different directories and same name with my other project. I’m using
ivy-switch-buffer to switch between opened buffer. And it needs more keystrokes in this project to switch to the desired buffer. So I’m looking for some workspace management approach in emacs to make my finger not that tired after work.
After googling for a little while, I find there are so many ways to manage workspace in emacs.
Org Agenda Bitbar Plugin
November 25, 2017
UPDATE: The agenda plugin has been merged into the official plugin repo. You can now find the plugin here.
Bitbar is a macOS application that can add custom menu bar buttons. I’m recently learning managing projects with org-mode. And we all know that org-agenda is great.
Use Zsh In Emacs
November 9, 2017
I used to use vim with tmux in a terminal emulator. After changed to emacs. It didn’t take much time for me to realize that emacs in GUI works better.
The problem is I still want the old pattern. I tried about three times using my zsh shell in emacs. I’m not here telling those failed attempts. I want to write it down because of a recent discovery.
My Karabiner Elements Configuration
October 29, 2017
UPDATE 2018-09-19 Wed
My config in KE-complex-modifications is outdated. I’m now using GokuRakuJoudo to config karabiner. It enables user to write the configuration in a much more compact karabiner.edn file, you can check out mine. I’ll write a post about it soon. If your karabiner.json is bloated, you may want to try it. Recommend to check the tutorial first.