diff options
Diffstat (limited to '.exrc')
-rw-r--r-- | .exrc | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,8 +1,14 @@ -" Autowrap lines -set tw=80 +function s:build() + update + make! + let qf = getqflist() + if len(filter(getqflist(), 'get(v:val, "valid", 1)')) == 0 + call feedkeys("
") + endif +endfunction -" Auto-compile the site -nnoremap M :w \| make<CR><CR> +nnoremap <silent> M :call <sid>build()<cr> +set tw=80 let g:netrw_sort_sequence = '^index.gsp$,[\/]$,' let g:netrw_list_hide .= ',^.*\.html$' |