mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
Fix readme mappings
This commit is contained in:
parent
7a94975f55
commit
c03652c404
11
README.md
11
README.md
@ -515,15 +515,14 @@ Key | Mode | Action
|
|||||||
`<leader>`+`gb` | Normal | Git blame
|
`<leader>`+`gb` | Normal | Git blame
|
||||||
`<leader>`+`gp` | Normal | Git push
|
`<leader>`+`gp` | Normal | Git push
|
||||||
|
|
||||||
##### Plugin: GitGutter
|
##### Plugin: vim-signify
|
||||||
|
|
||||||
Key | Mode | Action
|
Key | Mode | Action
|
||||||
----- |:----:| ------------------
|
----- |:----:| ------------------
|
||||||
`<leader>`+`hj` | Normal | Jump to next hunk
|
`<leader>`+`hj` / `]c` | Normal | Jump to next hunk
|
||||||
`<leader>`+`hk` | Normal | Jump to previous hunk
|
`<leader>`+`hk` / `[c` | Normal | Jump to previous hunk
|
||||||
`<leader>`+`hs` | Normal | Stage hunk
|
`<leader>`+`hJ` / `]C` | Normal | Jump to last hunk
|
||||||
`<leader>`+`hr` | Normal | Revert hunk
|
`<leader>`+`hK` / `[C` | Normal | Jump to first hunk
|
||||||
`<leader>`+`hp` | Normal | Preview hunk
|
|
||||||
|
|
||||||
##### Misc Plugins
|
##### Misc Plugins
|
||||||
|
|
||||||
|
@ -15,4 +15,8 @@ function! SpaceVim#layers#git#config() abort
|
|||||||
nnoremap <silent> <Leader>gc :Gita commit<CR>
|
nnoremap <silent> <Leader>gc :Gita commit<CR>
|
||||||
nnoremap <silent> <Leader>gb :Gita blame<CR>
|
nnoremap <silent> <Leader>gb :Gita blame<CR>
|
||||||
nnoremap <silent> <Leader>gp :Gita push<CR>
|
nnoremap <silent> <Leader>gp :Gita push<CR>
|
||||||
|
nmap <leader>hj <plug>(signify-next-hunk)
|
||||||
|
nmap <leader>hk <plug>(signify-prev-hunk)
|
||||||
|
nmap <leader>hJ 9999<leader>gj
|
||||||
|
nmap <leader>hK 9999<leader>gk
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user