-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvim.rc
executable file
·35 lines (32 loc) · 925 Bytes
/
vim.rc
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
" Force v3
if has('python3')
endif
autocmd FileType python source ~/vim_config/vim_python.conf
autocmd FileType c source ~/vim_config/vim_c.conf
source ~/vim_config/vim_bindings.conf
source ~/vim_config/vundle_plugins.conf
" MISC "
" set relativenumber
set number
syntax on
set visualbell
set t_vb=
set t_ut=
set clipboard=unnamedplus
au BufNewFile,BufRead vim*.conf,*.rc set filetype=vim
au BufNewFile,BufRead vundle*.conf set filetype=vim
set splitbelow
set splitright
set backspace=2
set enc=utf-8
set termguicolors
" set t_Co=888
set wildmenu
set spelllang=de
" Add format option 'w' to add trailing white space, indicating that paragraph
" continues on next line. This is to be used with mutt's 'text_flowed' option.
augroup mail_trailing_whitespace " {
autocmd!
autocmd FileType mail source ~/vim_config/vim_mail.conf
autocmd FileType mail setlocal formatoptions+=w spell colorcolumn=+1
augroup END " }