Created
May 6, 2015 01:44
-
-
Save haje01/6d338682157271d2a5e9 to your computer and use it in GitHub Desktop.
.vimrc
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
" My .vimrc | |
syntax on | |
set ic | |
set tabstop=4 | |
set shiftwidth=4 | |
set autoindent | |
set hlsearch | |
set smartindent | |
set backspace=2 | |
set expandtab | |
set termencoding=utf-8 fileencoding=utf-8 | |
set backupdir=/tmp/ | |
set laststatus=2 " Always show the statusline | |
set encoding=utf-8 " Necessary to show Unicode glyphs | |
set t_Co=256 " Explicitly tell Vim that the terminal supports 256 colors | |
au BufRead,BufNewFile *.html set textwidth=200 | |
au BufRead,BufNewFile *.kv set filetype=kivy | |
au BufRead,BufNewFile *.md set filetype=markdown | |
au BufRead,BufNewFile *.py set textwidth=79 | |
au BufRead,BufNewFile *.py set makeprg=pylint\ --reports=n\ --output-format=parseable\ %:p | |
au BufRead,BufNewFile *.py set errorformat=%f:%l:\ %m | |
au BufRead,BufNewFile *.js set tabstop=2 | |
au BufRead,BufNewFile *.js set shiftwidth=2 | |
au BufRead,BufNewFile *.html set tabstop=2 | |
au BufRead,BufNewFile *.html set shiftwidth=2 | |
au BufRead,BufNewFile *.css set tabstop=2 | |
au BufRead,BufNewFile *.css set shiftwidth=2 | |
au BufRead,BufNewFile *.py set tabstop=4 | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" My Bundles | |
Bundle 'L9' | |
Bundle 'FuzzyFinder' | |
Bundle 'The-NERD-Commenter' | |
Bundle 'xmledit' | |
Bundle 'pytest.vim' | |
Bundle 'Python-mode-klen' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
let g:pymode_rope_completion = 0 | |
let g:fuf_file_exclude = '\v\~$|TAGS|htmlconv|build|_build|VirtualEnvs|\.(o|png|exe|dll|bak|swp|class|pyc|orig)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])' | |
map <Leader> <ESC>:FufFile **/<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment