inital checkin using existing vim and preparing for use of bash_magic

This commit is contained in:
2012-05-06 12:17:04 -07:00
commit 064a074ddf
1555 changed files with 361845 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
" modify the indenting
set expandtab " insert spaces instead of tabs
set tabstop=2 " use X spaces when tab is pressed
set shiftwidth=2 " shifttabs are also X spaces
" vim-coffee-sript settings
" TODO: add check for vim-coffee-script
vmap <leader>v <esc>:'<,'>:CoffeeCompile vert<CR>
map <leader>v :CoffeeCompile vert<CR>
map <leader>c :silent CoffeeMake <CR>

View File

@@ -0,0 +1,4 @@
" modify the indenting
set expandtab " insert spaces instead of tabs
set tabstop=2 " use X spaces when tab is pressed
set shiftwidth=2 " shifttabs are also X spaces

View File

@@ -0,0 +1,12 @@
" disable default indent rules
"let b:did_indent = 1
" disable indenting on the fly
nnoremap <F8> :setl noai nosi nocin indentexpr= indentkeys=
" enable indenting on the fly
nnoremap <F7> :setl ai si cin indentexpr= indentkeys=0{,0},:,0#,!^F,o,O,e
" modify the indenting
"set expandtab " insert spaces instead of tabs
set tabstop=2 " use X spaces when tab is pressed
set shiftwidth=2 " shifttabs are also X spaces

View File

@@ -0,0 +1,8 @@
" disable indenting on the fly
nnoremap <F8> :setl indentexpr= indentkeys=
" enable indenting on the fly
nnoremap <F7> :setl indentexpr=GetPhpIndent() indentkeys=0{,0},0),:,!^F,o,O,e,*<Return>,=?>,=<?,=*/
" Folding
"let php_folding=1
let g:DisableAutoPHPFolding = 1