Browse Source

Install and configure tpope's surround plugin

master
jimi 14 years ago
parent
commit
59249b79e2
  1. 3
      .gitmodules
  2. 1
      bundle/surround
  3. 5
      vimrc

3
.gitmodules

@ -4,3 +4,6 @@
[submodule "bundle/fugitive"]
path = bundle/fugitive
url = git://github.com/tpope/vim-fugitive.git
[submodule "bundle/surround"]
path = bundle/surround
url = git://github.com/tpope/vim-surround.git

1
bundle/surround

@ -0,0 +1 @@
Subproject commit 27710a2224d6dd0486d1c40d09ef18dd752e7d37

5
vimrc

@ -26,3 +26,8 @@ if has("gui_running")
set co=115
set lines=40
endif
" Settings for tpope's surround plugin
let g:surround_45 = "<% \r -%>"
let g:surround_61 = "<%= \r %>"
autocmd FileType php let b:surround_45 = "<?php \r ?>"