Browse Source

Merge branch 'master' of github.com:angrygoats/essentials

Taylor Bockman 9 years ago
parent
commit
8ce303b220
  1. 9
      dotfiles/config/nvim/init.vim

9
dotfiles/config/nvim/init.vim

@ -143,6 +143,10 @@ nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>
" the next search. " the next search.
nnoremap <silent> <CR> :noh<CR><CR> nnoremap <silent> <CR> :noh<CR><CR>
" Move tabs left and right
nnoremap <silent> _ :tabp<CR>
nnoremap <silent> + :tabn<CR>
" ctrlp hotkeys " ctrlp hotkeys
let g:ctrlp_map='<c-p>' let g:ctrlp_map='<c-p>'
let g:ctrlp_cmd='CtrlP' let g:ctrlp_cmd='CtrlP'
@ -160,6 +164,11 @@ else
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
endif endif
" Javascript linting on the fly
" npm install -g eslint to get it working
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_javascript_jsxhint_exec = 'eslint'
" Indent lines customizations " Indent lines customizations
" Color customizations " Color customizations

Loading…
Cancel
Save