Skip to content

Instantly share code, notes, and snippets.

@mkasztelnik
Last active February 29, 2016 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkasztelnik/f511754f5d1f98734ba6 to your computer and use it in GitHub Desktop.
Save mkasztelnik/f511754f5d1f98734ba6 to your computer and use it in GitHub Desktop.
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