Install from official repository:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list sudo apt update sudo apt install sublime-text
- Install Package Control:
Tools -> Install Package Control
. - Type
Ctrl+Shift+P
- Package Control : Install Packages, and install:- GitGutter
- Anaconda
- Seti_UI
Go to Preferences -> Settings
and paste:
{ "draw_white_space": "all", "font_size": 15, "highlight_line": true, "rulers": [ 80 ], "scroll_past_end": true, "shift_tab_unindent": true, "theme": "Seti_orig.sublime-theme", "translate_tabs_to_spaces": true, "trim_trailing_white_space_on_save": true }
Install it with:
sudo apt-get install gdebi-core wget https://atom.io/download/deb -O atom-amd64.deb sudo gdebi atom-amd64.deb
Install all plugins from my public user:
$ apm stars --user carlos-jenkins --install
Now launch Atom and close it in order for it to create all configuration files. Now, configure the proxys as follows (use your own proxy configuration):
$ cat .atom/.apmrc https-proxy=http://web-proxy.cr.hpecorp.net:8080/ proxy=http://web-proxy.cr.hpecorp.net:8080/
Finally, configure your editor like this:
$ cat .atom/config.cson "*": core: audioBeep: false themes: [ "atom-dark-ui" "monokai" ] editor: invisibles: eol: " " scrollPastEnd: true showIndentGuide: true showInvisibles: true tabLength: 4 linter: lintOnFly: false minimap: plugins: "find-and-replace": true "git-diff": true selection: true tabs: usePreviewTabs: true "tree-view": hideVcsIgnoredFiles: true welcome: showOnStartup: false whitespace: ignoreWhitespaceOnCurrentLine: false
Changes with respect to the default:
- Added a minimap.
- Strip trailing whitespaces on save.
- Ensure one newline at the end of file.
- PEP8 linting for Python code, on save.
- Hide files in .gitignore from treeview.
- Scroll pass end of file.
- Show whitespace characters.
- Disable audio beep.
- Use monokai theme.