aboutsummaryrefslogtreecommitdiff
path: root/nvim/plugins.vim
blob: 7021a0a4500493cd05bff1383656f008ddd8127f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
" nvim/plugins.vim

let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
  silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
endif

call plug#begin()
  Plug 'mattn/emmet-vim'
  Plug 'romainl/vim-cool'
  Plug 'scrooloose/nerdtree'
  Plug 'tpope/vim-repeat'
  Plug 'tpope/vim-surround'
call plug#end()

" EMMET
" -----
" https://github.com/mattn/emmet-vim

" Nur für HTML und CSS Dateien aktivieren
let g:user_emmet_install_global = 0
autocmd FileType html,css EmmetInstall

let g:user_emmet_leader_key='<C-y>'

"let g:user_emmet_mode='n'    "only enable normal mode functions.
"let g:user_emmet_mode='inv'  "enable all functions, which is equal to
"let g:user_emmet_mode='a'    "enable all function in all mode.