23 lines
557 B
VimL
23 lines
557 B
VimL
|
" Set 'nocompatible' to ward off unexpected things that your distro might
|
||
|
" have made, as well as sanely reset options when re-sourcing .vimrc
|
||
|
set nocompatible
|
||
|
|
||
|
" Attempt to determine the type of a file based on its name and possibly its
|
||
|
" contents. Use this to allow intelligent auto-indenting for each filetype,
|
||
|
" and for plugins that are filetype specific.
|
||
|
if has('filetype')
|
||
|
filetype indent plugin on
|
||
|
endif
|
||
|
|
||
|
" Enable syntax highlighting
|
||
|
if has('syntax')
|
||
|
syntax on
|
||
|
endif
|
||
|
|
||
|
set number
|
||
|
set hidden
|
||
|
set showcmd
|
||
|
set hlsearch
|
||
|
set visualbell
|
||
|
set cmdheight=1
|