aboutsummaryrefslogtreecommitdiff
path: root/modules/vim/vimrc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
commit6b9187673ee62d11042832f938913f15131592a7 (patch)
tree9e70016667efe273a72ab351aafaddbdb099e123 /modules/vim/vimrc
parent25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff)
downloadmetadot-6b9187673ee62d11042832f938913f15131592a7.tar.gz
metadot-6b9187673ee62d11042832f938913f15131592a7.tar.bz2
Adding metadot script
Diffstat (limited to 'modules/vim/vimrc')
-rw-r--r--modules/vim/vimrc69
1 files changed, 0 insertions, 69 deletions
diff --git a/modules/vim/vimrc b/modules/vim/vimrc
deleted file mode 100644
index 3490924..0000000
--- a/modules/vim/vimrc
+++ /dev/null
@@ -1,69 +0,0 @@
-syn on
-set nonu
-
-set background=dark
-set nobackup
-set nowritebackup
-
-set noautoindent
-"set smartindent
-set tabstop=2
-set shiftwidth=2
-set expandtab
-set mouse-=a
-set autoread
-set nocompatible
-
-set title
-set titleold="terminal"
-set titlestring=vim:\ %F
-
-" Folding
-set foldmethod=syntax
-let php_folding = 1
-let g:sh_fold_enabled = 1
-
-" PHP
-let php_sql_query = 1
-
-au BufNewFile,BufRead *.thtml setfiletype php
-au BufNewFile,BufRead *.mdwn set ft=ikiwiki
-au BufNewFile,BufRead *.rem set ft=remind
-
-augroup mkd
- autocmd BufRead *.mkd set ai formatoptions=tcroqn2 comments=n:>
-augroup END
-
-if has("autocmd")
- " Drupal *.module and *.install files.
- augroup module
- autocmd BufRead,BufNewFile *.profile set filetype=php
- autocmd BufRead,BufNewFile *.module set filetype=php
- autocmd BufRead,BufNewFile *.install set filetype=php
- autocmd BufRead,BufNewFile *.test set filetype=php
- augroup END
-endif
-
-" Pathogen - https://github.com/tpope/vim-pathogen
-call pathogen#infect()
-
-" No modelines
-set nomodeline
-
-" Syntax check
-let g:syntastic_mode_map = { 'mode': 'passive',
- \ 'active_filetypes': [],
- \ 'passive_filetypes': [] }
-
-" NERDTree section
-" Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc
-
-"autocmd VimEnter * NERDTree
-"autocmd VimEnter * wincmd p
-
-function OpenNERDTree()
- execute ":NERDTree"
- endfunction
- command -nargs=0 OpenNERDTree :call OpenNERDTree()
-
- nmap <ESC>t :OpenNERDTree<CR>