Skip to content

Commit

Permalink
vim: auto-update modification time in irssi scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Mar 8, 2013
1 parent 8eb70f2 commit 305dbcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vim/nancy/000-ft.vim
Expand Up @@ -67,6 +67,8 @@ let g:xf86conf_xfree86_versio = 2
set formatoptions=qro
set formatprg=perl\ -MText::Autoformat\ -e'autoformat'

au BufWrite ~/.irssi/scripts/*.pl %s/changed => ["'].*/\="changed => '" . strftime("%c") . "',"/e
au BufWrite ~/.irssi/* %s/changed => ["'].*/\="changed => '" . strftime("%c") . "',"/e
au BufRead ~/etc/feh/keys call Filetype_feh()
au BufRead,BufNewFile *.overtime setl ft=overtime
au BufRead,BufNewFile *.*htm*,*.xml setl sw=1
Expand Down

0 comments on commit 305dbcb

Please sign in to comment.