filetype off "" Plugins set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.fzf call vundle#begin() "" Core Plugin 'gmarik/Vundle.vim' Plugin 'wakatime/vim-wakatime' Plugin 'junegunn/fzf.vim' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'tpope/vim-dispatch' Plugin 'majutsushi/tagbar' Plugin 'Valloric/YouCompleteMe' Plugin 'SirVer/ultisnips' Plugin 'honza/vim-snippets' Plugin 'w0rp/ale' "" UI Plugin 'scrooloose/nerdtree' Plugin 'vim-airline/vim-airline' Plugin 'powerline/powerline' Plugin 'mhinz/vim-startify' Plugin 'morhetz/gruvbox' Plugin 'crusoexia/vim-monokai' Plugin 'christoomey/vim-tmux-navigator' "" Languages Plugin 'plasticboy/vim-markdown' Plugin 'jceb/vim-orgmode' Plugin 'OmniSharp/omnisharp-vim' Plugin 'OrangeT/vim-csharp' "" Plugins Plugin 'godlygeek/tabular' Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-surround' Plugin 'ervandew/supertab' Plugin 'tpope/vim-speeddating' "" Other Plugin 'rhysd/vim-clang-format' Plugin 'python-rope/ropevim' call vundle#end() "" Standard variables syntax enable filetype plugin indent on set nocompatible set ignorecase set smartcase set clipboard=unnamed set number set nobackup set noundofile set nowritebackup set nohlsearch set wildmenu set tabstop=4 set softtabstop=4 set expandtab set shiftwidth=4 set previewheight=5 set foldmethod=syntax set foldlevel=99 let mapleader = ' ' "" Theming let g:airline_theme = 'vorange' colorscheme monokai "" Dir Config function! MaybeFzf() if argc() == 1 && isdirectory(argv()[0]) execute "bdelete" execute "FZF" endif endfunction autocmd VimEnter * : call MaybeFzf() let g:NERDTreeHijackNetrw = 1 "" Language Config let g:OmniSharp_server_stdio = 1 let g:OmniSharp_selector_ui = 'fzf' "" Tool Config let g:ycm_key_list_select_completion = ['', ''] let g:ycm_key_list_previous_completion = ['', ''] let g:SuperTabDefaultCompletionType = '' let g:UltiSnipsExpandTrigger = '' let g:UltiSnipsJumpForwardTrigger = '' let g:UltiSnipsJumpBackwardTrigger = '' let g:ale_linters = { \ 'cs': ['OmniSharp'] \} "" Keybinds "" General keybind nnoremap fed :e ~/.vimrc nnoremap fei :e ~/.vim/ftplugin nnoremap fer :so ~/.vimrc:PluginInstall nnoremap qq :q! nnoremap gs :G nnoremap : "" File Management nnoremap fr :e! nnoremap fs :w nnoremap fq :wq nnoremap fn :enew nnoremap :set hlsearch! hlsearch? "" Buffer Management nnoremap bb :Buffers nnoremap bn :bn nnoremap bp :bp nnoremap bd :bd "" Window Management nnoremap ww :Windows "" Splits nnoremap wv v nnoremap ws s nnoremap wd q "" Resizes nnoremap wj :resize -5 nnoremap wk :resize +5 nnoremap wl 5> nnoremap wh 5< "" Movement nnoremap j nnoremap k nnoremap l nnoremap h "" Searches nnoremap // :BLines nnoremap /a :Ag nnoremap /t :BTags nnoremap ff :Files "" Projects nnoremap pf :Files nnoremap ot :NERDTreeToggle nnoremap pg :!ctags-exuberant -R --exclude=Makefile . "" Tags nnoremap tt :Tags