Skip to content

Instantly share code, notes, and snippets.

@StuffbyYuki
Created November 14, 2020 23:02
Show Gist options
  • Select an option

  • Save StuffbyYuki/c38801c49bb4699bc64f651789e742ff to your computer and use it in GitHub Desktop.

Select an option

Save StuffbyYuki/c38801c49bb4699bc64f651789e742ff to your computer and use it in GitHub Desktop.
Vim: Python indetation settings
" vi ~/.vimrc
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment