e522010500ab

Merge.
[view raw] [browse files]
author Steve Losh <steve@dwaiter.com>
date Tue, 21 Sep 2010 13:18:52 -0400
parents 4418d4cb09e4 (diff) 907ff6053251 (current diff)
children 5c6cffa71d57
branches/tags (none)
files content/blog/2010/09/coming-home-to-vim.html

Changes

--- a/content/blog/2010/09/coming-home-to-vim.html	Mon Sep 20 22:02:33 2010 -0400
+++ b/content/blog/2010/09/coming-home-to-vim.html	Tue Sep 21 13:18:52 2010 -0400
@@ -279,15 +279,18 @@
 
     :::vim
     filetype off
+    call pathogen#runtime_append_all_bundles()
     filetype plugin indent on
 
     set nocompatible
 
     set modelines=0
 
-I'm not entirely sure what the `filetype` lines do. I've read that they're
-necessary and so far I haven't had problems.  There's only so much time that
-I want to spend on digging into Vim's internals.
+The `filetype` and `call` lines are for loading Pathogen, which is described in
+the bundles section. See [Pathogen's docs][pathogendocs] to learn about why the
+first `filetype` line is there.
+
+[pathogendocs]: http://www.vim.org/scripts/script.php?script_id=2332
 
 `set nocompatible` gets rid of all the crap that Vim does to be vi compatible.
 It's 2010 -- we don't need to be compatible with vi at the expense of