]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Create new split windows on the right.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index f98c379a4c46e88918934908e69a4d0d563510ce..5bc468a4bd3a0c97f77cc16a2d46d406ce03f3c1 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -105,6 +105,9 @@ if exists('+cryptmethod')
     set cryptmethod=blowfish
 endif
 
+" Create new split windows on the right (and not left).
+set splitright
+
 " Clear all vimrc-related autocmds. Has to be done here as the vimrc augroup
 " is used multiple times. Necessary to support reloading the vimrc.
 if has('autocmd')
@@ -769,6 +772,10 @@ if has('syntax')
     let g:perl_fold_blocks = 1
     let g:perl_nofold_packages = 1
     let g:perl_include_pod = 1 " syntax coloring for PODs
+    " PHP.
+    let g:php_folding = 3    " fold functions
+    let g:php_short_tags = 0 " no short tags (<? .. ?>), not always usable
+    let g:php_sql_query = 1  " highlight SQL queries in strings
     " Python.
     let g:python_highlight_all = 1
     " Shell.