Browse Source

templates now need some formatting too; more bundles and less bundles

master
Julio Biason 12 years ago
parent
commit
777af77e4f
  1. 16
      configs/vimrc

16
configs/vimrc

@ -72,6 +72,7 @@ set fo=tcroq " wrap with textwidth, wrap comments, insert commend leade
set autoindent " auto indent set autoindent " auto indent
set smartindent " smart identation set smartindent " smart identation
set number set number
set wim=longest,list " file auto-completion
let mapleader="," " use comma to start user-defined (in plugins) functions let mapleader="," " use comma to start user-defined (in plugins) functions
@ -84,6 +85,10 @@ au FileType python set expandtab tabstop=4 shiftwidth=4 softtabstop=4 textwidth=
" reStructured files follow python closely, but use 3 tab stops instead of 4 " reStructured files follow python closely, but use 3 tab stops instead of 4
au FileType rst set expandtab tabstop=3 sw=3 sts=3 textwidth=78 au FileType rst set expandtab tabstop=3 sw=3 sts=3 textwidth=78
" templates (Jinja2 in this case) will also have spaces instead of tabs and
" follow most of the python standards (with the exception of the textwidth)
au FileType htmldjango set expandtab tabstop=4 shiftwidth=4 softtabstop=4
" the smarty filetypes doesn't have any sort of indentation, so we set it to " the smarty filetypes doesn't have any sort of indentation, so we set it to
" auto " auto
au FileType smarty set ai au FileType smarty set ai
@ -155,14 +160,10 @@ else
imap <M-0> <ESC>:tabn 10<CR>a imap <M-0> <ESC>:tabn 10<CR>a
endif endif
" file auto-completion
set wim=longest,list
" custom PHP syntax file configuration " custom PHP syntax file configuration
let php_smart_members=1 let php_smart_members=1
" Vundle stuff starts here " Vundle stuff starts here
"filetype off
set rtp+=~/.vim/bundle/vundle/ set rtp+=~/.vim/bundle/vundle/
call vundle#rc() call vundle#rc()
@ -172,8 +173,11 @@ Bundle 'tpope/vim-commentary'
Bundle 'godlygeek/tabular' Bundle 'godlygeek/tabular'
Bundle 'jiangmiao/auto-pairs' Bundle 'jiangmiao/auto-pairs'
Bundle 'nvie/vim-flake8' Bundle 'nvie/vim-flake8'
Bundle 'scrooloose/nerdtree' " Bundle 'scrooloose/nerdtree'
Bundle 'terryma/vim-multiple-cursors' " Bundle 'terryma/vim-multiple-cursors'
Bundle 'msanders/snipmate.vim'
Bundle 'kien/ctrlp.vim'
" Bundle 'Glench/Vim-Jinja2-Syntax'
" powerline settings " powerline settings
""let g:Powerline_symbols = 'fancy' ""let g:Powerline_symbols = 'fancy'

Loading…
Cancel
Save