From 6dcaf53c2f3dad1c3b502dcb4042255bacab7742 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Thu, 4 Aug 2016 10:22:44 +0200 Subject: Default tabulation in Vim and NeoVim and remove tab-bar when not necessary --- vim/.vim/ftplugin/c.vim | 3 --- vim/.vim/ftplugin/groovy.vim | 2 -- vim/.vim/ftplugin/java.vim | 2 -- vim/.vim/ftplugin/perl.vim | 2 -- vim/.vim/ftplugin/python.vim | 2 -- vim/.vim/ftplugin/sh.vim | 2 -- vim/.vim/ftplugin/sql.vim | 2 -- vim/.vim/ftplugin/vim.vim | 2 -- vim/.vimrc | 6 +++++- 9 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 vim/.vim/ftplugin/groovy.vim delete mode 100644 vim/.vim/ftplugin/java.vim delete mode 100644 vim/.vim/ftplugin/perl.vim delete mode 100644 vim/.vim/ftplugin/python.vim delete mode 100644 vim/.vim/ftplugin/sh.vim delete mode 100644 vim/.vim/ftplugin/sql.vim delete mode 100644 vim/.vim/ftplugin/vim.vim (limited to 'vim') diff --git a/vim/.vim/ftplugin/c.vim b/vim/.vim/ftplugin/c.vim index e4d4ca1..26ceca4 100644 --- a/vim/.vim/ftplugin/c.vim +++ b/vim/.vim/ftplugin/c.vim @@ -1,4 +1 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent - set syntax=c.doxygen diff --git a/vim/.vim/ftplugin/groovy.vim b/vim/.vim/ftplugin/groovy.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/groovy.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent diff --git a/vim/.vim/ftplugin/java.vim b/vim/.vim/ftplugin/java.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/java.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent diff --git a/vim/.vim/ftplugin/perl.vim b/vim/.vim/ftplugin/perl.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/perl.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent diff --git a/vim/.vim/ftplugin/python.vim b/vim/.vim/ftplugin/python.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/python.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent diff --git a/vim/.vim/ftplugin/sh.vim b/vim/.vim/ftplugin/sh.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/sh.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent diff --git a/vim/.vim/ftplugin/sql.vim b/vim/.vim/ftplugin/sql.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/sql.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent diff --git a/vim/.vim/ftplugin/vim.vim b/vim/.vim/ftplugin/vim.vim deleted file mode 100644 index f41f3bf..0000000 --- a/vim/.vim/ftplugin/vim.vim +++ /dev/null @@ -1,2 +0,0 @@ -set tabstop=4 softtabstop=0 expandtab shiftwidth=4 -set autoindent 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 -- cgit v1.2.3