Created
September 5, 2012 16:38
-
-
Save samuell/3639580 to your computer and use it in GitHub Desktop.
Vim RC settings for Python Dev
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
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