Here are my configuration files (especially emacs !)
Here are the languages, frameworks and technologies that I often use :
- NodeJS / Javascript (ES6)
- PostgreSQL / SQLite / SQL
- Rust
- C
- Angular / React
- Pug (Jade) / Handlebars / HTML
- SASS / LESS / CSS
- Emacs Lisp
- Markdown / JSON
- Git / SVN
- PHP when I have no choice :'(
Syntax highlighting features are available for this languages.
Shortcut | Action |
---|---|
CTRL+x CTRL+▶ | Vertically split the screen and let you choose a file to open in the right part of the screen |
CTRL+x CTRL+▼ | Horizontally split the screen and let you choose a file to open in the lower part of the screen |
CTRL+x CTRL+x | Kill (exit) the current window, if there are others ones |
ALT+(SHIFT) + ▶ | Move to window right |
ALT+(SHIFT) + ◀ | Move to window left |
ALT+(SHIFT) + ▲ | Move to window top |
ALT+(SHIFT) + ▼ | Move to window down |
CTRL+x CTRL+m | Open a menu-bar (neotree) |
Shortcut | Action |
---|---|
CTRL+f | Search (helm-swoop) |
CTRL+x CTRL+f | Search for a file to load in the current window (helm-find-file) |
CTRL+s | Search forward (phi-search) |
CTRL+r | Search backward (phi-search-backward) |
Shortcut | Action |
---|---|
CTRL+c CTRL+s | Set a new cursor at the next occurence of the selected word (mc/mark-next-like-this-word) |
CTRL+c CTRL+r | Set a new cursor at the previous occurence of the selected word (mc/mark-previous-like-this-word) |
CTRL+c ENTER | Set cursors on region (mc/edit-lines) |
Shortcut | Action |
---|---|
CTRL+c CTRL+◀ | Hide all blocks of code [{...} ] (hs-hide-all) |
CTRL+c CTRL+▶ | Show all blocks of code (hs-show-all) |
CTRL+c ◀ | Hide current block of code [{...} ] (hs-hide-block) |
CTRL+c ▶ | Show current block of code (hs-show-block) |
CTRL+c CTRL+c | Comment / Uncomment selected code (comment-dwim) |
You can write HTML with Emmet thanks to the emmet-mode.
Shortcut | Action |
---|---|
CTRL+x CTRL+e | Show HTML for the selected emmet code (emmet-preview) |
js2-mode
handle Javascript syntax highlighting and auto-indent and comes with an integrated linter.
It shows undefined variables, functions with side effects, functions that doesn't always return a value ...
company-mode
allows fast autocomplete (better than autocomplete
).
ALT+z will execute custom-prompt
function. This little function is located at the following place :
.emacs.d/experiment.el
For the moment, here are the few features of this prompt (more will come) :
:*number*
: go to line numberd*number*
: delete the next number lines
- Auto-install missing packages
- Use phi-search only in multiple-cursors mode
- Create different configurations for emacs in terminal and emacs with GUI
- improve emacs with GUI
- Optimization : prevent useless minor-modes or scripts from being used while they are unnecessary
- Optimization : make it work with emacsclient (emacs as a daemon)
- Autocomplete (company-mode) : Make it work with Rust, SQL, C and HTML
- Magit : Create shortcut for magit (status, commit, push, blame, diff)
- Choose and include a tool for easy buffer management