set nocompatible set t_RB= set t_RF= set t_u7= au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") \| exe "normal! g'\"" | endif " 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 :tabnew noremap 1 :b1 noremap 2 :b2 noremap 3 :b3 noremap 4 :b4 noremap 5 :b5 noremap 6 :b6 noremap 7 :b7 noremap 8 :b8 noremap 9 :b9 noremap t :ter noremap r :so $MYVIMRC 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=4 set tabstop=4 set shiftwidth=4 set smarttab set expandtab " Enable Plug plugins call plug#begin(expand(':p:h') . '/plugged') Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'sainnhe/sonokai' Plug 'tribela/vim-transparent' Plug 'tpope/vim-fugitive' Plug 'scrooloose/nerdtree' Plug 'ryanoasis/vim-devicons' "RMHEADLESS Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'bling/vim-bufferline' Plug 'airblade/vim-gitgutter' Plug 'jiangmiao/auto-pairs' Plug 'tpope/vim-surround' Plug 'sheerun/vim-polyglot' Plug 'ervandew/supertab' Plug 'meatballs/vim-xonsh' Plug 'valloric/matchtagalways' Plug 'godlygeek/tabular' Plug 'vim-syntastic/syntastic' 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 if (has("termguicolors")) set termguicolors endif autocmd ColorScheme * highlight! link SignColumn LineNr autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE autocmd ColorScheme * highlight NonText ctermbg=NONE guibg=NONE autocmd ColorScheme * highlight VertSplit cterm=NONE ctermbg=NONE guibg=NONE autocmd ColorScheme * highlight LineNr ctermbg=NONE guibg=NONE let g:sonokai_style = 'atlantis' let g:sonokai_better_performance = 1 colorscheme sonokai " Airline set laststatus=2 let g:airline_powerline_fonts=1 "RMHEADLESS let g:airline_theme='sonokai' " Git Gutter let g:gitgutter_set_sign_backgrounds=1 set updatetime=250 " NERDTree let NERDTreeShowHidden=1