syntax on filetype on colorscheme torte set clipboard=unnamedplus set nu rnu set smartindent noremap - ddp nnoremap _ ddkP let mapleader = " " let maplocalleader = "," nnoremap ev :vsplit $MYVIMRC nnoremap sv :source $MYVIMRC nnoremap :%s//gc nnoremap t :tabnew vnoremap " a"``> nnoremap H 0 nnoremap L $ augroup comments autocmd! autocmd FileType javascript nnoremap c 0i// autocmd FileType c nnoremap c 0i// autocmd FileType python nnoremap c 0i# autocmd FileType html nnoremap c 0i augroup END augroup html autocmd! autocmd FileType html inoremap > >F<"tyef>"tpa>TT> autocmd FileType html inoremap = ="" autocmd FileType html inoremap \= = autocmd FileType html inoremap \> > autocmd FileType html iabbrev df> autocmd FileType html nnoremap f Vatzf autocmd FileType html vnoremap H "tdh?>"tpvT> autocmd FileType html vnoremap L "td/<"tPg;vt< augroup END augroup python autocmd! " autocmd FileType python set et autocmd FileType python set ts=4 augroup END call plug#begin() Plug 'valloric/youcompleteme', { 'do': './install.py --clangd-completer'} Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdcommenter' Plug 'tpope/vim-fugitive' call plug#end() nnoremap :NERDTree let g:airline_theme = "powerlineish" let g:airline#extensions#tabline#enabled = 1 :let g:ycm_autoclose_preview_window_after_completion = 1 nnoremap :!compiledb make