Created
January 6, 2012 06:55
-
-
Save nkchenz/1569432 to your computer and use it in GitHub Desktop.
my .vimrc elflord theme, green comments, red strings and simple folds
This file contains hidden or 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 | |
set backspace=indent,eol,start | |
set ruler | |
set showcmd | |
set wildmenu | |
set fo=cqrt | |
set laststatus=2 | |
set textwidth=78 | |
set ww=<,>,h,l | |
set autoindent | |
" set no error bells | |
set noeb visualbell | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
let mapleader = "," | |
let maplocalleader = "," | |
syn on | |
filetype plugin indent on | |
au BufRead,BufNewFile *.py setfiletype python | |
au BufRead,BufNewFile *.wsgi setfiletype python | |
set mouse=nv | |
set number | |
colo desert2 | |
autocmd BufWritePre *.py normal m`:%s/\s\+$//e | |
let g:pyflakes_use_quickfix = 0 | |
let g:pep8_map='<leader>8' | |
hi StatusLine cterm=bold ctermfg=255 ctermbg=blue | |
hi StatusLineNC cterm=none ctermfg=252 ctermbg=red | |
set ignorecase | |
set smartcase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment