Skip to content

Instantly share code, notes, and snippets.

@seyyah
Created May 3, 2010 16:13
Show Gist options
  • Save seyyah/388254 to your computer and use it in GitHub Desktop.
Save seyyah/388254 to your computer and use it in GitHub Desktop.
syntax on
" paragraph reformating
imap <F6> <esc>{!}par<enter><insert>
map <F6> {!}par<enter>
" rest
" @h ardından "=","-", yaz
let @h = "yypVr"
set number
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,with,try,except,finally,def,class
autocmd BufRead *.py set tabstop=4
autocmd BufRead *.py set softtabstop=4
autocmd BufRead *.py set shiftwidth=4
"http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/
nmap <F12> :Gist<CR>
imap <F12> <ESC>:Gist<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment