Last active
August 23, 2019 07:02
-
-
Save nicolas42/8fb8be38d5ae81d0d21050afb1756463 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Emacs | |
| emacs -nw no window (for practice in cli version) | |
| open file; C-x C-f | |
| split pane horizontally, vertically, move between, exit out of pane; C-x 3 2 o 0 | |
| interactive search forward and reverse; C-s C-r | |
| close; C-x C-c | |
| shell; M-x eshell | |
| new shell instance (for multiple independent shells); C-u M-x eshell | |
| M-x load-theme tango | |
| quit minibuffer; C-g | |
| delete to end of line (kill) ; C-k | |
| paste (yank) ; C-p | |
| C-z ??? | |
| undo https://ftp.gnu.org/old-gnu/Manuals/emacs-20.7/html_node/emacs_19.html; C-x C-/ | |
| forwards and backwards 1 word; M-f M-b | |
| exit out of file without saving (kill buffer) ; C-x k | |
| need | |
| cut copy line | |
| paste line | |
| # Capslock to Enter | |
| xmodmap -e "clear Lock" | |
| xmodmap -e "keycode 66 = Return" | |
| # Vim search and replace | |
| search with / | |
| replace with :%s//<replace-text/g(c) | |
| # Anki | |
| run emacs without a window emacs -nw | |
| emacs open a file C-x C-f | |
| emacs split-plane horizontally C-x 3 | |
| emacs tutorial C-h t | |
| open file C-x C-f | |
| split pane horizontally, vertically, move between, exit out of pane C-x 3 2 o 0 | |
| interactive search forward and reverse C-s C-r | |
| close C-x C-c | |
| shell M-x eshell | |
| new shell instance (for multiple independent shells) C-u M-x eshell | |
| load new theme M-x load-theme <theme> theme example: tango | |
| quit minibuffer C-g | |
| delete to end of line (kill) C-k | |
| paste (yank) C-p | |
| undo https://ftp.gnu.org/old-gnu/Manuals/emacs-20.7/html_node/emacs_19.html C-x C-/ | |
| forwards and backwards 1 word M-f M-b | |
| exit out of file without saving (kill buffer) C-x k | |
| Linux Capslock to Enter xmodmap -e "clear Lock" xmodmap -e "keycode 66 = Return" | |
| Vim search and replace search with / then replace with :%s//<replace-text/g(c) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment