mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(vim): Use [g to navigate git changes
This commit is contained in:
parent
78400e4a6a
commit
f7ba4d7b92
2 changed files with 5 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ noremap zR editor.foldAll
|
|||
vnoremap < editor.action.outdentLines
|
||||
vnoremap > editor.action.indentLines
|
||||
|
||||
nnoremap [g editor.action.editor.previousChange
|
||||
nnoremap ]g editor.action.editor.nextChange
|
||||
|
||||
" 分词版本的w和b,支持中文,需要插件
|
||||
" 为了保证递归解析,而不是打断,使用 `nmap` 而不是 `nnoremap`
|
||||
" Comment if you don't use cjk or the plugin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue