Skip to content

Instantly share code, notes, and snippets.

@haje01
Created May 6, 2015
Embed
What would you like to do?
.vimrc
" 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