summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-04 10:22:44 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-04 10:22:44 +0200
commit6dcaf53c2f3dad1c3b502dcb4042255bacab7742 (patch)
tree5ec6da18d9f1b2cb7ce36f8e4721444e2d9397df /vim/.vimrc
parentf73e9343456622bd773732a93e6831f58aa9302b (diff)
Default tabulation in Vim and NeoVim and remove tab-bar when not necessary
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 02afaee..3f8afce 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -55,10 +55,14 @@ set ignorecase
set smartcase
" Always show tabline (0=never, 1=when there are at least 2 tabs, 2=always)
-set showtabline=2
+set showtabline=1
" Mouse support
set mouse=a
" Set default colorscheme but dark comments -> Torte
colorscheme torte
+
+" Default tabs
+set tabstop=4 softtabstop=0 expandtab shiftwidth=4
+set autoindent