Categories
Uncategorised

Fixing Vim 8.0

Debian Stretch and Ubuntu 18.04 (bionic) have come with vim 8.0, which breaks all sorts of things.

The following vimrc file seems to fix things

source /usr/share/vim/vim80/defaults.vim
set noincsearch
set scrolloff=0
set mouse=

And then a couple of things I like

set background=dark
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab

The first line has to source the default to enable things like syntax highlighting (which vanish if you just have a normal .vimrc

Leave a Reply

Your email address will not be published. Required fields are marked *