Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:hanzhixing/.vim
- Loading branch information
Showing
3 changed files
with
56 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
STEPS FOR THE FIRST TIME: | ||
|
||
cd ~ | ||
rm -rf ~/.vim/ | ||
git clone git@github.com:hanzhixing/.vim.git | ||
ln -sf ~/.vim/vimrc ~/.vimrc | ||
cd .vim | ||
mkdir bundle | ||
cd bundle | ||
git clone git://github.com/tpope/vim-pathogen.git | ||
git clone git://github.com/scrooloose/nerdtree.git | ||
git clone git://github.com/vim-scripts/taglist.vim.git | ||
git clone git://github.com/vim-scripts/bufexplorer.zip.git | ||
git clone git://github.com/fholgado/minibufexpl.vim.git | ||
git clone git://github.com/vim-scripts/matchit.zip.git | ||
git clone https://github.com/tpope/vim-pathogen.git | ||
git clone https://github.com/scrooloose/nerdtree.git | ||
git clone https://github.com/vim-scripts/taglist.vim.git | ||
git clone https://github.com/vim-scripts/bufexplorer.zip.git | ||
git clone https://github.com/fholgado/minibufexpl.vim.git | ||
git clone https://github.com/vim-scripts/matchit.zip.git | ||
vim | ||
:Helptags | ||
:q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
" Vim syntax file | ||
" Language: PHP Templates (Solarphp, PHPSavant etc...) | ||
" Maintainer: Giuliani Sanches (giulianit at gmail dot com) | ||
" URL: http://giulianisanches.blogspot.com | ||
" Last Change: 2007 Novembro 20 | ||
" Version: 0.1.2 | ||
" | ||
" ################################################################################################### | ||
" Based on Armin Ronacher mako.vim syntax file (http://www.vim.org/scripts/script.php?script_id=1858) | ||
" ################################################################################################### | ||
" | ||
" For version 5.x: Clear all syntax items | ||
" For version 6.x: Quit when a syntax file was already loaded | ||
if version < 600 | ||
syntax clear | ||
elseif exists("b:current_syntax") | ||
finish | ||
endif | ||
|
||
if !exists("main_syntax") | ||
let main_syntax = "html" | ||
endif | ||
|
||
"Source the html syntax file | ||
ru! syntax/html.vim | ||
unlet b:current_syntax | ||
|
||
"Put the php syntax file in @phpTop | ||
syn include @phpTop syntax/php.vim | ||
|
||
" Block rules | ||
syn region phpBlock start=#<?php# end=#?># keepend contains=@phpTop | ||
|
||
" Default highlighting links | ||
if version >= 508 || !exists("did_php_syn_inits") | ||
if version < 508 | ||
let did_php_syn_inits = 1 | ||
com -nargs=+ HiLink hi link <args> | ||
else | ||
com -nargs=+ HiLink hi def link <args> | ||
endif | ||
|
||
delc HiLink | ||
endif | ||
|
||
let b:current_syntax = "html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters