Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vimagit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
jreybert
vimagit
Commits
ddfe7342
Commit
ddfe7342
authored
9 years ago
by
Jerome Reybert
Browse files
Options
Downloads
Patches
Plain Diff
README,doc: add documentation about E mapping
parent
1957fb56
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+14
-0
14 additions, 0 deletions
README.md
doc/vimagit.txt
+12
-0
12 additions, 0 deletions
doc/vimagit.txt
with
26 additions
and
0 deletions
README.md
+
14
−
0
View file @
ddfe7342
...
...
@@ -189,6 +189,20 @@ Following mappings are set locally, for magit buffer only, in normal mode.
*
If cursor is in diff header, discard whole file at cursor position.
*
Only works in "Unstaged changes" section.
##### E
If cursor is in a hunk, cursor will move in the file containing this hunk, at
the line of the beginning of the hunk.
*
if the file is already visible in a |window|, cursor moves to this window at
the hunk line
*
if there is more than one window open, cursor moves to last accessed window
and open buffer at the hunk line
*
if there is only magit window opened, split vertically, moves cursor to new
split and open buffer at the hunk line
E means 'edit'.
:exclamation: this function is extremly powerful, just give it a try!
##### N,P
*
Move to
**N**
ext or
**P**
revious hunk.
...
...
This diff is collapsed.
Click to expand it.
doc/vimagit.txt
+
12
−
0
View file @
ddfe7342
...
...
@@ -213,6 +213,18 @@ Following mappings are set locally, for magit buffer only, in normal mode.
position.
Only works in "Unstaged changes" section.
*vimagit-E* *magit#jump_to()*
E If cursor is in a hunk, cursor will move in the file containing
this hunk, at the line of the beginning of the hunk.
- if the file is already visible in a |window|, cursor moves to
this window at the hunk line
- if there is more than one window open, cursor moves to last
accessed window and open buffer at the hunk line
- if there is only magit window opened, split vertically, moves
cursor to new split and open buffer at the hunk line
E means 'edit'.
NOTE: this function is extremly powerful, just give it a try!
*vimagit-N* *magit#jump_hunk()*
*vimagit-P*
N,P Move to Next or Previous hunk.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment