neomake is the path and the way
This commit is contained in:
parent
7f49c26753
commit
972383492b
4 changed files with 8 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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~
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue