Emmanuel Buckshi 5 years ago
parent
commit
f196b0b163
1 changed files with 13 additions and 0 deletions
  1. 13 0
      init.vim

+ 13 - 0
init.vim

@@ -9,6 +9,10 @@ set showcmd
 set nocompatible
 set path+=**
 set wildmenu
+set tabstop=2
+set shiftwidth=2
+set expandtab
+
 " colorscheme PaperColor
 " colorscheme ubloh
 colorscheme muon
@@ -96,6 +100,8 @@ Plug 'simplyzhao/cscope_maps.vim'
 Plug 'bfrg/vim-cpp-modern'
 Plug 'tpope/vim-commentary'
 Plug 'octol/vim-cpp-enhanced-highlight'
+Plug 'isRuslan/vim-es6'
+Plug 'rhysd/vim-clang-format'
 
 call plug#end()
 
@@ -148,3 +154,10 @@ let g:PaperColor_Theme_Options = {
   \   }
   \ }
 
+let g:gutentags_enabled = 0
+  augroup auto_gutentags
+    au FileType c,cpp,javascript,python,java,scala,sh,groovy,vim let g:gutentags_enabled=1
+  augroup plug#end
+
+autocmd FileType c,cpp,h,hpp ClangFormatAutoEnable
+