" Formatting configuration filetype plugin indent on set spelllang=en_us set encoding=utf-8 " Keyboard mapping let mapleader=" " set clipboard=unnamedplus inoremap jk noremap w ^ noremap e $ noremap f noremap 1 1gt noremap 2 2gt noremap 3 3gt noremap 4 4gt noremap 5 5gt noremap 6 6gt noremap 7 7gt noremap 8 8gt noremap 9 9gt map n :NERDTreeToggle " Vim style configuration syntax on set showcmd set showmatch set number set numberwidth=6 highlight LineNr term=bold ctermfg=grey set tabstop=4 set shiftwidth=4 set smarttab highlight VertSplit ctermbg=NONE ctermfg=NONE term=NONE cterm=NONE gui=NONE " Enable Plug plugins call plug#begin('~/.vim/plugged') Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'tpope/vim-fugitive' Plug 'scrooloose/nerdtree' Plug 'ryanoasis/vim-devicons' Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'vim-syntastic/syntastic' Plug 'bling/vim-bufferline' call plug#end() " Automatically install any Plug plugins autocmd VimEnter * \ if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | q \| qa! \| endif " Plugin configuration " Airline set laststatus=2 let g:airline_powerline_fonts=1 autocmd VimEnter * AirlineTheme deus " NERDTree let NERDTreeShowHidden=1