Created
May 19, 2015 21:09
-
-
Save joelgriffith/e84fc2e3f6982bc6bc63 to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Preferences | |
set number | |
syntax on | |
set nocompatible " be iMproved, required | |
filetype off " required | |
set tabstop=4 | |
set softtabstop=4 | |
" Set tabs to a > character | |
set list | |
set listchars=tab:\›\ | |
" Sytnax Highlighting | |
set t_Co=256 | |
set background=dark | |
colorscheme solarized | |
" Don't highlight special characters such as tabs and whitespace at EOL | |
highlight SpecialKey ctermbg=None | |
" Syntactic Settings | |
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 | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'walm/jshint.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'altercation/vim-colors-solarized' | |
Plugin 'joonty/vdebug.git' | |
Plugin 'elzr/vim-json' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'mileszs/ack.vim' | |
Plugin 'suan/vim-instant-markdown' | |
Plugin 'Valloric/YouCompleteMe' | |
" all of your plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" Key Mappings | |
map <C-n> :NERDTreeToggle<CR> | |
nnoremap <C-Left> :tabprevious<CR> | |
nnoremap <C-Right> :tabnext<CR> | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
nnoremap <leader>di :set invlist<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment