User Tools

Site Tools


sandbox:editors-settings

This is an old revision of the document!


Editors settings

Here is my custom preferences for editors.

VIM

Edit: ~/.vimrc

set paste
set autoindent
" With expandtab option set, if you want to enter a real tab character use Ctrl-V<Tab> 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
}
sandbox/editors-settings.1556214581.txt.gz · Last modified: 2019/04/25 20:49 by dreiggy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki