* Markdown preview

* ES6
This commit is contained in:
Simon Vieille 2017-04-21 22:55:22 +02:00
parent 9a2c01dde5
commit 9699e53627
2 changed files with 23 additions and 4 deletions

View file

@ -9,9 +9,10 @@ First, move to your home directory: `cd $HOME`
### Dependencies
Packages for Debian GNU/Linux. You have to adapt it for your system.
```
$ PACKAGE_MANAGER=apt # Depending of your system…
$ sudo $PACKAGE_MANAGER install \
$ sudo apt install \
vim \
vim-athena \
vim-common \
@ -23,11 +24,23 @@ vim-scripts \
vim-tiny \
wget \
git \
exuberant-ctags
exuberant-ctags \
nodejs
```
PHP-CS-Fixer:
```
$ wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.12.3/php-cs-fixer.phar
$ chmod +x php-cs-fixer.phar
```
Instant Markdown preview:
```
$ sudo npm -g install instant-markdown-d
```
Notify me if I forgot something :)
**Do backups if needed:**
@ -40,7 +53,7 @@ $ [ -d .vim ] && mv .vim .vim-back
### Cloning the configuration
```
$ git clone https://gitnet.fr/deblan/dotvim deblan-vim
$ git clone https://gitnet.fr/deblan/dotvim.git deblan-vim
$ ln -rs deblan-vim/vimrc .vimrc
$ ln -rs deblan-vim/vim .vim
```

6
vimrc
View file

@ -65,6 +65,8 @@ Plugin 'vexxor/phpdoc.vim'
Plugin 'mzlogin/vim-markdown-toc'
Plugin 'rosenfeld/conque-term'
Plugin 'joonty/vdebug'
Plugin 'isRuslan/vim-es6'
Plugin 'suan/vim-instant-markdown'
call vundle#end()
@ -114,6 +116,10 @@ let g:NERDTreeIndicatorMapCustom = {
\ 'Unknown' : '?!'
\ }
" Markdown preview "
""""""""""""""""""""
let g:instant_markdown_autostart = 0
" COLORIZER "
"""""""""""""