summaryrefslogtreecommitdiffhomepage
path: root/.exrc
blob: 3194173f36edaf718f49ebf76b05e83d0658f3d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function s:build()
	update
	make!
	let qf = getqflist()
	if len(filter(getqflist(), 'get(v:val, "valid", 1)')) == 0
		call feedkeys("
")
	endif
endfunction

nnoremap <silent> M :call <sid>build()<cr>

set tw=73
let g:netrw_sort_sequence = '^index.gsp$,[\/]$,'
let g:netrw_list_hide .= ',^.*\.html$'

autocmd BufEnter *.gsp setlocal commentstring=/\ %s