Skip to content

Instantly share code, notes, and snippets.

@santa4nt
Created April 22, 2010 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santa4nt/374709 to your computer and use it in GitHub Desktop.
Save santa4nt/374709 to your computer and use it in GitHub Desktop.
My .vimrc configuration.
" .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