]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

switch vimperator hook to pentadactyl
authormartin f. krafft <madduck@madduck.net>
Thu, 16 Mar 2017 19:52:45 +0000 (08:52 +1300)
committermartin f. krafft <madduck@madduck.net>
Thu, 16 Mar 2017 19:52:45 +0000 (08:52 +1300)
.vimrc

diff --git a/.vimrc b/.vimrc
index 41a351e1260ed6368d5d1921a9ae48d184dcf5e2..191b1c31c000120aa5f983575bcbfcee4ade811b 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1460,6 +1460,7 @@ 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'))
 
 " 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
 
 
 autocmd BufRead *.vcf set filetype=vcard