X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c448fa65695986b4979fed1ba3975352206bb474..80dda625da425683a045c649d086197fdac91424:/.vimrc?ds=sidebyside diff --git a/.vimrc b/.vimrc index 31b11c9..b20d808 100644 --- a/.vimrc +++ b/.vimrc @@ -670,7 +670,7 @@ set fo=tcroqn1l " pattern to recognize a numbered list " (local to buffer) " set flp=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s* -let &flp='^\v\s*((\a|\d+)[]:.)}/-]\s|[-\*.·→+]\s)\s*' +let &flp='^\v\s*(((\a|\d+)[]:.)}/-])+|[-\*.·→+])\s+' " formatexpr " expression used for "gq" to format lines @@ -1452,6 +1452,8 @@ colorscheme madduck " leave the w mark whenever a file is written autocmd BufWrite * normal mw +autocmd BufRead *.vcf set filetype=vcard + " leave the i mark whenever we go idle (after updatetime) "augroup markidle "autocmd CursorHold * normal mi