diff --git a/.gitmodules b/.gitmodules index eaaf20e..11107dc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule ".vim/bundle/git-vim"] path = .vim/bundle/git-vim url = https://github.com/motemen/git-vim +[submodule ".vim/bundle/snipmate.vim"] + path = .vim/bundle/snipmate.vim + url = https://github.com/msanders/snipmate.vim.git diff --git a/.vim/bundle/snipmate.vim b/.vim/bundle/snipmate.vim new file mode 160000 index 0000000..f5a75d0 --- /dev/null +++ b/.vim/bundle/snipmate.vim @@ -0,0 +1 @@ +Subproject commit f5a75d075d3c005ebe69e3f5e56cf99516e8aa3b diff --git a/.vim/template/production.html b/.vim/template/production.html deleted file mode 100644 index 298d71e..0000000 --- a/.vim/template/production.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/.vim/template/production.php b/.vim/template/production.php deleted file mode 100644 index 675fbb4..0000000 --- a/.vim/template/production.php +++ /dev/null @@ -1,5 +0,0 @@ -[Z W nmap w " -" template -function LoadHTMLTemplate() - 0r ~/.vim/template/production.html - normal Gdd -endfunction -function LoadPHPTemplate() - 0r ~/.vim/template/production.php - normal Gdd -endfunction -function LoadPerlTemplate() - 0r ~/.vim/template/production.pl - normal Gdd -endfunction - -autocmd BufNewFile *.html call LoadHTMLTemplate() -autocmd BufNewFile *.pl call LoadPerlTemplate() -autocmd BufNewFile *.php call LoadPHPTemplate() -" " other au BufNewFile,BufRead *.psgi setf perl au BufNewFile,BufRead *.json setf json