Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
dotfiles/.vimrc
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
61 lines (49 sloc)
1.54 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " make VIM no VI-compatible | |
filetype off " required | |
" Set the runtime path to include Vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
" let Vundle manage Vundle, required | |
Plugin 'tmhedberg/SimpylFold' | |
Plugin 'vim-scripts/indentpython.vim' | |
" Plugin 'Valloric/YouCompleteMe' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'xuhdev/vim-latex-live-preview' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'vim-airline/vim-airline-themes' | |
Plugin 'tpope/vim-fugitive' | |
call vundle#end() | |
filetype plugin indent on | |
set splitbelow | |
set splitright | |
" Split navigations | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
" Enable Folding | |
set foldmethod=indent | |
set foldlevel=99 | |
" Enable folding with the spacebar | |
nnoremap <space> za | |
" vim-latex-live-preview settings | |
autocmd Filetype tex setl updatetime=1 | |
let g:livepreview_previewer='open -a Preview' | |
"au BufNewFile,BufRead *.py set tabstop=4 | |
"au BufNewFile,BufRead *.py set softtabstop=4 | |
"au BufNewFile,BufRead *.py set shiftwidth=4 | |
"au BufNewFile,BufRead *.py set textwidth=79 | |
"au BufNewFile,BufRead *.py set expandtab | |
"au BufNewFile,BufRead *.py set autoindent | |
"au BufNewFile,BufRead *.py set fileformat=unix | |
"au BufNewFile,BufRead *.py set shiftround | |
"au BufNewFile, BufRead *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ | |
set encoding=utf-8 | |
let python_highlight_all=1 | |
syntax on | |
set colorcolumn=80 | |
set number relativenumber | |
colorscheme badwolf | |
"colorscheme zenburn | |
let NERDTreeIgnore=['\.pyc', '\~$'] |