diff --git a/.vimrc b/.vimrc index 8aab112..26a847f 100644 --- a/.vimrc +++ b/.vimrc @@ -1,3 +1,4 @@ +"-- install plugins: --- call plug#begin('~/.vim/plugged') Plug 'mattn/emmet-vim' "emmet html autocomplete Plug 'vim-airline/vim-airline' "airline status bar @@ -6,6 +7,7 @@ Plug 'Xuyuanp/nerdtree-git-plugin' "show git status in nerdtree Plug 'mhinz/vim-signify' "show git changes in file call plug#end() +"-- vim configs: --- set tabstop=4 "tab width = 4 spaces set shiftwidth=4 "auto tab width = 4 spaces set list "show whitespace chars @@ -14,15 +16,20 @@ set number "show line nums set mouse=a "enable mouse set wrap! "disable wordwrap -colorscheme molokai "theme - -ab log console.log(); "log autocomplete -ab af ()=>{} "arrow function autocomplete +"-- abbreviations: --- +"log autocomplete +ab log console.log(); +"arrow function autocomplete +ab af ()=>{} +"-- plugin configs: --- let g:airline#extensions#tabline#enabled = 1 "show buffers when no tabs open let g:airline#extensions#tabline#buffer_nr_show = 1 "show buffer numbers let NERDTreeShowLineNumbers=1 "show line numbers in nerdtree +"-- themes: --- +colorscheme molokai + "--- unused: --- "let g:user_emmet_expandabbr_key='' "use tab to expand in emmet "imap emmet#expandAbbrIntelligent("\") "only have tab expand in emmet when it's supposed to