"[UPDATED] 9 Jun 05"Convert text file to html":runtime! syntax/2html.vim"--- Optionssetsofttabstop=4
setshiftwidth=4
setexpandtabsetautoindentsetsmartindentsetignorecasesetbackground=dark
setrulerif &t_Co >2||has("gui_running")syntaxonsethlsearchendif"change to directory of current file automaticallyautocmdBufEnter * lcd%:p:h"--- Map keys"javadoc comment template, a space at end of line belowmap<F3><Esc>O/**<Esc>o *<Esc>o*/<Esc>ka
"if statement template"map <F4> <Esc>oif () {<Esc>o}<Esc>k^f(a"foreach statement templatemap<F5><Esc>oforeach($ as $k => $v) {<Esc>o}<Esc><<k9la
"indent a Block {}map<F6>=aB
"Fold a Blockmap<F7> zfaB
"check php syntaxmap<F8> :!php -l%<CR>" Command-line editing" back one wordcnoremap<Esc><C-B><S-Left>" forward one wordcnoremap<Esc><C-F><S-Right>settags=~/tags
"Buffer explorer. Place at ~/.vim/plugin. "http://vim.sourceforge.net/scripts/script.php?script_id=158"let g:miniBufExplVSplit = 20"let g:miniBufExplModSelTarget = 1