Skip to content

Commit

Permalink
Remove vselect limitation from documentation
Browse files Browse the repository at this point in the history
this limitation was fixed by #32
fixes #151
  • Loading branch information
jreybert committed Nov 6, 2017
1 parent 929d119 commit e13de42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,12 @@ There are 5 sections:

### Visual selection

It is possible to stage part of hunk, by different ways:
* By visually selecting some lines, then staging the selection with **S**.
* By marking some lines "to be staged" with **M**, then staging these selected lines with **S**.
* Staging individual lines with **L**.
It is possible to stage and unstage part of hunk, by different ways:
* By visually selecting some lines, then [un]staging the selection with **S**.
* By marking some lines "to be staged" with **M**, then [un]staging these selected lines with **S**.
* [Un]staging individual lines with **L**.

Visual selection and marked lines have some limitations for the moment:
* It only work for "staging", not for "unstaging".
* Selection/marks must be within a single hunk.
* Marks not within the hunk currently staged are lost during stage process magit buffer refresh.

Expand Down
9 changes: 4 additions & 5 deletions doc/vimagit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,13 @@ INLINE MODIFICATIONS *vimagit-inline-modification*

VISUAL SELECTION *vimagit-visual-selection*

It is possible to stage part of hunk, by different ways:
* By visually selecting some lines, then staging the selection with S.
* By marking some lines "to be staged" with M, then staging these selected
It is possible to stage and unstage part of hunk, by different ways:
* By visually selecting some lines, then [un]staging the selection with S.
* By marking some lines "to be staged" with M, then [un]staging these selected
lines with S.
* Staging individual lines with L.
* [Un]staging individual lines with L.

Visual selection and marked lines have some limitations for the moment:
* It only work for "staging", not for "unstaging".
* Selection/marks must be within a single hunk.
* Marks not within the hunk currently staged are lost during stage process magit
buffer refresh.
Expand Down

0 comments on commit e13de42

Please sign in to comment.