summaryrefslogblamecommitdiff
path: root/README.org
blob: 792dd47bd386995bdc609d654b2bb25dd29d75f5 (plain) (tree)
1
2
3
4



                                















                              
                              


               









                                                                 

                                                                 
 




























                                                                                                  





                          
               







                                                         
           






                                                   
           





                                         








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