Skip to content

Commit c4c396e

Browse files
committed
Adding documentation for 'o', 'O', and 'J''s key handling methods.
1 parent 761a980 commit c4c396e

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

PSReadLine/KeyBindings.vi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private static KeyHandler MakeViKeyHandler(Action<ConsoleKeyInfo?, object> actio
168168
{ Keys.ucL, MakeViKeyHandler(Ding, "Ignore") },
169169
{ Keys.ucM, MakeViKeyHandler(Ding, "Ignore") },
170170
{ Keys.ucN, MakeViKeyHandler(RepeatSearchBackward, "RepeatSearchBackward") },
171-
{ Keys.ucO, MakeViKeyHandler(ViInsertLine, "ViInsertPhrase") },
171+
{ Keys.ucO, MakeViKeyHandler(ViInsertLine, "ViInsertLine") },
172172
{ Keys.ucP, MakeViKeyHandler(PasteBefore, "PasteBefore") },
173173
{ Keys.ucQ, MakeViKeyHandler(Ding, "Ignore") },
174174
{ Keys.ucR, MakeViKeyHandler(ViReplaceUntilEsc, "ViReplaceUntilEsc") },

PSReadLine/PSReadLine.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
<EmbeddedResource Include="PSReadLineResources.resx">
9292
<Generator>ResXFileCodeGenerator</Generator>
9393
<LogicalName>Microsoft.PowerShell.PSReadline.PSReadLineResources.resources</LogicalName>
94-
<LastGenOutput>PSReadlineResources.Designer.cs</LastGenOutput>
9594
<CustomToolNamespace>Microsoft.PowerShell</CustomToolNamespace>
9695
</EmbeddedResource>
9796
</ItemGroup>

PSReadLine/PSReadLineResources.Designer.cs

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PSReadLine/PSReadLineResources.resx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,4 +708,13 @@ If there are other parse errors, unresolved commands, or incorrect parameters, s
708708
<data name="UnrecognizedKey" xml:space="preserve">
709709
<value>Unrecognized key '{0}'. Please use a character literal or a well-known key name from the System.ConsoleKey enumeration.</value>
710710
</data>
711+
<data name="ViAppendLineDescription" xml:space="preserve">
712+
<value>Appends a new multi-line edit mode line to the current line.</value>
713+
</data>
714+
<data name="ViInsertLineDescription" xml:space="preserve">
715+
<value>Inserts a new multi-line edit mode line in front of the current line.</value>
716+
</data>
717+
<data name="ViJoinLinesDescription" xml:space="preserve">
718+
<value>Joins the current multi-line edit mode line with the next.</value>
719+
</data>
711720
</root>

0 commit comments

Comments
 (0)