neomake is the path and the way

This commit is contained in:
Haak Saxberg 2015-12-03 09:06:43 -08:00
parent 7f49c26753
commit 972383492b
4 changed files with 8 additions and 6 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
vim-files/vim/bundle vim-files/vim/bundle
vim-files/vim/undofiles/ vim-files/vim/undofiles/
.youcompletemesetup .youcompletemesetup
vim-files/vim/.init.vim-rplugin~

View file

@ -1,6 +1,5 @@
" Syntastic " Neomake
let g:syntastic_python_checkers = ['pyflakes', 'pep8', 'pep257'] let g:neomake_python_enabled_makers = ['pyflakes', 'pep8']
let g:syntastic_python_pep8_args='--ignore=E501'
""" Handy remaps """ Handy remaps
noremap <leader>b Oimport ipdb;ipdb.set_trace()<Esc> noremap <leader>b Oimport ipdb;ipdb.set_trace()<Esc>

View file

@ -1,5 +1,5 @@
" Syntastic " Neomake
let g:syntastic_ruby_checkers = ['rubocop'] let g:neomake_ruby_enabled_makers = ['rubocop']
" vim-rspec mappings " vim-rspec mappings
nnoremap <Leader>t :call RunCurrentSpecFile()<CR> nnoremap <Leader>t :call RunCurrentSpecFile()<CR>

View file

@ -99,7 +99,6 @@ let mapleader=","
set nobackup set nobackup
set noswapfile set noswapfile
set pastetoggle=<F2> set pastetoggle=<F2>
set shell=/bin/sh
filetype on filetype on
filetype plugin indent on filetype plugin indent on
@ -189,6 +188,9 @@ endfunction
noremap ; : noremap ; :
inoremap jj <Esc> inoremap jj <Esc>
map <silent> <leader>V :source ~/.vimrc<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR> map <silent> <leader>V :source ~/.vimrc<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR>
"terminal remaps
tnoremap <Esc> <C-\><C-n>
"nnoremap <leader>d :NERDTreeToggle<cr> "nnoremap <leader>d :NERDTreeToggle<cr>
map \q :q<CR> map \q :q<CR>
map \w :w<CR> map \w :w<CR>