mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 03:00:04 +08:00
Add map for Q
This commit is contained in:
parent
b4aea57cdb
commit
c0d9fea380
@ -263,6 +263,9 @@ function! SpaceVim#default#SetMappings() abort
|
|||||||
" Select last paste
|
" Select last paste
|
||||||
nnoremap <silent><expr> gp '`['.strpart(getregtype(), 0, 1).'`]'
|
nnoremap <silent><expr> gp '`['.strpart(getregtype(), 0, 1).'`]'
|
||||||
|
|
||||||
|
" Use Q format lines
|
||||||
|
map Q gq
|
||||||
|
|
||||||
" Navigate window
|
" Navigate window
|
||||||
nnoremap <silent><C-q> <C-w>
|
nnoremap <silent><C-q> <C-w>
|
||||||
nnoremap <silent><C-x> <C-w>x
|
nnoremap <silent><C-x> <C-w>x
|
||||||
|
Loading…
Reference in New Issue
Block a user