Last active
May 11, 2017 07:28
-
-
Save Luavis/e73a2a784f91d2adad312510b28d3119 to your computer and use it in GitHub Desktop.
minimum vim version
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 autoindent | |
set textwidth=79 | |
set wrap | |
set nowrapscan | |
set noswapfile | |
set visualbell | |
set ruler | |
set number | |
set fencs=ucs-bom,utf-8,euc-kr.latin1 | |
set fileencoding=utf-8 | |
set expandtab | |
set hlsearch | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set ignorecase | |
set gfn=D2Coding:h13 | |
set enc=utf-8 | |
set incsearch | |
set rtp+=$GOROOT/misc/vim | |
filetype plugin indent on | |
syntax on | |
filetype on | |
colorscheme elflord | |
set backspace=eol,start,indent | |
set history=1000 | |
set mouse=an | |
language en_US.UTF-8 | |
set laststatus=2 | |
highlight ExtraWhitespace ctermbg=red guibg=red | |
match ExtraWhitespace /\s\+$/ | |
autocmd FileType c,cpp,java,php,javascript,html,css,objective-c autocmd BufWritePre <buffer> :%s/\s\+$//e | |
highlight DiffAdd cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red | |
highlight DiffDelete cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red | |
highlight DiffChange cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment