From b512c057fd6c77d43033e009731ad6f0219ca6d5 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