-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
61 lines (52 loc) · 1.52 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
" First call pathogen
call pathogen#helptags()
call pathogen#runtime_append_all_bundles()
runtime! debian.vim
set nocompatible
syntax on
" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
endif
if has("autocmd")
filetype plugin indent on
endif
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make
set hidden " Hide buffers when they are abandoned
set mouse=a " Enable mouse usage (all modes) in terminals
set wildmenu " Bessere Auswahl bei Vervollständigung von Pfaden
set number " Anzeige der Zeilennummern
set laststatus=2 " Statuszeile wird immer angezeigt
set completeopt=menu,longest
set ts=4
set sw=4
if has("gui")
set guioptions-=T " Toolbar ausblenden
endif
" Sinnvolle Bindungen für deutsche Tastaturen
map ü <C-]>
map ö [
map ä ]
map Ö {
map Ä }
map ß /
let maplocalleader = ","
let mapleader = ","
" SuperTab-Einstellungen
" let g:SuperTabDefaultCompletionType = "context"
" Rechtschreibung
set nospell
set spelllang=de_20,en
set spellsuggest=10
nmap <silent> <F7> :setlocal spell!<CR>
imap <silent> <F7> <C-O:setlocal spell!<CR>
" Einstellungen für die LaTeX-Suite
" let g:tex_flavor='latex'
" let g:Tex_UseUtfMenus=1