X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a65bd0c4d101e1efa135f2d3f73428ed878e1be0..609f11a33c3db88a146c5b1ba3a8bb97e4d17e4f:/.vimrc diff --git a/.vimrc b/.vimrc index 2eab78a..a012169 100644 --- a/.vimrc +++ b/.vimrc @@ -673,7 +673,7 @@ set fo=tcroqn1l " pattern to recognize a numbered list " (local to buffer) " set flp=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s* -set flp=^\\v[[:space:]]*([[:digit:]]+\|[[:alpha:]])[\\]:.)}[:space:]][[:space:]]+ +set flp=^\\v[[:space:]]*([[:digit:]]\|[[:alpha:]]){1,2}[\\]:.)}[:space:]][[:space:]]+ " formatexpr " expression used for "gq" to format lines @@ -1461,6 +1461,8 @@ autocmd BufWrite * normal mw " keep an extra backup of vimperator's ctrl-i autocmd BufWritePost */vimperator-*.tmp exe 'write ' . fnameescape((exists('$TMPDIR') ? $TMPDIR : '/tmp') . '/vimperator.ctrl-i.' . strftime('%Y.%m.%d.%H%M%S')) +autocmd BufRead *.vcf set filetype=vcard + " leave the i mark whenever we go idle (after updatetime) "augroup markidle "autocmd CursorHold * normal mi