vim erklärungen

This commit is contained in:
Michael Grote 2021-06-10 15:06:10 +02:00
parent 6ff0926566
commit e94eeb11a4

41
.vimrc
View file

@ -39,31 +39,44 @@ call vundle#end()
" allgemeine Optionen " allgemeine Optionen
set showcmd set showcmd " Show (partial) command in status line.
set showbreak=+++ set showbreak=+++
set textwidth=100 set textwidth=100
set showmatch set autoindent
set virtualedit=onemore set virtualedit=onemore
set showmatch " When a bracket is inserted, briefly jump to the matching
" one. The jump is only done if the match can be seen on the
" screen. The time to show the match can be set with
" 'matchtime'.set virtualedit=onemore
set encoding=UTF-8 set encoding=UTF-8
set visualbell set visualbell
set hlsearch set smartcase " Override the 'ignorecase' option if the search pattern
set smartcase " contains upper case characters.
set hlsearch " When there is a previous search pattern, highlight all
" its matches.set smartcase
set gdefault "global bei suche immer mit an" set gdefault "global bei suche immer mit an"
set nowrap "verhindert zeilenumbrüche set nowrap "verhindert zeilenumbrüche
set ignorecase set ignorecase " Ignore case in search patterns.
set incsearch set incsearch " While typing a search command, show immediately where the
set autoindent " so far typed pattern matches.set autoindent
set smartindent set smartindent
set smarttab set smarttab " When on, a <Tab> in front of a line inserts blanks
set softtabstop=4 " 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 nu " Enable line numbers set number " Show line numbers.
syntax on " Enable syntax highlighting syntax on " Enable syntax highlighting
set tabstop=4 " How many columns of whitespace a \t is worth set tabstop=4 " Number of spaces that a <Tab> in the file counts for.
set shiftwidth=4 " How many columns of whitespace a level of indentation is worth
set expandtab " Use spaces when tabbing 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