diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-17 06:05:04 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-17 06:05:04 -0800 |
commit | 8d4169f2d1791778f4cd977d446f99932d5dd785 (patch) | |
tree | dd3f2e110c73fa163667b47382ad6a90052f8b43 /docs/emacs.org | |
parent | [emacs] Rename a few functions and update bindings (diff) | |
download | emacs.d-8d4169f2d1791778f4cd977d446f99932d5dd785.tar.gz |
[emacs] Remove the documentation from README.
Add a 'doc' directory with the documentation for emacs, bash and git.
Diffstat (limited to '')
-rw-r--r-- | docs/emacs.org | 75 |
1 files changed, 75 insertions, 0 deletions
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-<delete> | unwrap the expression | +| M-<backspace> | unwrap the previous expression | +| M-<right> | Add following expression in current expression | +| M-<left> | Remove the last expression in the current list | +| M-S-<right> | Add the sexp preceding the current list in it by moving the opening delimiter. | +| M-S-<left> | | +| 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 | +| | | |