Skip to content

Commit

Permalink
Added ansible support, added CtrlP
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Chernyi committed Nov 10, 2016
1 parent 566d299 commit 30771fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ call plug#begin(nvimPlugged)
Plug 'stephpy/vim-php-cs-fixer', {'do': 'mkdir -p '.nvimBin.' && wget http://get.sensiolabs.org/php-cs-fixer.phar -O '.nvimBin.'/php-cs-fixer.phar && chmod a+x '.nvimBin.'/php-cs-fixer.phar'} " PHP CS
Plug 'cohlin/vim-colorschemes' " Dracula colortheme + airline theme, https://github.com/cohlin/vim-colorschemes
Plug 'eshion/vim-sync' " Autoupload changed files
Plug 'kien/ctrlp.vim'
Plug 'pearofducks/ansible-vim'
call plug#end()

" Keymap
Expand Down Expand Up @@ -86,6 +88,9 @@ let g:php_cs_fixer_level = "psr2"
let g:php_cs_fixer_enable_default_mapping = 0
autocmd BufWritePost *.php silent! :call PhpCsFixerFixFile() | silent! :syntax on " Auto fix php file on save

" ansible-vim
let g:ansible_extra_keywords_highlight = 1

" Additional stuff
autocmd BufWritePost * silent! :%s/\s\+$//g " Remove all trailing whitespace (including empty lines)
set encoding=utf8
Expand Down

0 comments on commit 30771fe

Please sign in to comment.