vim: einrueckung durch plugin

This commit is contained in:
Michael Grote 2021-08-10 12:42:11 +02:00
parent 746f8eea22
commit 4696cc46e4

13
.vimrc
View file

@ -29,6 +29,8 @@ Plugin 'jiangmiao/auto-pairs'
" autovervollständigung symbole wie klammern " autovervollständigung symbole wie klammern
Plugin 'jreybert/vimagit' Plugin 'jreybert/vimagit'
" git integration " git integration
Plugin 'tpope/vim-sleuth'
" auto einrueckung
call vundle#end() 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 set incsearch " While typing a search command, show immediately where the
" so far typed pattern matches.set autoindent " so far typed pattern matches.set autoindent
set smartindent set smartindent
set smarttab " When on, a <Tab> in front of a line inserts blanks
" according to 'shiftwidth'. 'tabstop' is used in other
" places. A <BS> will delete a 'shiftwidth' worth of space
" at the start of the line.set softtabstop=4
set ruler set ruler
set undolevels=1000 set undolevels=1000
set backspace=indent,eol,start set backspace=indent,eol,start
set number " Show line numbers. set number " Show line numbers.
syntax on " Enable syntax highlighting syntax on " Enable syntax highlighting
set tabstop=4 " Number of spaces that a <Tab> in the file counts for.
set shiftwidth=4 " Number of spaces to use for each step of (auto)indent. 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 <Tab>.
" 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 <Tab>.
set incsearch " Enable incremental search set incsearch " Enable incremental search
set hlsearch " Enable highlight search set hlsearch " Enable highlight search
set termwinsize=12x0 " Set terminal size set termwinsize=12x0 " Set terminal size