Just a quickie today. Bhaskar Chowdhury has a short video (6 minutes, 54 seconds) that describes 4 vital Emacs shortcuts. Three of them are probably already in your repertoire:
switch-to-buffer
(Ctrl+x b)async-shell-command
(Meta+&)shell-command
(Meta+!)
Most of you probably use those all the time. The last is something I didn’t know about. If you’re an Ivy user, there’s the counsel-switch-buffer
command. Its like switch-to-buffer
except that as you scroll down the list of buffers, the buffer at point is displayed in the current window so you can see its content. That can be handy, especially if you have many buffers open at a time.
The counsel-switch-buffer
command is not bound by default so if you kike it you will either have to find a binding for it or simply steal the Ctrl+x b binding for it. You probably don’t want to use Ctrl+b as Chowdhury does since it’s an important cursor movement chord.