Skip to content

Commit

Permalink
Allow numeric prefixes for v, V and u
Browse files Browse the repository at this point in the history
Edit index.txt to mention an option to repeat the commands by a numeric
prefix. It will allow Vimsplain to parse such sequences successfully,
e.g.: 2u, 3Vy, 4vx. Without the changes such a sequences resulted in
ValueError.
  • Loading branch information
raindev committed Jan 2, 2015
1 parent c784164 commit be8bfdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.txt
Expand Up @@ -334,6 +334,7 @@ tag char note action in Normal mode ~
to the left
|U| U 2 undo all latest changes on one line
|V| V start linewise Visual mode
selecting N lines
|W| W 1 cursor N WORDS forward
|X| ["x]X 2 delete N characters before the cursor [into
buffer x]
Expand Down Expand Up @@ -394,8 +395,9 @@ tag char note action in Normal mode ~
buffer x] and start insert
|t| t{char} 1 cursor till before Nth occurrence of {char}
to the right
|u| u 2 undo changes
|u| u 2 undo N changes
|v| v start characterwise Visual mode
selecting N characters
|w| w 1 cursor N words forward
|x| ["x]x 2 delete N characters under and after the
cursor [into buffer x]
Expand Down

0 comments on commit be8bfdd

Please sign in to comment.