X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/ae835fc9a2ead05cca90b1e003592aa4d8780527..00265670bcd9bfb48f74b6a8f30077f93fc88e86:/vim/vimrc?ds=inline diff --git a/vim/vimrc b/vim/vimrc index 4a51a99..9af477e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -183,6 +183,7 @@ set lazyredraw " don't redraw while executing macros set list " show chars defined in 'listchars' set listchars=tab:❭\ " list of strings used for list mode set listchars+=extends:❯,precedes:❮ +set listchars+=nbsp:␣ " Only shown when not in insert mode set listchars+=trail:· augroup trailing @@ -223,7 +224,9 @@ set ttyfast " using the mouse {{{2 set mouse=rnv " list of flags for using the mouse -set ttymouse=xterm " type of mouse +if !has('nvim') + set ttymouse=xterm " type of mouse +endif " messages and info {{{2 set showcmd " Show (partial) command in status line. @@ -254,7 +257,7 @@ set formatoptions+=l " do not wrap lines that have been longer when starting set formatoptions+=t " Auto-wrap text using textwidth set formatoptions-=o " Do not insert comment leader after hitting o or O in normal mode -set nrformats=hex " number formats recognized for CTRL-A and CTRL-X commands +set nrformats-=octal " don't inc/dec octal numbers with ^[AX] set complete=. " scan the current buffer ( 'wrapscan' is ignored) set complete+=w " scan buffers from other windows