Last active
February 16, 2017 16:01
-
-
Save alarsyo/6f8475004ad4c0c9839eac17cc4dbc69 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
" Disable backup files ending in ~ | |
set nobackup | |
" UTF8 | |
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
" Use indentation of previous line | |
set autoindent | |
" Better indentation for most languages | |
set smartindent | |
" C indentation | |
set cindent | |
" Tab display length | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
" If spaces prefered, uncomment the following line | |
"set expandtab | |
" Syntax color | |
syntax on | |
" Line numbers | |
set number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment