Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dotfile local changes
Plug 'elixir-lang/vim-elixir'
Plug 'altercation/vim-colors-solarized'
Plug 'janko-m/vim-test'
Plug 'scrooloose/nerdtree'
Plug 'rking/ag.vim'
:imap jj <Esc>
set t_Co=256
syntax enable
let g:solarized_termcolors=256
set background=dark
colorscheme solarized
autocmd BufWritePre * :%s/\s\+$//e
nmap <silent> <leader>t :TestNearest<CR>
nmap <silent> <leader>T :TestFile<CR>
nmap <silent> <leader>a :TestSuite<CR>
nmap <silent> <leader>l :TestLast<CR>
nmap <silent> <leader>g :TestVisit<CR>
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
" Turn on rubocop validation
let g:syntastic_ruby_checkers = ['mri', 'rubocop']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment