blob: 792dd47bd386995bdc609d654b2bb25dd29d75f5 (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
* Home
My personal configuration files.
** Installation
To install the dotfiles:
#+BEGIN_SRC sh :results silent
make install
#+END_SRC
To check for dead symlinks:
#+BEGIN_SRC sh :results silent
make check-dead
#+END_SRC
To remove dead symlinks:
#+BEGIN_SRC sh :results silent
make clean-dead
#+END_SRC
** 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 |
| 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 |
| | |
** Tasks
*** TODO Run magit in fullscreen ?
*** TODO Add word / sign / sentence count for markdown in the status line
*** TODO Take a look at "highlight-indent-guides" for emacs
*** TODO How to update Emacs on OSX ?
*** TODO Add puppet-lint to Flymake
*** TODO BUILD files are Python files
*** TODO Emacs' git configuration
Add binding for git diff, git commit, and configure correctly git commit mode.
|