"""""""""" HOUSEKEEPING """""""""" syntax on set nowrap set encoding=utf8 set mouse=a set splitbelow set splitright " escape can blow me nnoremap " Set Proper Tabs set tabstop=4 set shiftwidth=4 set smarttab set expandtab " Always display the status line set laststatus=2 " Gets rid of highlights after search nnoremap :nohlsearch " Line numbers set number " Toggle line numbers nnoremap :set nonumber! nnoremap :vsplit nnoremap :split nnoremap :only nnoremap :BuffergatorToggle nnoremap :SyntasticCheck "if (has("termguicolors")) " set termguicolors "endif if &compatible set nocompatible " Be iMproved endif " Remap window switch nnoremap h nnoremap j nnoremap k nnoremap l " Remap terminal switch tnoremap tnoremap tnoremap h tnoremap j tnoremap k tnoremap l " : completion. inoremap pumvisible() ? "\" : "\" " Enable Elite mode, No ARRRROWWS!!!! let g:elite_mode=1 " Disable arrow movement, resize splits instead. if get(g:, 'elite_mode') nnoremap :resize -2 nnoremap :resize +2 nnoremap :vertical resize -2 nnoremap :vertical resize +2 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('vim-syntastic/syntastic') " call dein#add('w0rp/ale') " 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 on syntax enable " If you want to install not installed plugins on startup. if dein#check_install() call dein#install() endif """""""""" END PLUGINS """""""""" """""""""" SPACEVIM THEME """""""""" " Set theme if strftime('%H') >= 7 && strftime('%H') < 10 set background=light colorscheme stellarized else let g:airline_theme='violet' set background=dark "colorscheme stellarized colorscheme space-vim-dark " Terminal Transparency "if $TERM_PROGRAM =~ 'Terminal' " hi Normal ctermbg=NONE guibg=NONE " hi LineNr ctermbg=NONE guibg=NONE " hi SignColumn ctermbg=NONE guibg=NONE "endif " Range: 233 (darkest) ~ 238 (lightest) " Default: 235 let g:space_vim_dark_background = 233 color space-vim-dark hi Comment guifg=#5C6370 ctermfg=59 let base16colorspace=256 " Access colors present in 256 colorspace "hi Comment cterm=italic "set background=dark "set termguicolors let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 let g:hybrid_custom_term_colors = 1 endif " Enable highlighting of the current line set cursorline """""""""" END THEME """""""""" """""""""" BEGIN CONFIGS """""""""" " Deoplete let g:deoplete#enable_at_startup = 1 " Startify let g:startify_custom_header = [ \ ' _ __ _ ', \ ' / | / /__ ____ _ __(_)___ ___ ', \ ' / |/ / _ \/ __ \ | / / / __ `__ \', \ ' / /| / __/ /_/ / |/ / / / / / / /', \ ' /_/ |_/\___/\____/|___/_/_/ /_/ /_/ '] let g:syntastic_cpp_config_file='.syntastic_cpp_config' " Tagbar nmap :TagbarToggle " NERDTree nmap :NERDTreeToggle " SearchTasks nmap :SearchTasks * " Syntastic "set statusline+=%#warningmsg# "set statusline+=%{SyntasticStatuslineFlag()} "set statusline+=%* "let g:syntastic_always_populate_loc_list = 1 "let g:syntastic_auto_loc_list = 1 "let g:syntastic_check_on_open = 1 "let g:syntastic_check_on_wq = 0 "let g:syntastic_cpp_check_header = 1 "let g:syntastic_cpp_auto_refresh_includes = 1 "let g:syntastic_ignore_files = ['\m^/usr/include/', '\m\c\.h$'] """""""""" END CONFIGS """""""""" " Ctrlp let g:ctrlp_map = '' let g:ctrlp_cmd = 'CtrlP' "TODO figure out cscope "TODO get my function keys sorted "TODO create function key section "TODO SYNTAX CHECKING "TODO figure out virtualenv for neovim