Skip to content

Instantly share code, notes, and snippets.

@samuell
Created September 5, 2012 16:38
Show Gist options
  • Save samuell/3639580 to your computer and use it in GitHub Desktop.
Save samuell/3639580 to your computer and use it in GitHub Desktop.
Vim RC settings for Python Dev
syntax on
set showmatch
set ignorecase
set showmode
set ts=4
set sw=4
set autoindent
set smartindent
" Enable file type plugins
filetype plugin on
let g:pydiction_location='/home/samuel/.vim/pydiction-1.2/complete-dict'
"set number
set expandtab
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/samuel/.vim/pydiction-1.2/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