set nohlsearch
set fo="tcq"
set modeline
-set showmatch
-set ignorecase
+
+set showcmd " Show (partial) command in status line.
+set showmatch " Show matching brackets.
+set ignorecase " Do case insensitive matching
+set smartcase " Do smart case matching
+set incsearch " Incremental search
+set autowrite " Automatically save before commands like :next and :make
+set hidden " Hide buffers when they are abandoned
autocmd FileType sls set tabstop=2 expandtab shiftwidth=2 softtabstop=2
autocmd FileType python set tabstop=4 expandtab shiftwidth=4 softtabstop=4
" set list
if has("multi_byte")
- set encoding=utf-8
- setglobal fileencoding=utf-8
+ set encoding=utf-8
+ setglobal fileencoding=utf-8
else
- echoerr "Sorry, this version of (g)vim was not compiled with +multi_byte"
+ echoerr "Sorry, this version of (g)vim was not compiled with +multi_byte"
endif
if has("autocmd")
\ exe "normal g'\"" |
\ endif |
\ endif
+ filetype plugin indent off
endif " has("autocmd")