Skip to content

Instantly share code, notes, and snippets.

@vi4m
Last active August 29, 2015 14:06
Show Gist options
  • Save vi4m/5276eb9c4442b787aad9 to your computer and use it in GitHub Desktop.
Save vi4m/5276eb9c4442b787aad9 to your computer and use it in GitHub Desktop.
Konfiguracja edytor pod pythona

VIM

cat ~/.vim/ftplugin/python.vim

set tabstop=8 
set expandtab 
set shiftwidth=4 
syntax on
set autoindent

cat ~/.vim/vimrc

filetype plugin on

Sublime Text

Command + , -> paste Settings:

  "rulers": [ 72, 79 ],
  "word_wrap": true,
  "wrap_width": 80,
  "tab_size": 4,
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": true,
  "ensure_newline_at_eof_on_save": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment