vim erklärungen
This commit is contained in:
parent
6ff0926566
commit
e94eeb11a4
1 changed files with 27 additions and 14 deletions
41
.vimrc
41
.vimrc
|
@ -39,31 +39,44 @@ call vundle#end()
|
|||
|
||||
|
||||
" allgemeine Optionen
|
||||
set showcmd
|
||||
set showcmd " Show (partial) command in status line.
|
||||
set showbreak=+++
|
||||
set textwidth=100
|
||||
set showmatch
|
||||
set autoindent
|
||||
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 visualbell
|
||||
set hlsearch
|
||||
set smartcase
|
||||
set smartcase " Override the 'ignorecase' option if the search pattern
|
||||
" 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 nowrap "verhindert zeilenumbrüche
|
||||
set ignorecase
|
||||
set incsearch
|
||||
set autoindent
|
||||
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
|
||||
set softtabstop=4
|
||||
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 undolevels=1000
|
||||
set backspace=indent,eol,start
|
||||
set nu " Enable line numbers
|
||||
syntax on " Enable syntax highlighting
|
||||
set tabstop=4 " How many columns of whitespace a \t is worth
|
||||
set shiftwidth=4 " How many columns of whitespace a level of indentation is worth
|
||||
set expandtab " Use spaces when tabbing
|
||||
set number " Show line numbers.
|
||||
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 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 hlsearch " Enable highlight search
|
||||
set termwinsize=12x0 " Set terminal size
|
||||
|
|
Loading…
Reference in a new issue