Created
April 22, 2010 01:52
-
-
Save santa4nt/374709 to your computer and use it in GitHub Desktop.
My .vimrc configuration.
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
" .vimrc configuration | |
set nocompatible | |
set autoindent | |
set smartindent | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set showmatch | |
set ruler | |
set hlsearch | |
set nowrap | |
" turn on line numbers | |
set number | |
" toggle line numbers and fold column for easy copying: | |
nnoremap <F2> :set nonumber!<CR>:set foldcolumn=0<CR> | |
set background=light | |
colorscheme zellner | |
" execute 'set listchars+=tab:' . nr2char(187) . nr2char(183) | |
" set list | |
syntax on | |
" disable bells | |
set vb t_vb="" | |
" For python-style comment (#) not to be auto-outdented. | |
inoremap # X<C-H># | |
filetype plugin indent on | |
" Python plugins | |
autocmd FileType python set complete+=k~/.vim/syntax/python.vim isk+=.,( | |
" Execute file being edited with <Shift> + e: | |
map <buffer> <S-e> :w<CR>:!/usr/bin/env python % <CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment