Skip to content

Instantly share code, notes, and snippets.

@zhiyao
Created June 5, 2019 14:04
Show Gist options
  • Save zhiyao/82c871136fd628920a50318c73f7274b to your computer and use it in GitHub Desktop.
Save zhiyao/82c871136fd628920a50318c73f7274b to your computer and use it in GitHub Desktop.
my_configs.vim
nnoremap <buffer> <UP> :exec '!python' shellescape(@%, 1)<cr>
syntax on
filetype indent plugin on
set number
autocmd FileType python set tabstop=2 softtabstop=2 shiftwidth=2 expandtab smarttab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment