2026-02-28
flying a saucer
Operating Emacs at/approaching its actual potential.
I have read somewhere before that, operating Emacs is akin to flying a spaceship that, if you attempt to fly it like an airplane, not only will you crash when you fail — you won't be effective when you succeed.
I don't care to find the source of the quote — I feel that statements like this renders Emacs quite unapproachable in the minds of new users.
Wouldn't you like to be cool, too?
I would like to impart the ways that I use Emacs, and when I use Emacs; so that, you can decide to use Emacs yourself, or improve your existing workflow. Or have a tangible vocabulary to disapprove of mine.
I would like for you to be cool.
Why should I learn Emacs?
You shouldn't.
If you're looking to get something of immediate value from this article, I have this for you instead.
And if you get a little bit out of this article and don't intend to program full-time in the terminal, check out VSCodium as an alternative to VS Code.
Terminal emulators and shells like Bash utilize Emacs-like keybindings, by default; that means, you will be more effective in the terminal by learning the following keybindings, by default.
Essential Emacs Keybindings in Terminal
These are the standard GNU readline defaults used in Bash, Zsh, and similar shells for line editing.
These keybindings are designed such that you can operate Emacs in the terminal entirely by use of the keyboard — no mouse.
So from a standard Bash terminal — let us begin.
The basics of the basics: you can move left and right using the Left Arrow key and the Right Arrow key, respectively. You know this already.
But that's not the only way — behold!
These ARE your grandfather's cursor movements:
Ctrl+F: Move forward one character.Ctrl+B: Move backward one character.Ctrl+A: Move to beginning of line (like the Home key).Ctrl+E: Move to end of line (like the End key).
There you go. That will take your cursor very far, due to all the movement.
Going even grand-farther:
Alt+ForMeta+F: Move forward one word.Alt+BorMeta+B: Move backward one word.
Now that we're at the place we need to be, let's do the work that needs to be done.
You may have messed up before. That's okay, I've been there. I hit the Backspace key. All better.
But what if you messed down after? I mean, what if you need to delete the character in front? It hit the Delete key.
But what if you must take more drastic measures? It's a dog eat dog world after all.
Canis Canim Editing:
Ctrl+D: Delete character under cursor.Alt+DorMeta+D: Delete word forward from cursor.Ctrl+H: Delete character backward (same as Backspace).Alt+BackspaceorMeta+Backspace: Delete word backward.Ctrl+K: Kill (delete) from cursor to end of line.Ctrl+U: Kill from start of line to cursor.Alt+0 + Ctrl+UorMeta+0 Ctrl+U: Kill entire line.Ctrl+W: Kill word backward from cursor.Ctrl+Y: Yank (paste) last killed text.Alt+Y: Yank next item from kill ring (cycle backward).
Now onto more advanced topics, like history traversal. It is like time travel — but for the terminal, not for you.
Typically this is done using the arrow keys. But they are all the way over there, and we're all the way over here. Emacs is designed to keep your fingers on the home row, and make you the target customer of a 40% keyboard.
History:
Ctrl+Por Up Arrow: Previous command in history.Ctrl+Nor Down Arrow: Next command in history.
Neat. Now
Search:
Ctrl+R: Reverse search history (backward incremental search).Ctrl+S: Forward search history (forward incremental search).Ctrl+G: Cancel search or incremental command.
Other Common Operations
Ctrl+L: Clear screen and redraw line at top.Ctrl+C: Interrupt (cancel current input).Ctrl+Z: Suspend process (send SIGTSTP).
Why Emacs
Right — this article was supposed to be about Emacs, and instead, this article so far has been about Emacs-like keybindings.
How does it feel to know how to fly a saucer? Yes, now you do. Using the 80-20 principle.
Using these keybindings, you can now navigate Emacs AND the terminal — more effectively and confidently.
Emacs is not only designed to keep your fingers on the home row, it is designed to keep you in Emacs. Like a casino in Vegas, there's no clock in Emacs. Well, there is, but we don't need time in a flow state.
BUILDING IDEAS HERE
Dired is the built-in directory editor of Emacs.
-> C-x C-f
You can even run a shell right in Emacs
macros via C+x C+( and so on
PERPLEX
Excellent — given your setup, we’ll continue straight from where you left off, maintaining the same tone: wry, confident, succinct, and rhythmic, focused on moving fast and working faster.
Core Feature Ideas
Here look, this is how you exit Emacs:
C-x C-c: Close Emacs.
I promise I won't lose you to the void. Now with that anxiety out of the way, open Emacs in a terminal like Bash:
emacs -nw . Where:
-nware flag arguments that say, "no new window"; such that, Emacs opens in the terminal.opens Emacs here, in this directory.
Let’s start with the two secret handshakes of Emacs: C-x (Control + X) and M-x (Meta + X).
C-x is how you command Emacs to act:
C-x C-f: Find or open a file (type a path, hit Enter).C-x C-s: Save the current buffer. Spam this needlessly, of course.C-x C-c: Close Emacs.C-x 2: Split window horizontally;C-x 3: vertically.C-x 1: Make this the only window (collapse everything else).
Now for M-x. Think of M-x as talking to Emacs in full sentences.
After pressing it (Alt+X or Esc then X), type the command you want — shell, compile, replace-string, org-agenda — and Emacs will run it.
If C-x is your cockpit, M-x is your command radio.
Files, terminals, shells — all live as buffers. Every file you open becomes a buffer. Every terminal, emails, scratchpad — same. Switch between them with C-x b. Kill (close) a buffer with C-x k.
Windows are just views of these buffers — nothing lost, only rearranged.
And the more you use it, the more Emacs fades away. Everything becomes muscle memory. You no longer think “open,” “save,” or “run shell.” You just do it.
Context and Meta Ideas
Now, about the mythical Meta key.
On Linux, it’s usually Alt. On macOS, it’s Option. On Windows, sometimes Alt, sometimes Esc as a prefix. Once you realize this, you’ve solved half the puzzle of every Emacs tutorial on the web.
That’s why Emacs notation looks like a crossword clue:
C-xmeans to hold theCtrlkey, then pressXkey on the keyboard.M-xmeans to hold Meta, then press theXkey.
Everything else builds from there.
From directory editing (C-x C-f into a folder opens Dired)
to running a shell directly (M-x shell) — Emacs invites you to stay put.
Need to compile code? M-x compile.
Need to rename files? Use Dired — mark, move, rename as if editing text.
Once you learn to pilot with C-x and M-x, there is no tab-switching, no app-switching — just flow.
The more you invest, the more it returns, and the sooner you realize:
you are not using Emacs anymore — you are operating it.