diff --git a/.vimrc b/.vimrc index 0152193..e573f30 100644 --- a/.vimrc +++ b/.vimrc @@ -29,6 +29,8 @@ Plugin 'jiangmiao/auto-pairs' " autovervollständigung symbole wie klammern Plugin 'jreybert/vimagit' " git integration +Plugin 'tpope/vim-sleuth' +" auto einrueckung call vundle#end() @@ -54,23 +56,12 @@ set ignorecase " Ignore case in search patterns. set incsearch " While typing a search command, show immediately where the " so far typed pattern matches.set autoindent set smartindent -set smarttab " When on, a in front of a line inserts blanks - " according to 'shiftwidth'. 'tabstop' is used in other - " places. A will delete a 'shiftwidth' worth of space - " at the start of the line.set softtabstop=4 set ruler set undolevels=1000 set backspace=indent,eol,start set number " Show line numbers. syntax on " Enable syntax highlighting -set tabstop=4 " Number of spaces that a in the file counts for. - set shiftwidth=4 " Number of spaces to use for each step of (auto)indent. -set expandtab " Use the appropriate number of spaces to insert a . - " Spaces are used in indents with the '>' and '<' commands - " and when 'autoindent' is on. To insert a real tab when - " 'expandtab' is on, use CTRL-V . - set incsearch " Enable incremental search set hlsearch " Enable highlight search set termwinsize=12x0 " Set terminal size