diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2024-02-23 01:01:29 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-23 01:01:29 +0100 |
| commit | bc9b490ea8afc2feec6f39dc1dafc5ea11d6b8d6 (patch) | |
| tree | 211edf1fcd4e494b114374179285463c9530faaf /.exrc | |
| parent | 79b7ac752e18672935b887fcaccdc360a5ea7eee (diff) | |
More things
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$' |