notes from /dev/null

by Charles Choi 최민수


24 Sep 2026

Binding the SPC key in Dired and IBuffer

A feature of macOS Finder that I enjoy using is Quick Look, where a preview of a selected file can be displayed by pressing the space bar. While “Quick Look” is not really a thing in Emacs (at least not out of the box), we can quasi-emulate this by taking advantage of commands that can open files in another Emacs window, all the while keeping the current Emacs window selected.

In Dired, I’ve bound SPC to the command dired-display-file.

1
(keymap-set dired-mode-map "SPC" #'dired-display-file)

A similar thing can be done for IBuffer:

1
(keymap-set ibuffer-mode-map "SPC" #'ibuffer-visit-buffer-other-window-noselect)

This configuration is definitely a personal preference thing, so YMMV. That said, I’ve found these bindings to be quite useful, so perhaps you may as well.

emacs

Past Articles

21
SEP
2026

Announcing restlib - a utility library for building Emacs REST clients

restlib is a utility library for building REST clients in Emacs Lisp.

read more
24
AUG
2026

Announcing shazam.el

Announcing an integration between Emacs and the Shazam music recognition service on macOS, shazam.el.

read more
18
AUG
2026

Simplifying Setup for Casual

Casual v3.0 update is now available on MELPA and NonGNU ELPA with a vastly simplified setup process.

read more
3
AUG
2026

Announcing now-playing.el, an Emacs interface for the macOS Music app

Announcing a remote control interface for the macOS Music app from Emacs, keeping in tradition of never leaving it.

read more
22
JUL
2026

Malleable Computing, Emacs, and You

Some musings on malleable computing using as an example a GitHub issues browser in Emacs.

read more
9
JUL
2026

In Emacs, Everything Looks Like a Service

No, Emacs is not an operating system but this post scrutinizes why some might say that.

read more
24
JUN
2026

Scheduling Future Tasks in Emacs

If you miss using at, you can use Emacs run-at-time as a substitute, with caveats. Also described is a way to use run-at-time to post a macOS notification at a future date.

read more
4
JUN
2026

Revisiting Emacs Keyboard Macros with a Mouse

Yes, recording an Emacs keyboard macro with a mouse is a thing.

read more
1
JUN
2026

Opening macOS Finder Folders in Emacs with Scrim

Finder fun with the Scrim custom URL scheme and some musings on software orchestration.

read more

Page 1 / 20   >

 

About • Mastodon • Bluesky • GitHub

Feeds & Tags •
Get Scrim for macOS • Get Captee for macOS

Powered by Pelican