mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:00:04 +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>`+`gp` | Normal | Git push
|
||||
|
||||
##### Plugin: GitGutter
|
||||
##### Plugin: vim-signify
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`hj` | Normal | Jump to next hunk
|
||||
`<leader>`+`hk` | Normal | Jump to previous hunk
|
||||
`<leader>`+`hs` | Normal | Stage hunk
|
||||
`<leader>`+`hr` | Normal | Revert hunk
|
||||
`<leader>`+`hp` | Normal | Preview hunk
|
||||
`<leader>`+`hj` / `]c` | Normal | Jump to next hunk
|
||||
`<leader>`+`hk` / `[c` | Normal | Jump to previous hunk
|
||||
`<leader>`+`hJ` / `]C` | Normal | Jump to last hunk
|
||||
`<leader>`+`hK` / `[C` | Normal | Jump to first hunk
|
||||
|
||||
##### Misc Plugins
|
||||
|
||||
|
@ -15,4 +15,8 @@ function! SpaceVim#layers#git#config() abort
|
||||
nnoremap <silent> <Leader>gc :Gita commit<CR>
|
||||
nnoremap <silent> <Leader>gb :Gita blame<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
|
||||
|
Loading…
Reference in New Issue
Block a user