more neovim support
This commit is contained in:
parent
3d80bb469d
commit
1b0679a10c
1 changed files with 7 additions and 3 deletions
10
vimrc
10
vimrc
|
@ -6,8 +6,8 @@ set list listchars=tab:\|_,nbsp:x,trail:*
|
|||
set hlsearch incsearch ignorecase smartcase
|
||||
" scroll before reaching the first / final line
|
||||
set scrolloff=3 sidescrolloff=15 sidescroll=1
|
||||
" disable bell and fix termcap
|
||||
set noerrorbells visualbell t_vb= t_8f=[38;2;%lu;%lu;%lum t_8b=[48;2;%lu;%lu;%lum
|
||||
" disable bell
|
||||
set noerrorbells visualbell
|
||||
" indentation
|
||||
set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab autoindent
|
||||
" status line
|
||||
|
@ -25,6 +25,10 @@ let g:sh_indent_case_labels=1
|
|||
if v:version >= 703
|
||||
set colorcolumn=80 relativenumber formatoptions+=j
|
||||
endif
|
||||
" fix termcap and ttymouse, but not for neovim
|
||||
if !has('nvim')
|
||||
set ttymouse=sgr t_vb= t_8f=[38;2;%lu;%lu;%lum t_8b=[48;2;%lu;%lu;%lum
|
||||
endif
|
||||
|
||||
" maps
|
||||
"leader
|
||||
|
@ -65,7 +69,7 @@ if v:version >= 800
|
|||
autocmd FileType sh packadd ale
|
||||
|
||||
if $TERM != 'linux'
|
||||
set termguicolors bg=dark ttymouse=sgr
|
||||
set termguicolors bg=dark
|
||||
colorscheme hybrid
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue