Skip to content

Instantly share code, notes, and snippets.

Avatar

Martin Grenfell scrooloose

View GitHub Profile
View chef.vim
function! SyntaxCheckers_chef_foodcritic_IsAvailable()
return executable('foodcritic')
endfunction
function! SyntaxCheckers_chef_foodcritic_GetLocList()
" let exe = expand(g:syntastic_ruby_exec)
" if !has('win32')
" let exe = 'RUBYOPT= ' . exe
" endif
@scrooloose
scrooloose / hax0r.vim
Created Jan 10, 2012 — forked from asgeo1/hax0r.vim
NERDTree custom mappings to make i and s reuse existing windows
View hax0r.vim
let g:NERDTreeCustomReuseWindows = '1'
call NERDTreeAddKeyMap({
\ 'key': 'w',
\ 'scope': 'all',
\ 'callback': 'NERDTreeCustomToggleReuse',
\ 'quickhelpText': 'Toggle use existing windows' })
function! NERDTreeCustomToggleReuse()
let g:NERDTreeCustomReuseWindows = g:NERDTreeCustomReuseWindows ? 0 : 1
You can’t perform that action at this time.