💾 Archived View for henn.es › cheatsheet › emacs.gmi captured on 2022-07-16 at 13:52:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

➡️ Next capture (2023-07-10)

-=-=-=-=-=-=-

hennes' Emacs cheatsheet

Common

C-x = : Print info on cursor position (more with C-u C-x =)

C-x 8 Enter : Insert char

Projectile

It is assumed that projectile keymap prefix is set to "s-p".

s-p f : Find file

s-p p : Switch to project

s-p s s : Search for pattern (with ag)

Helm

in helm-find-files

C-u C-c C-k : Copy path to kill ring

C-c TAB / C-c C-i: Copy path to current buffer

C-SPC : Mark file

M-a : Mark all files

C-s : grep content (in selected file or marked files)

C-u C-s : grep content in files matching name pattern (in selected file or marked files)

LSP Java

s-l = = : Format buffer

s-l g e : Show error list

s-l r o : Organize imports

s-l w r : Restart workspace and its LSP server

web-mode

C-c C-e / : Close tag