Add file specific indent settings, .gitignore

This commit is contained in:
Edward Litherland-Smith 2020-12-16 08:49:19 +00:00
parent f7c6c8267f
commit c8364bacad
5 changed files with 11 additions and 4 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.netrwhist

5
.vimrc
View file

@ -9,12 +9,9 @@ if &diff
syntax off
endif
set expandtab
filetype plugin indent on
set autoindent
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4
noremap <C-J> <C-W><C-J>
noremap <C-K> <C-W><C-K>

View file

@ -0,0 +1 @@
setlocal expandtab

View file

@ -0,0 +1,4 @@
setlocal tabstop=4
setlocal shiftwidth=4
setlocal softtabstop=4
setlocal expandtab

4
after/ftplugin/sh.vim Normal file
View file

@ -0,0 +1,4 @@
setlocal tabstop=2
setlocal shiftwidth=2
setlocal softtabstop=2
setlocal expandtab