Created
April 18, 2019 22:38
-
-
Save alanzhaonys/f470121f313ffc901f7c9354b57c45be to your computer and use it in GitHub Desktop.
Vimrc
This file contains 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 highlighting | |
syntax on | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=2 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=2 | |
" On pressing tab, insert 4 spaces | |
set expandtab | |
" Indentation | |
set autoindent expandtab shiftwidth=2 | |
"set autoindent | |
" Show current line number | |
set number | |
" Show relative line numbers | |
"set relativenumber | |
" Hightlight search | |
set hls | |
" Wrap text instead of being on one line | |
set lbr | |
" Mouse support | |
set mouse=a | |
" Color column | |
set cc=80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment