aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-03-12 11:07:28 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commitec6b188113fe4fdcae2ab04a53b8894af3f45b24 (patch)
tree9bbb61a46e4d71a82541794bc5b419765cd08ef9
parent4b9fa0b81132e62b85a39f65e94beb68aaad6522 (diff)
downloaddotnvim-ec6b188113fe4fdcae2ab04a53b8894af3f45b24.tar.gz
dotnvim-ec6b188113fe4fdcae2ab04a53b8894af3f45b24.zip
tab/space management
Try to use something more sensible, following `:help tabstop` advice.
-rw-r--r--vimrc10
1 files changed, 4 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index 0baa7e3..ca1feb1 100644
--- a/vimrc
+++ b/vimrc
@@ -2,13 +2,14 @@
set wrap
" tab position
-set tabstop=4
-
-set autoindent
+set softtabstop=4
" autotab
set shiftwidth=4
+" ditto
+set autoindent
+
" syntax highlighting
syntax on
@@ -41,9 +42,6 @@ set statusline +=%=%-10L
" Line, column and percentage
set statusline +=%=%-14.(%l,%c%V%)\ %P
-" extra C
-autocmd FileType c setl ts=4
-
" syntastic
let g:syntastic_python_checkers = ['pyflakes']
let g:syntastic_go_checkers = ['go', 'golint', 'govet', 'errcheck']