From 8d4169f2d1791778f4cd977d446f99932d5dd785 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 17 Feb 2016 06:05:04 -0800 Subject: [emacs] Remove the documentation from README. Add a 'doc' directory with the documentation for emacs, bash and git. --- docs/emacs.org | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 docs/emacs.org (limited to 'docs/emacs.org') diff --git a/docs/emacs.org b/docs/emacs.org new file mode 100644 index 0000000..a8f436d --- /dev/null +++ b/docs/emacs.org @@ -0,0 +1,75 @@ +#+AUTHOR: Franck Cuny +#+TITLE: Emacs documentation +#+STARTUP: indent +#+STARTUP: hidestars + +* Bindings + +General key bindings. + +| Binding | Description | +|--------------+------------------------------------------------| +| M-j | Join lines | +| super-return | Toggle fullscreen | +| C-h f | Display help about a function | +| C-h k | Which function is binded to a sequence of keys | +| M-$ | Flyspell suggestion | +| C-s | Regex search with an overview | + +** smartparens + +| Binding | Action | +|---------------+--------------------------------------------------------------------------------| +| C-M-f | Move forward across one expression | +| C-M-b | Move backward across one expression | +| C-M-d | Move forward down one level | +| C-M-a | Move backward down one level | +| C-S-a | Jump to the beginning of the sexp | +| C-S-e | Jump to the end of the sexp | +| C-M-f | Move across one expression | +| C-M-b | Move backward across one expression | +| C-M-u | Move backward out of one level | +| C-M-t | Transpose the expression around the point | +| C-M-n | Move forward to the beginning of the next expression | +| C-M-p | Move backward to the end of the previous expression | +| C-M-k | Kill the expression | +| C-M-w | Copy the expression | +| M- | unwrap the expression | +| M- | unwrap the previous expression | +| M- | Add following expression in current expression | +| M- | Remove the last expression in the current list | +| M-S- | Add the sexp preceding the current list in it by moving the opening delimiter. | +| M-S- | | +| M-d | Unwrap the current list. | + +* Modes +** Magit + +| Binding | Description | +|---------+--------------| +| C-x g | Magit status | +| | | + +** Projectile + +| Binding | Description | +|---------+---------------------------------------------| +| C-c p k | Kill all the buffers related to the project | +| C-c p p | Switch to a project | +| C-c p f | Find file in a project | +| C-c p b | Switch to a buffer of the project | + +** Puppet + +| Binding | Description | +|---------+---------------------------------------| +| C-c C-a | Align parameters in the current block | +| C-c C-' | Toggle ' and " | +| | | + +** Scheme + +| Binding | Description | +|-------------+-------------------------| +| C-u C-a C-z | Load buffer in the REPL | +| | | -- cgit 1.4.1