From 29fbe811a97a00c6ae4ae4ba25d7bdd2c27038ac Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 26 Sep 2020 16:49:12 +0100 Subject: [PATCH] VIM: adds options for tabwidth I intentionally use a proper tab character rather than spaces because I prefer tabs to spaces. --- nvim/.config/nvim/plugin/settings.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvim/.config/nvim/plugin/settings.vim b/nvim/.config/nvim/plugin/settings.vim index 541fd7f0..94d65f7b 100644 --- a/nvim/.config/nvim/plugin/settings.vim +++ b/nvim/.config/nvim/plugin/settings.vim @@ -22,3 +22,9 @@ set hidden " Makes vim try to keep 5 lines visible at the top and bottom set scrolloff=5 + +" set tabwidth +set autoindent +set smartindent +set shiftwidth=4 +set tabstop=4