You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
707 B
VimL
32 lines
707 B
VimL
if filereadable(expand("$VIMRUNTIME/defaults.vim"))
|
|
source $VIMRUNTIME/defaults.vim
|
|
endif
|
|
if !empty($JSSHHOME)
|
|
let localdir = $JSSHHOME
|
|
else
|
|
let localdir = "/tmp"
|
|
endif
|
|
if has("vms")
|
|
set nobackup " do not keep a backup file, use versions instead
|
|
else
|
|
set backup " keep a backup file (restore to previous version)
|
|
if has('persistent_undo')
|
|
set undofile " keep an undo file (undo changes after closing)
|
|
endif
|
|
endif
|
|
set autoindent
|
|
if has('syntax') && has('eval')
|
|
packadd! matchit
|
|
endif
|
|
set number
|
|
set laststatus=2
|
|
set ignorecase
|
|
set smartcase
|
|
set t_Co=256
|
|
let &undodir=localdir . "//"
|
|
let &directory=localdir . "//"
|
|
let &backupdir=localdir . "//"
|
|
set mouse=""
|
|
set shiftwidth=4
|
|
set tabstop=4
|