123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- C-u C-<Space> goto last mark
- M-! execute shell command
- C-u M-! insert output of shell command at point
- M-& execute shell command async
- M-| execute shell command on region
- you can type some code (like python or bash), select it, then invoke
- C-u M-| (shell-command-on-region) and it will replace with output!!!
- C-h w look up key bound to function
- C-x z [z z z] repeat, like . in vim
- M-x rgrep holy damn!
- C-c C-. org insert src block
- C-c c [CUST] notate key
- M-/ hippie-expand
- M-z zap-to-char
- ----------------------------------------------------------------
- ORG MODE
- agenda
- C-c C-s schedule org item
- S-f follow mode
- ----------------------------------------------------------------
- FRAMES
- C-x 5 2 new frame
- C-x 5 o other frame
- ----------------------------------------------------------------
- ELISP
- C-u C-x C-e insert eval results at point
- (message "yo")
- (buffer-name)
- (buffer-file-name)
- (switch-to-buffer (other-buffer)) ;; for humans
- (set-buffer (other-buffer)) ;; for computer
- (buffer-size)
- (point) (point-min) (point-max)
- (interactive) opts: b"existing buffer", f"existing file",
- p"numeric prefix"
- (save-restriction
- BODY... ) ;; undo any narrowing in BODY
- ----------------------------------------------------------------
- Plugins
- ; workgroups.el
- ----------------------------------------------------------------
- INFO
- [, ] prev, next node
- l, r back, forward in history
- n, p next, previous node
- u up one level
- SPC one screen forward
- TAB links
- m prompt menu item
- ----------------------------------------------------------------
- HELP
- C-h a apropos (try: -word$)
- C-h m describe-mode
- C-h f describe-function
- C-h k describe-key
- C-h v describe-variable
- C-h c help -- keystrokes
- M-. xref-find-definitions
- M-x info-apropos
- ----------------------------------------------------------------
- MOVEMENT
- M-r reposition point
- C-l adjust window
- C-M-l reposition window
- M-g M-g goto line
- M-g <tab> goto column
- ----------------------------------------------------------------
- WINDOWS
- C-x 4 C-f find file, other window
- C-x 4 d dired, other window
- C-x 4 b switch buffer, other window, make active
- ----------------------------------------------------------------
- BOOKMARKS
- C-x r m set bookmark
- C-x r l list bookmarks
- C-x r b jump to bookmark
- ----------------------------------------------------------------
- REGISTERS
- C-x r n store number in register
- C-x r s store region in register
- C-x r SPC store point in register
- C-x r j jump to register
- C-x r i insert content in register
- ----------------------------------------------------------------
- KEYBOARD MACROS
- <f3> start recording
- <f4> stop recording/play macro
- ----------------------------------------------------------------
- RECURSIVE EDITING
- C-r enter
- C-M-c exit
- ----------------------------------------------------------------
- NARROWING
- C-x n n narrow
- C-x n w widen
|