Skip to content

Instantly share code, notes, and snippets.

@samuell
Created June 12, 2012 11:13
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 samuell/2916953 to your computer and use it in GitHub Desktop.
Save samuell/2916953 to your computer and use it in GitHub Desktop.
vimrc settings to use vim as a python ide
set nocompatible
syntax on
set showmatch
set ignorecase
set showmode
set ts=4
set sw=4
set autoindent
set smartindent
set number
autocmd FileType python runtime! autoload/pythoncomplete.vim
imap <c-space> <c-x><c-o>
:set backspace=2
if has("autocmd")
autocmd FileType python set complete+=k/home/raza/.vim/pydiction-0.5/pydiction isk+=.,(
endif " has("autocmd"
filetype plugin on
filetype indent on
" Mappings
nmap <C-N> :noh <CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment