mapping: syntax sync fromstart
This commit is contained in:
parent
9ff72cae32
commit
886037f076
4
vimrc
4
vimrc
|
@ -1009,6 +1009,8 @@ nnoremap <space>td :grep! -R '// *TODO' .<CR>:botright cwindow<CR>:echo len(getq
|
||||||
nnoremap <space>dd :DD<CR>
|
nnoremap <space>dd :DD<CR>
|
||||||
" write and delete current buffer
|
" write and delete current buffer
|
||||||
nnoremap <space>bx :w\|bd<cr>
|
nnoremap <space>bx :w\|bd<cr>
|
||||||
|
" sync highlighting from start
|
||||||
|
nnoremap <silent><space>ss :syntax sync fromstart<CR>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" terminal{{{
|
" terminal{{{
|
||||||
|
@ -1044,7 +1046,7 @@ nnoremap <PageUp> :bprevious<CR>
|
||||||
nnoremap <PageDown> :bnext<CR>
|
nnoremap <PageDown> :bnext<CR>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
"location list and quickfix mappings {{{
|
" location list and quickfix mappings {{{
|
||||||
nnoremap <space>lo :botright lwindow<CR>
|
nnoremap <space>lo :botright lwindow<CR>
|
||||||
nnoremap <up> :lprev<CR>zv
|
nnoremap <up> :lprev<CR>zv
|
||||||
nnoremap <down> :lnext<CR>zv
|
nnoremap <down> :lnext<CR>zv
|
||||||
|
|
Loading…
Reference in New Issue