Make tabstop=2 default behvaviour

Reduce extra ft files by making tabstop=2 the default behaviour
and overwriting as needed, instead of multiple files just setting
tabstop for a specific filetype and nothing else
This commit is contained in:
Edward Litherland-Smith 2021-02-23 11:34:38 +00:00
parent 146b537744
commit 09839b8a02
4 changed files with 2 additions and 6 deletions

View file

@ -1,2 +0,0 @@
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -1,2 +0,0 @@
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -1,2 +0,0 @@
setlocal shiftwidth=2
setlocal softtabstop=2

2
vimrc
View file

@ -28,6 +28,8 @@ set wrap
set linebreak
set autoread
set colorcolumn=+1
set shiftwidth=2
set softtabstop=2
au BufRead,BufNewFile *.ipynb setlocal filetype=json
au BufRead,BufNewFile *.md setlocal spell