X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/bb6e86acd4b6ca711b4d52f372042372b3cde362..609f11a33c3db88a146c5b1ba3a8bb97e4d17e4f:/.vimrc?ds=sidebyside diff --git a/.vimrc b/.vimrc index b536035..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=^\\s*\\d\\+[\\]:.)}]\\s* +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