set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath filetype off "" Plugins set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() "" Core Plugin 'gmarik/Vundle.vim' Plugin 'tpope/vim-dispatch' Plugin 'christoomey/vim-tmux-navigator' "" UI Plugin 'scrooloose/nerdtree' "" Plugins Plugin 'junegunn/fzf', { 'do': { -> fzf#install() } } Plugin 'junegunn/fzf.vim' 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=2 set softtabstop=2 set expandtab set shiftwidth=2 set previewheight=5 set foldmethod=syntax set foldlevel=99 set path+=** let mapleader = ' ' "" Theming colorscheme elflord "" Dir Config let g:NERDTreeHijackNetrw = 1 "" Keybinds imap jk "" General keybind nnoremap fp :e ~/.config/nvim/init.vim nnoremap fei :e ~/.vim/ftplugin nnoremap fr :so ~/.vimrc:PluginInstall:PluginClean 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 bn :bn nnoremap bp :bp nnoremap bb :Buffers nnoremap bd :bd "" Search nnoremap ss :Lines "" Window Splits nnoremap wv v nnoremap ws s nnoremap wd q "" Window Movement nnoremap wj nnoremap wk nnoremap wl nnoremap wh "" Projects nnoremap ot :NERDTreeToggle nnoremap pg :!ctags-exuberant -R --exclude=Makefile . "" Tags nnoremap tt :Tags