summary refs log tree commit diff
path: root/README.org
blob: 259fbe9411973bb8f778daf40a58c2975edd9e06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
* Home

My personal configuration files.

** Emacs

*** 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 |
|              |                                                |

For smartparens

Key | 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 "                        |
|         |                                       |