1
0
Fork 0

more neovim support

This commit is contained in:
Von Random 2018-07-10 03:29:46 +03:00
parent 3d80bb469d
commit 1b0679a10c

10
vimrc
View file

@ -6,8 +6,8 @@ set list listchars=tab:\|_,nbsp:x,trail:*
set hlsearch incsearch ignorecase smartcase set hlsearch incsearch ignorecase smartcase
" scroll before reaching the first / final line " scroll before reaching the first / final line
set scrolloff=3 sidescrolloff=15 sidescroll=1 set scrolloff=3 sidescrolloff=15 sidescroll=1
" disable bell and fix termcap " disable bell
set noerrorbells visualbell t_vb= t_8f=[38;2;%lu;%lu;%lum t_8b=[48;2;%lu;%lu;%lum set noerrorbells visualbell
" indentation " indentation
set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab autoindent set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab autoindent
" status line " status line
@ -25,6 +25,10 @@ let g:sh_indent_case_labels=1
if v:version >= 703 if v:version >= 703
set colorcolumn=80 relativenumber formatoptions+=j set colorcolumn=80 relativenumber formatoptions+=j
endif 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 " maps
"leader "leader
@ -65,7 +69,7 @@ if v:version >= 800
autocmd FileType sh packadd ale autocmd FileType sh packadd ale
if $TERM != 'linux' if $TERM != 'linux'
set termguicolors bg=dark ttymouse=sgr set termguicolors bg=dark
colorscheme hybrid colorscheme hybrid
endif endif
endif endif