====== Editors settings ======
Here is my custom preferences for editors.
====== VIM ======
Edit: **~/.vimrc**
set mouse-=a
syntax on
set paste
set autoindent
" With expandtab option set, if you want to enter a real tab character use Ctrl-V key sequence.
set expandtab
set tabstop=4
set shiftwidth=4
Custom templates (github, monokai):
mkdir -p ~/.vim/colors
wget https://raw.githubusercontent.com/acarapetis/vim-colors-github/master/colors/github.vim -O ~/vim/colors/github.vim
wget https://raw.githubusercontent.com/BarretRen/vim-colorscheme/master/colors/monokai.vim -O ~/vim/colors/monokai.vim
To use new colorscheme by default add them to **~/.vimrc**
colorscheme monokai
====== Sublimetext 3 ======
Preferences -> Settings (User)
{
"color_scheme": "Monokai.sublime-color-scheme",
"theme": "Default.sublime-theme",
"rulers": [80],
"word_wrap": "true",
"translate_tabs_to_spaces": true,
"detect_indentation": false,
"tab_size": 4
}
====== VSCODE ======
File -> Preferences -> Settings -> Open Settings (JSON)
{
"git.enableSmartCommit": true,
"editor.wordWrap": "on",
"editor.rulers": [80],
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.insertSpaces": true
}