-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
56 lines (48 loc) · 1.06 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
if &compatible
set nocompatible
endif
set termencoding=utf-8
set encoding=utf-8
set fileencoding=utf-8
set showmatch
set et
set tabstop=4
set softtabstop=4
set shiftwidth=4
set mouse-=a
set autoread
set number
set spelllang=de_de,en_us
set autoindent
set hidden
set list
set listchars=tab:>.,trail:-,nbsp:+
set incsearch
set ignorecase
set smartcase
set completeopt=noselect,noinsert,menuone,preview
set clipboard=unnamedplus
set textwidth=79
set colorcolumn=80
set lazyredraw
set scrolloff=5
set conceallevel=2
filetype plugin indent on
syntax enable
let g:tex_flavor="latex"
" restore terminal cursor on leave
"au VimLeave * set guicursor=a:ver25-Cursor/lCursor-blinkon1
if has('termguicolors')
set termguicolors
endif
colorscheme slate
highlight ColorColumn guibg=Black
set laststatus=2
set omnifunc=syntaxcomplete#Complete
hi! clear Conceal
" -- disable ex mode
nnoremap Q <Nop>
" -- completion popup
"inoremap <expr> <C-j> pumvisible() ? "\<C-n>" : "\<C-j>"
"inoremap <expr> <C-k> pumvisible() ? "\<C-p>" : "\<C-k>"
"inoremap <expr> <C-l> pumvisible() ? "\<C-y>" : "\<C-l>"