X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5e3ed1e5a5c0bd74536e3b8d412a4906fe014568..5f6d6e1d6332c651dfc9cf899e467853704e4223:/.vimrc diff --git a/.vimrc b/.vimrc index 6f3d5f6..4e7e304 100644 --- a/.vimrc +++ b/.vimrc @@ -1,6 +1,3 @@ -" vim: set ft=vim : -version 7.1 - " obtained from the output of :options, then postprocessed: " d2} " :%s/^ *[[:digit:]]\+/""" @@ -1448,20 +1445,9 @@ filetype plugin indent on syntax on colorscheme madduck -autocmd BufNewFile,BufRead /etc/logcheck/*.d*/* set tw=0 -autocmd BufNewFile,BufRead /home/madduck/debian/pkg/logcheck/*/rulefiles/linux/*.d*/* set tw=0 -autocmd BufNewFile,BufRead /home/madduck/.tmp/dir????? set tw=0 - -" 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)