Last active
December 21, 2015 01:49
-
-
Save vivisidea/6230836 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
set fileencodings=gb18030,utf-8,default | |
set fileencoding=utf8 | |
set encoding=utf8 | |
set formatoptions+=m | |
set formatoptions+=B | |
" -------------------------------------------------------------------------------- | |
" configure editor with tabs and nice stuff... | |
" -------------------------------------------------------------------------------- | |
set expandtab " enter spaces when tab is pressed | |
" set textwidth=120 " break lines when line length increases | |
set tabstop=4 " use 4 spaces to represent tab | |
set softtabstop=4 | |
set shiftwidth=4 " number of spaces to use for auto indent | |
set autoindent " copy indent from current line when starting a new line | |
" make backspaces more powerfull | |
set backspace=indent,eol,start | |
set ruler " show line and column number | |
syntax on " syntax highlighting | |
set showcmd " show (partial) command in status line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment