Emacs
2 min read
Emacs Shortcuts
Emacs Shortcuts
- Spc f d –> search for files in dired
- Spc : –> main command
- Spc g s –> git status
- Spc n n –> Capture template
- Spc n a –> agenda view
- Vim commands
- Ctrl up , down –> go up and down in file
- q [a-z] –> record a macro
- Shift » –> indent in code
- Evil snipe:
- s ch : go to ch ; same as f but more letters
- gc : to comment using evil
- gs [annotation] –> to go to lines directly like vimium ease
- dii –> delete inside indentation
- dik –> delete inside plus a line above
- Dired buffer shortcuts:
- Dired marking and unmarking options: % and * keys
- Narrow subtree : (
- Show git status for files : )
- Diff one file to another: =
- Create a directory : +
- Up a directory : -
- Rename a file: R
- Change timestamp of file: T
- Copy filename: Y
- Open a sub-directory in same menu: I
- Change ownership of file: O
- Unmark all files: U
- Hardlink of file: H
- Goto file: J
- Counsel search online: K
- Encrypt, decrypt a file: ;
- Uncompress or compress : Z
- Copy file to : C
- Byte compile a file: B
- Change file mode: M
- Copy async to rsync : C-c C-r
- Wide dired mode: i
- Org table by copying html table: C-c |
- Show all project TODOs: Spc p t
- Scroll other window : S-up
- Scroll other window down : S-down
Backlinks