]> 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:

Revert "vcards now properly identified"
authormartin f. krafft <madduck@madduck.net>
Wed, 6 Mar 2019 20:38:40 +0000 (09:38 +1300)
committermartin f. krafft <madduck@madduck.net>
Wed, 6 Mar 2019 20:38:40 +0000 (09:38 +1300)
This reverts commit 4e0877a8959afe2e323a8761a22d8c294e18a142.

.vimrc

diff --git a/.vimrc b/.vimrc
index 31b11c9be3c74467f98060cf916de7e8574f5a7d..16de13abc631123fa2e5f7e2a928e716f05908e3 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -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