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
Plaintext
32 lines
707 B
Plaintext
3 years ago
|
if filereadable(expand("$VIMRUNTIME/defaults.vim"))
|
||
|
source $VIMRUNTIME/defaults.vim
|
||
|
endif
|
||
|
if !empty($JSSHHOME)
|
||
|
let localdir = $JSSHHOME
|
||
|
else
|
||
|
let localdir = "/tmp"
|
||
|
endif
|
||
3 years ago
|
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
|
||
3 years ago
|
let &undodir=localdir . "//"
|
||
|
let &directory=localdir . "//"
|
||
|
let &backupdir=localdir . "//"
|
||
3 years ago
|
set mouse=""
|
||
|
set shiftwidth=4
|
||
|
set tabstop=4
|