These are some of the shortcuts I constantly use in Emacs, especially for org-mode.
org-mode, sum up column in table
C-c +
Back to higher level heading (org-mode)
C-c C-u (outline-up-heading)
Call up org agenda
C-x a org-agenda
Display images inline org-mode
C-c C-x C-v org-toggle-inline-images
I nee to type C-u first though
emphasis markers
- *bold*
- /italics/
- _underlined_
- =verbatim=
- ~code~
- +strike-through+
Follow link
C-c C-o (org-open-at-point)
Insert link
C-c C-l (org-insert-link)
Insert timestamp
C-c C-. (org-time-stamp)
Move to next heading
C-c C-n (org-next-visible-heading)
Next heading with same level
C-c C-f (org-forward-heading-same-level)
Move to previous heading
C-c C-p (org-previous-visible-heading)
Previous heading with same level
C-c C-b (org-backward-heading-same-level)
Move to parent heading
C-c C-u (outline-up-heading)
Move to subheading
C-c C-j (org-goto)
Go back after following an internal link
C-c & org-mark-ring-goto
Increase/decrease font size in GUI
- C-x C-+ (text-scale-increase)
- C-x C– (text-scale-decrease)
- C-x C-0 (text-scale-adjust)
magit pull
- F p (magit-pull-from-pushremote)
- F u (magit-pull-from-upstream)
org mode insert structure template
C-c C-, (org-insert-structure-template)
Can insert templates for code, quotes, exporting html, etc.
org special editing mode
C-c ‘ org-edit-special
spawns a new buffer to edit source code
org tangle code blocks
C-c C-v C-t (org-babel-tangle)
Reload file
C-x C-v RET or M-x revert-buffer
search word under cursor
C-s C-w
Show subtree i.e. expand in org-mode
z O outline-show-subtree
toggle treemacs fixed width
tw (treemacs-toggle-fixed-width)
update ibuffer list
g r (ibuffer-update)
yank from kill-ring
Enter insert mode, and then M+y to browse history
Choose a mode
M-x mode-name
For example, I wanted to set mode to docker file: M-x dockerfile-mode
