Only set the 'belloff' option when it exists to avoid a spurious error at launch on older Vims
This commit is contained in:
parent
4d8f7fb72d
commit
5355b4027b
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ endif
|
|||
inoremap jj <Esc>
|
||||
nnoremap <C-t> :Files<CR>
|
||||
|
||||
set belloff+=ctrlg
|
||||
if exists('+belloff')
|
||||
set belloff+=ctrlg
|
||||
endif
|
||||
|
||||
set completeopt+=menuone
|
||||
|
||||
set linebreak showbreak=↩
|
||||
|
|
Loading…
Reference in a new issue