filetype off "" Plugins set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.fzf call vundle#begin() "" Core Plugin 'gmarik/Vundle.vim' Plugin 'junegunn/fzf.vim' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'tpope/vim-dispatch' Plugin 'SirVer/ultisnips' Plugin 'honza/vim-snippets' Plugin 'w0rp/ale' "" UI Plugin 'scrooloose/nerdtree' Plugin 'crusoexia/vim-monokai' Plugin 'christoomey/vim-tmux-navigator' "" Plugins Plugin 'godlygeek/tabular' Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-surround' 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 colorscheme monokai "" Dir Config let g:NERDTreeHijackNetrw = 1 "" Keybinds imap jk "" General keybind nnoremap fp :e ~/.vimrc nnoremap fei :e ~/.vim/ftplugin nnoremap fr :so ~/.vimrc:PluginInstall nnoremap qq :q! nnoremap gs :G nnoremap : "" File Management nnoremap ff :Files . 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 /r :Rg nnoremap /t :BTags nnoremap fF :Files "" Projects nnoremap pf :Files nnoremap ot :NERDTreeToggle nnoremap pg :!ctags-exuberant -R --exclude=Makefile . "" Tags nnoremap tt :Tags