From 5b5aa1e138e0c5106036681c66f9bb32d44143f2 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 26 Mar 2016 16:41:21 +0000 Subject: [PATCH] noexpandtab per type --- etc/vim/source/option.vim | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/etc/vim/source/option.vim b/etc/vim/source/option.vim index daf1d86b..7c93f8ef 100644 --- a/etc/vim/source/option.vim +++ b/etc/vim/source/option.vim @@ -17,15 +17,6 @@ endif """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set history=1000 -" *'history'* *'hi'* -"'history' 'hi' number (Vim default: 20, Vi default: 0) -" global -" {not in Vi} -" A history of ":" commands, and a history of previous search patterns -" are remembered. This option decides how many entries may be stored in -" each of these histories (see |cmdline-editing|). -" NOTE: This option is set to the Vi default value when 'compatible' is -" set and to the Vim default value when 'compatible' is reset. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Sell @@ -57,28 +48,18 @@ set indentkeys= set wildmenu """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +set autoindent set expandtab set smarttab set tabstop=2 set shiftwidth=2 set softtabstop=2 - -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -set autoindent - -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set backspace=2 +autocmd filetype make setlocal noexpandtab -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " set textwidth=79 - -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set nobackup - -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set nohlsearch - -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set noincsearch """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -- 2.47.3