Skip to content

Instantly share code, notes, and snippets.

@samuell
Created August 22, 2012 10:07
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/3424137 to your computer and use it in GitHub Desktop.
Save samuell/3424137 to your computer and use it in GitHub Desktop.
Some .vimrc settings
set nocompatible
syntax on
set showmatch
set ignorecase
set showmode
set ts=4
set sw=4
set autoindent
set smartindent
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