Browse Source

Add some more Plugins

coc
taylor 7 years ago
parent
commit
256eb7d283
  1. 22
      .vimrc

22
.vimrc

@ -26,8 +26,22 @@ Plugin 'scrooloose/nerdcommenter'
"Plugin 'myusuf3/numbers.vim'
Plugin 'Shougo/neocomplete.vim'
Plugin 'easymotion/vim-easymotion'
Plugin 'Emmet.vim'
Plugin 'bling/vim-airline'
Plugin 'tpope/vim-ragtag'
" html / templates
Plugin 'mattn/emmet-vim', { 'for': 'html' } " emmet support for vim - easily create markdup wth CSS-like syntax
Plugin 'gregsexton/MatchTag', { 'for': 'html' } " match tags in html, similar to paren support
Plugin 'othree/html5.vim', { 'for': 'html' } " html5 support
" JavaScript
Plugin 'gavocanov/vim-js-indent', { 'for': 'javascript' } " JavaScript indent support
Plugin 'moll/vim-node', { 'for': 'javascript' } " node support
Plugin 'othree/yajs.vim', { 'for': 'javascript' } " JavaScript syntax plugin
Plugin 'othree/es.next.syntax.vim', { 'for': 'javascript' } " ES6 and beyond syntax
" Go
Plugin 'fatih/vim-go', { 'for': 'go' } " go support
" All of your Plugins must be added before the following line
call vundle#end() " required
@ -50,6 +64,7 @@ set number
set autoread
set history=1000
set paste
" make comments and HTML attributes italic
highlight Comment cterm=italic
@ -86,6 +101,8 @@ if has("autocmd")
\| exe "normal! g'\"" | endif
endif
let NERDTreeShowHidden=1
" M A P P I N G S
let mapleader = ","
@ -93,4 +110,5 @@ let mapleader = ","
nmap <silent> <leader>k :NERDTreeToggle<cr>
" expand to the path of the file in the current buffer
nmap <silent> <leader>y :NERDTreeFind<cr>
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
Loading…
Cancel
Save