From 9699e53627b21b192f88111409ba77407a37f772 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 21 Apr 2017 22:55:22 +0200 Subject: [PATCH] * Markdown preview * ES6 --- README.md | 21 +++++++++++++++++---- vimrc | 6 ++++++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ce138e2..00a2d48 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/vimrc b/vimrc index b356c99..d12153a 100644 --- a/vimrc +++ b/vimrc @@ -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 " """""""""""""