-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
137 lines (89 loc) · 1.83 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
" disable swap file for crontab filetype
if has("autocmd")
autocmd filetype crontab setlocal nobackup nowritebackup
endif
" enable filetype plugin and load indentation rules
if has("autocmd")
filetype plugin indent on
endif
" enable syntax highlighting
if has("syntax")
syntax on
endif
" colorscheme
colorscheme untitled
"set autowrite
set backspace=indent,eol,start
set breakindent
if has("unnamedplus")
set clipboard=unnamedplus
endif
"set colorcolumn=80
set completeopt=menu,menuone,noselect
"set conceallevel=3
set confirm
set cursorcolumn
set cursorline
"if v:version > 900
" set diffopt+=linematch:60
"endif
set expandtab
set nofoldenable
set foldmethod=indent
set formatoptions=tcroqnljp
set guicursor=""
"set hlsearch
set ignorecase
set incsearch
set laststatus=2
set list
set listchars=eol:¬,tab:>·,trail:·,extends:>,precedes:<,nbsp:_
"set mouse=a
set number
set relativenumber
"set ruler
set scrolloff=4
"set sessionoptions=buffers,curdir,tabpages,winsize
set shiftround
set shiftwidth=2
"set shortmess+=WIcC
set shortmess+=WIc
if v:version > 900
set shortmess+=C
endif
"set noshowcmd
set showmatch
set sidescroll=1
set sidescrolloff=8
set signcolumn=yes
set smartcase
set smartindent
set smarttab
set softtabstop=2
"set spelllang=en,de
set splitbelow
set splitright
if has("splitkeep")
set splitkeep=screen
endif
"set noswapfile
set tabstop=2
set timeoutlen=300
if has("persistent_undo")
set undodir=~/.vim/undodir
set undofile
endif
set updatetime=100
set viminfo=""
set wildmenu
set wildmode=longest:full,full
set wildoptions="pum,tagfile"
set winminwidth=5
set nowrap
let mapleader = " "
let g:netrw_banner = 0
let g:netrw_bufsettings = "noma nomod nu nowrap ro nobl rnu"
"let g:netrw_dirhistmax = 0
"let g:netrw_localcopydircmd="cp -r"
"let g:netrw_keepdir = 0
"let g:netrw_winsize = 30