| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 | 
"""""""""" HOUSEKEEPING """"""""""syntax onset nowrapset encoding=utf8set mouse=aset splitbelowset splitright" escape can blow mennoremap <C-c> <Esc>" Set Proper Tabsset tabstop=4set shiftwidth=4set smarttabset expandtab" Always display the status lineset laststatus=2" Gets rid of highlights after searchnnoremap <silent> <F7> :nohlsearch<CR><F7>" Line numbersset number" Toggle line numbersnnoremap <F6> :set nonumber!<CR>nnoremap <F9> :vsplit<CR>nnoremap <F10> :split<CR>nnoremap <F12> :only<CR>nnoremap <F2> :BuffergatorToggle<CR>nnoremap <F3> :SyntasticCheck<CR>" Be iMprovedif &compatible  set nocompatibleendif" Remap window switchnnoremap <C-h> <C-w>hnnoremap <C-j> <C-w>jnnoremap <C-k> <C-w>knnoremap <C-l> <C-w>l" Remap terminal switchtnoremap <C-[> <C-\><C-n>tnoremap <C-c><Esc> <Esc>tnoremap <C-h> <C-\><C-n><C-w>htnoremap <C-j> <C-\><C-n><C-w>jtnoremap <C-k> <C-\><C-n><C-w>ktnoremap <C-l> <C-\><C-n><C-w>l" <TAB>: completion.inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"" Enable Elite mode, No ARRRROWWS!!!!let g:elite_mode=1" Disable arrow movement, resize splits instead.if get(g:, 'elite_mode')	nnoremap <Up>    :resize -2<CR>	nnoremap <Down>  :resize +2<CR>	nnoremap <Left>  :vertical resize -2<CR>	nnoremap <Right> :vertical resize +2<CR>endif"""""""""" END HOUSEKEEPING """""""""""""""""""" PLUGINS """"""""""" Required:set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim" Required:if dein#load_state('~/chris/.cache/dein')  call dein#begin('~/.cache/dein')  " Let dein manage dein  " Required:  call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim')  " Start Screen  call dein#add('mhinz/vim-startify')  " Search Index shows how many instances of searched term  call dein#add('google/vim-searchindex')  " line indents  "call dein#add('Yggdroot/indentLine')  " Gutentags  call dein#add('ludovicchabant/vim-gutentags')  " Tagbar  call dein#add('majutsushi/tagbar')  " Add or remove your plugins here: TODO  call dein#add('Shougo/neosnippet.vim')  call dein#add('Shougo/neosnippet-snippets')  " Themes  call dein#add('liuchengxu/space-vim-dark')  call dein#add('nightsense/stellarized')  call dein#add('vim-airline/vim-airline')  call dein#add('vim-airline/vim-airline-themes')  call dein#add('chriskempson/base16-vim')  " Auto Pairs  call dein#add('jiangmiao/auto-pairs')  " Buffergator use \b  call dein#add('jeetsukumaran/vim-buffergator')  " Ctrlp   call dein#add('ctrlpvim/ctrlp.vim')  " Searchtasks searches for TODO, FIXME, XXX and such run :SearchTasks .   call dein#add('gilsondev/searchtasks.vim')  " Syntax   call dein#add('w0rp/ale')  " Multiple Cursors  call dein#add('terryma/vim-multiple-cursors')  " NERDTree  call dein#add('scrooloose/nerdtree')  " BufOnly use :BufOnly to unload all or pass it a single buffer  call dein#add('vim-scripts/BufOnly.vim')  " For autocomplete  call dein#add('zchee/deoplete-jedi')  call dein#add('Shougo/deoplete.nvim')    " For vim 8+    if !has('nvim')      call dein#add('roxma/nvim-yarp')      call dein#add('roxma/vim-hug-neovim-rpc')    endif  " You can specify revision/branch/tag.  call dein#add('Shougo/deol.nvim', { 'rev': '01203d4c9' })  " Required:  call dein#end()  call dein#save_state()endif" Required:filetype plugin indent onsyntax enable" If you want to install not installed plugins on startup.if dein#check_install()  call dein#install()endif"""""""""" END PLUGINS """""""""""""""""""" SPACEVIM THEME """"""""""" Set themeif strftime('%H') >= 7 && strftime('%H') < 10   set background=light  colorscheme stellarizedelse  let g:airline_theme='violet'  set background=dark  colorscheme space-vim-dark" Range:   233 (darkest) ~ 238 (lightest)" Default: 235let g:space_vim_dark_background = 233color space-vim-darkhi Comment guifg=#5C6370 ctermfg=59let base16colorspace=256  " Access colors present in 256 colorspacelet g:airline#extensions#tabline#enabled = 1let g:airline_powerline_fonts = 1 let g:hybrid_custom_term_colors = 1endif" Enable highlighting of the current lineset cursorline"""""""""" END THEME """""""""""""""""""" BEGIN CONFIGS """"""""""" Deopletelet g:deoplete#enable_at_startup = 1" Startifylet g:startify_custom_header = [                                                                                                                                                                                 	\ '     _   __                _         ',	\ '    / | / /__  ____ _   __(_)___ ___ ',	\ '   /  |/ / _ \/ __ \ | / / / __ `__ \',	\ '  / /|  /  __/ /_/ / |/ / / / / / / /',	\ ' /_/ |_/\___/\____/|___/_/_/ /_/ /_/ ']let g:syntastic_cpp_config_file='.syntastic_cpp_config'" Tagbarnmap <F8> :TagbarToggle<CR>" NERDTreenmap <F5> :NERDTreeToggle<CR>" SearchTasksnmap <F4> :SearchTasks *<CR>"""""""""" END CONFIGS """"""""""" Ctrlplet g:ctrlp_map = '<c-p>'let g:ctrlp_cmd = 'CtrlP'" MULTI CURSORlet g:multi_cursor_use_default_mapping=0" Default mappinglet g:multi_cursor_start_word_key      = '<C-n>'let g:multi_cursor_select_all_word_key = '<A-n>'let g:multi_cursor_start_key           = 'g<C-n>'let g:multi_cursor_select_all_key      = 'g<A-n>'let g:multi_cursor_next_key            = '<C-n>'let g:multi_cursor_prev_key            = '<C-p>'let g:multi_cursor_skip_key            = '<C-x>'let g:multi_cursor_quit_key            = '<Esc>'" ALElet g:ale_linters = {    \ 'cpp' : ['gcc'],    \ 'c' : ['gcc']    \}let g:ale_cpp_gcc_options='-Wall -Wextra'let g:ale_c_gcc_options='-Wall -Wextra'" Pythonif !empty(glob("/bin/python3.6"))    " For RHEL    let g:python3_host_prog = '/bin/python3.6'else    " For Debian based       let g:python3_host_prog = '/usr/bin/python3.6'endif""""""""""" FUNCTION KEYS """""""""""""""TODO figure out cscope"TODO create function key section"TODO figure out virtualenv for neovim
 |