emacs - file navigation

File navigation commands

Command Description
Ctrl x b and Ctrl x Ctrl b Switching between buffers
Ctrl g Cancelling half-entered commands
Ctrl x Ctrl c Quitting Emacs
Ctrl x k kill buffer
Meta x Invoking commands by name
Meta x customize to enter customization menu
Ctrl x b * untitled * (remove the spaces before and after the asterisks) will open new buffer if not exist
Ctrl x Ctrl s Saving files

How to navigate to a file quickly?

  1. Use fzf in emacs
  2. Go to a parent directory that you know. e.g. Downloads
  3. Launch fzf
  4. Search for file name
  5. When you find it, hit Enter to open the file in a buffer.

Links to this note