vimrc etwas aufgeräumt
This commit is contained in:
parent
adf4523914
commit
27fc2eea36
1 changed files with 2 additions and 12 deletions
14
vimrc
14
vimrc
|
@ -75,22 +75,17 @@ set wrap "wrap lines
|
||||||
set number
|
set number
|
||||||
|
|
||||||
" Make double-<Esc> clear search highlights
|
" Make double-<Esc> clear search highlights
|
||||||
nnoremap <silent> <Esc><Esc> <Esc>:nohlsearch<CR><Esc>
|
nnoremap <silent> <Esc><Esc> :nohlsearch<CR>
|
||||||
|
|
||||||
set whichwrap+=<,>,[,]
|
set whichwrap+=<,>,[,]
|
||||||
|
|
||||||
nnoremap <F5> :buffers<CR>:buffer<Space>
|
" nnoremap <F5> :buffers<CR>:buffer<Space>
|
||||||
nnoremap U <c-r>
|
nnoremap U <c-r>
|
||||||
|
|
||||||
highlight WhitespaceEOL ctermbg=Red guibg=Red
|
highlight WhitespaceEOL ctermbg=Red guibg=Red
|
||||||
match WhitespaceEOL /\s\+$/
|
match WhitespaceEOL /\s\+$/
|
||||||
|
|
||||||
noremap! "" ""<left>
|
|
||||||
|
|
||||||
imap <c-d> <esc>ddi
|
|
||||||
|
|
||||||
nnoremap <silent> <F5> :normal gg=G<CR>
|
nnoremap <silent> <F5> :normal gg=G<CR>
|
||||||
inoremap <silent> <F5> <Esc>:normal gg=G<CR>i
|
|
||||||
|
|
||||||
set statusline=%m
|
set statusline=%m
|
||||||
set statusline+=\ %f
|
set statusline+=\ %f
|
||||||
|
@ -102,9 +97,4 @@ hi StatusLine cterm=italic ctermfg=blue
|
||||||
hi Search cterm=NONE ctermbg=yellow ctermfg=black
|
hi Search cterm=NONE ctermbg=yellow ctermfg=black
|
||||||
hi IncSearch cterm=None ctermbg=yellow ctermfg=black
|
hi IncSearch cterm=None ctermbg=yellow ctermfg=black
|
||||||
|
|
||||||
nmap <silent> <A-Up> :wincmd k<CR>
|
|
||||||
nmap <silent> <A-Down> :wincmd j<CR>
|
|
||||||
nmap <silent> <A-Left> :wincmd h<CR>
|
|
||||||
nmap <silent> <A-Right> :wincmd l<CR>
|
|
||||||
|
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
|
|
Loading…
Reference in a new issue