X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d79ccefe53846c5d9692e654d05110d00b95fb4f..4e0877a8959afe2e323a8761a22d8c294e18a142:/.vimrc diff --git a/.vimrc b/.vimrc index 7adcd85..3ae5792 100644 --- a/.vimrc +++ b/.vimrc @@ -1445,18 +1445,9 @@ filetype plugin indent on syntax on colorscheme madduck -" jump to last known position in file (:he last-position-jump) -autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g`\"zz" | endif - " leave the w mark whenever a file is written 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 BufWritePost */pentadactyl.*.txt exe 'write ' . fnameescape((exists('$TMPDIR') ? $TMPDIR : '/tmp') . '/pentadactyl.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