Update vimrc

This commit is contained in:
Rob Watson 2021-04-01 09:20:52 +02:00
parent c18520d423
commit 1ea4e04727
1 changed files with 8 additions and 0 deletions

8
vimrc
View File

@ -54,6 +54,7 @@ set noswapfile
set ttymouse=sgr set ttymouse=sgr
set mouse=a set mouse=a
set mousemodel=popup_setpos set mousemodel=popup_setpos
" https://github.com/tpope/vim-sensible/issues/78:
set lazyredraw set lazyredraw
set timeoutlen=1000 set timeoutlen=1000
set ballooneval set ballooneval
@ -68,6 +69,12 @@ set thesaurus=$HOME/Documents/thesaurus/thesaurus_pkg/thesaurus.txt
set pumheight=200 set pumheight=200
set completeopt=menu,menuone,popup,noselect set completeopt=menu,menuone,popup,noselect
set completepopup=width:300,height:50,align:item,border:off set completepopup=width:300,height:50,align:item,border:off
set complete-=i
set nrformats-=octal
set ttimeout
set ttimeoutlen=100
set formatoptions+=j
set autoread
" Enable 24-bit colours. " Enable 24-bit colours.
" https://github.com/alacritty/alacritty/issues/109#issuecomment-440353106 " https://github.com/alacritty/alacritty/issues/109#issuecomment-440353106
@ -100,6 +107,7 @@ augroup end
" Don't remember the current directory for a given file: " Don't remember the current directory for a given file:
set viewoptions-=curdir set viewoptions-=curdir
set viewoptions-=options set viewoptions-=options
set sessionoptions-=options
" Key mappings: " Key mappings:
nnoremap j gj nnoremap j gj