-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
59 lines (40 loc) · 903 Bytes
/
.vimrc
File metadata and controls
59 lines (40 loc) · 903 Bytes
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
set nocompatible
filetype off
if filereadable(".vimrc.project")
so .vimrc.project
else
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'bling/vim-airline'
"Plugin 'Valloric/MatchTagAlways'
call vundle#end()
let NERDTreeShowHidden=1
endif
filetype plugin indent on
syntax on
runtime macros/matchit.vim
set shiftwidth=2
set tabstop=2
set expandtab
set ruler
set number
set secure
set mouse=a
set backspace=2
let g:netrw_browsex_viewer='iceweasel'
set spelllang=de
"""""""" COMMANDS + KEYS """"""""""
command! Config :e ~/.vimrc
command! ReloadConfig so ~/.vimrc
" sudo write
cmap w!! w !sudo tee % > /dev/null
" tag navigation
nmap <C-l> <C-]>
nmap <C-h> <C-t>
nmap <C-j> :tnext<CR>
nmap <C-j> :tprev<CR>
"""""""""" COLORS """""""""""""
"color desert
"hi MatchParen cterm=none ctermbg=blue ctermfg=white