Minimal .vimrc
December 09, 2019 · 1 min to read
These few lines of config can make Vim usable, at least for me:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on " Enable syntax highlighting. | |
set autoindent " Indent according to previous line. | |
set number " Show line numbers | |
set expandtab " Use spaces for indentation | |
set shiftwidth=2 " >> indents with 2 spaces | |
set tabstop=2 " Indent with 2 spaces |