emacs - file navigation
Table of Contents
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?
- Use
fzfin emacs - Go to a parent directory that you know. e.g. Downloads
- Launch
fzf - Search for file name
- When you find it, hit Enter to open the file in a buffer.