-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
dot-vimrc
42 lines (41 loc) · 892 Bytes
/
dot-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
set nocompatible
filetype plugin indent on
set cindent
set autochdir
set backup
set backupdir=~/.vim/backup//
set directory=~/.vim/tmp//
set ttymouse=xterm
if has('mouse')
set mouse=a
endif
set noerrorbells
set novisualbell
set incsearch
set lazyredraw
set textwidth=72
set tabstop=4
set softtabstop=4
set expandtab
set list
set listchars=tab:>-
set number
set numberwidth=4
set ruler
set ttyfast
set background=dark
colorscheme molokai
hi Comment ctermfg=darkgray
hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=white ctermbg=darkgray cterm=NONE
hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=black ctermbg=lightgreen cterm=NONE
syntax enable
setlocal spell spelllang=de,en
set nospell
map tt :NERDTreeToggle<CR>
map <C-J> <C-W>j<C-W>_
map <C-K> <C-W>k<C-W>_
map <F6> <C-W>w
imap <C-w> <C-o><C-w>
imap <F6> <C-W>w
nmap <c-h> <c-w>h<c-w><Bar>
nmap <c-l> <c-w>l<c-w><Bar>