Switch Buffer In Emacs
September 26, 2018
emacs
Recently there’s a new post on r/emacs discussing about switching buffer in emacs. As I posted before, I have that kind of problem as well. It’s just most of us use ibuffer
, helm
or ivy
and we use them for a long time. Yet we still interest in these discussions. Cause maybe all of us want it to be faster or more convenient.
For me, I use counsel-projectile-switch-to-buffer
and ivy-switch-buffer
to switch buffer in current project or global. And I have two functions to switch between the two and three most recent buffer.
Record Org-Mode Recent Activity
September 17, 2018
org-mode
emacs
So I checked the notion tool recently. It’s pretty good if everyone around use it. But as an emacs user, I still prefer org-mode.
It’s just there’s one functionality I never thought about when I was using org-mode, the ability to record your activity. Like when you reschedule something or change the state of tasks.
After Trying Persp Mode
August 11, 2018
emacs
workspace
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 (select-window
, kill-buffer-hook
…). Cause there’s no “buffer-focus-in-hook”. And it’s not easy to build one with persp-mode
.
There is one package in melpa that implement per buffer buffer-focus-in-hook
and buffer-focus-out-hook
by hacking on buffer-list-update-hook
. But persp-mode
also manipulate the buffer-list
. It won’t work out.
Emacs Workspace Management
August 7, 2018
emacs
workspace
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
agenda
org-mode
emacs
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.