Restore noexpandtab.

This commit is contained in:
2014-10-31 22:29:28 +04:00
parent afdf5084af
commit a81cae9995

View File

@@ -2,8 +2,14 @@
"source $VIMRUNTIME/mswin.vim "source $VIMRUNTIME/mswin.vim
"behave mswin "behave mswin
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$" if has("multi_byte")
set fileencodings=utf-8,latin1 if &termencoding == ""
let &termencoding = &encoding
endif
set encoding=utf-8
setglobal fileencoding=utf-8
"setglobal bomb
set fileencodings=ucs-bom,utf-8,latin1
endif endif
set nocompatible " Use Vim defaults (much better!) set nocompatible " Use Vim defaults (much better!)
@@ -16,7 +22,7 @@ set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time set ruler " show the cursor position all the time
set tabstop=4 " make tabes to be equal to 4 space chars. set tabstop=4 " make tabes to be equal to 4 space chars.
set shiftwidth=4 " for indentation shift by 4 chars. set shiftwidth=4 " for indentation shift by 4 chars.
set expandtab " this is for MG files. set noexpandtab " don't expand tabs. For MG devel/mg/.vimrc sets expandtab.
set softtabstop=4 " insert/<BS> deletes 4 space chars. set softtabstop=4 " insert/<BS> deletes 4 space chars.
set smarttab " insert/<BS> space in front of line instead of tab. set smarttab " insert/<BS> space in front of line instead of tab.
set fileformat=unix " line ending is unix set fileformat=unix " line ending is unix
@@ -222,13 +228,11 @@ nnoremap td :tabclose<CR>
if has("gui_running") if has("gui_running")
colors darkblue " set color scheme colors darkblue " set color scheme
"set guifont=FreeMono:h12
set lines=50 set lines=50
set columns=85 set columns=85
set encoding=utf-8
"set fileencodings=utf-8
if has("win32") || has("win64") if has("win32") || has("win64")
set guifont=Courier\ AM:h12 set guifont=FreeMono:h14:cANSI
"set guifont=Courier\ AM:h12
endif endif