emacs.d

.emacs.d
Log | Files | Refs | README

commit 4a64d67f88405185fd8a6e9b0d222518389ed0ad
parent 788375f6677e7a5c10ef1af968f22d5889938c35
Author: tin <ichtinnotl@gmail.com>
Date:   Sat, 12 Jan 2019 16:38:49 +0100

updates readme

Diffstat:
README | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
README.md | 64----------------------------------------------------------------
2 files changed, 64 insertions(+), 64 deletions(-)

diff --git a/README b/README @@ -0,0 +1,64 @@ +## Survival guide + +for the most common shortcuts + +* `C ` Shorthand for the ctrl-key +* `M ` Shorthand for the meta-key +* `S ` Shorthand for the shift-key + +### Files + +* `C-x C-f` Open a file. Starts in the current directory +* `C-x f ` Open a recently visited file +* `C-x o ` Open a file in the current project (based on .git ++) +* `C-x C-s` Save this file +* `C-x C-w` Save as ... +* `C-x C-j` Jump to this files' current directory +* `C-x b ` Switch to another open file (buffer) +* `C-x C-b` List all open files (buffers) + +### Cut copy and paste + +* `C-space` Start marking stuff. C-g to cancel. +* `C-w ` Cut (aka kill) +* `C-k ` Cut till end of line +* `M-w ` Copy +* `C-y ` Paste (aka yank) +* `M-y ` Cycle last paste through previous kills + +### General + +* `C-g ` Quit out of whatever mess you've gotten yourself into +* `M-x ` Run a command by name +* `C-<tab ` Completion at point +* `C-. ` Autocomplete +* `C-_ ` Undo +* `M-_ ` Redo +* `C-x u ` Show the undo-tree +* `C-= ` Expand region +* `C-c C-<return> ` Delete blank lines +* `M-! ` Shell command + +### Navigation + +* `C-<arrow>` Move past words/paragraphs +* `C-a ` Go to start of line +* `C-e ` Go to end of line +* `M-g M-g` Go to line number +* `C-x C-i` Go to symbol +* `C-s ` Search forward. Press `C-s` again to go further. +* `C-r ` Search backward. Press `C-r` again to go further. + +### Window management + +* `C-x 0 ` Close this window +* `C-x 1 ` Close other windows +* `C-x 2 ` Split window horizontally +* `C-x 3 ` Split window vertically +* `S-<arrow>` Jump to window to the left/right/up/down + +### Help + +* `F1 t ` Basic tutorial +* `F1 k ` Help for a keybinding +* `F1 r ` Emacs' extensive documentation diff --git a/README.md b/README.md @@ -1,64 +0,0 @@ -## Survival guide - -for the most common shortcuts - -* `C ` Shorthand for the ctrl-key -* `M ` Shorthand for the meta-key -* `S ` Shorthand for the shift-key - -### Files - -* `C-x C-f` Open a file. Starts in the current directory -* `C-x f ` Open a recently visited file -* `C-x o ` Open a file in the current project (based on .git ++) -* `C-x C-s` Save this file -* `C-x C-w` Save as ... -* `C-x C-j` Jump to this files' current directory -* `C-x b ` Switch to another open file (buffer) -* `C-x C-b` List all open files (buffers) - -### Cut copy and paste - -* `C-space` Start marking stuff. C-g to cancel. -* `C-w ` Cut (aka kill) -* `C-k ` Cut till end of line -* `M-w ` Copy -* `C-y ` Paste (aka yank) -* `M-y ` Cycle last paste through previous kills - -### General - -* `C-g ` Quit out of whatever mess you've gotten yourself into -* `M-x ` Run a command by name -* `C-<tab ` Completion at point -* `C-. ` Autocomplete -* `C-_ ` Undo -* `M-_ ` Redo -* `C-x u ` Show the undo-tree -* `C-= ` Expand region -* `C-c C-<return> ` Delete blank lines -* `M-! ` Shell command - -### Navigation - -* `C-<arrow>` Move past words/paragraphs -* `C-a ` Go to start of line -* `C-e ` Go to end of line -* `M-g M-g` Go to line number -* `C-x C-i` Go to symbol -* `C-s ` Search forward. Press `C-s` again to go further. -* `C-r ` Search backward. Press `C-r` again to go further. - -### Window management - -* `C-x 0 ` Close this window -* `C-x 1 ` Close other windows -* `C-x 2 ` Split window horizontally -* `C-x 3 ` Split window vertically -* `S-<arrow>` Jump to window to the left/right/up/down - -### Help - -* `F1 t ` Basic tutorial -* `F1 k ` Help for a keybinding -* `F1 r ` Emacs' extensive documentation