From 972383492bffb5cd2067bda84a5fff68e21c35aa Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Thu, 3 Dec 2015 09:06:43 -0800 Subject: [PATCH] neomake is the path and the way --- .gitignore | 1 + vim-files/vim/ftplugin/python.vim | 5 ++--- vim-files/vim/ftplugin/ruby.vim | 4 ++-- vim-files/vimrc | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 684f28f..405c5dc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ vim-files/vim/bundle vim-files/vim/undofiles/ .youcompletemesetup +vim-files/vim/.init.vim-rplugin~ diff --git a/vim-files/vim/ftplugin/python.vim b/vim-files/vim/ftplugin/python.vim index 21afdd6..a510967 100644 --- a/vim-files/vim/ftplugin/python.vim +++ b/vim-files/vim/ftplugin/python.vim @@ -1,6 +1,5 @@ -" Syntastic -let g:syntastic_python_checkers = ['pyflakes', 'pep8', 'pep257'] -let g:syntastic_python_pep8_args='--ignore=E501' +" Neomake +let g:neomake_python_enabled_makers = ['pyflakes', 'pep8'] """ Handy remaps noremap b Oimport ipdb;ipdb.set_trace() diff --git a/vim-files/vim/ftplugin/ruby.vim b/vim-files/vim/ftplugin/ruby.vim index 09d7fce..119197f 100644 --- a/vim-files/vim/ftplugin/ruby.vim +++ b/vim-files/vim/ftplugin/ruby.vim @@ -1,5 +1,5 @@ -" Syntastic -let g:syntastic_ruby_checkers = ['rubocop'] +" Neomake +let g:neomake_ruby_enabled_makers = ['rubocop'] " vim-rspec mappings nnoremap t :call RunCurrentSpecFile() diff --git a/vim-files/vimrc b/vim-files/vimrc index 042960c..c829292 100644 --- a/vim-files/vimrc +++ b/vim-files/vimrc @@ -99,7 +99,6 @@ let mapleader="," set nobackup set noswapfile set pastetoggle= -set shell=/bin/sh filetype on filetype plugin indent on @@ -189,6 +188,9 @@ endfunction noremap ; : inoremap jj map V :source ~/.vimrc:filetype detect:exe ":echo 'vimrc reloaded'" +"terminal remaps +tnoremap + "nnoremap d :NERDTreeToggle map \q :q map \w :w