Skip to content

Commit

Permalink
Add special key annonations mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
dontpanic92 committed Dec 12, 2020
1 parent 144290e commit 3c06e42
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dotnvim/KeyMapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ public static class KeyMapping
{
private static Dictionary<Keys, string> specialKeys = new Dictionary<Keys, string>()
{
{ Keys.Back, "Bs" },
{ Keys.Tab, "Tab" },
{ Keys.LineFeed, "NL" },
{ Keys.Return, "CR" },
{ Keys.Escape, "Esc" },
{ Keys.Space, "Space" },
{ Keys.OemBackslash, "Bslash" },
{ Keys.Delete, "Del" },
{ Keys.Up, "Up" },
{ Keys.Down, "Down" },
{ Keys.Left, "Left" },
Expand All @@ -28,8 +36,6 @@ public static class KeyMapping
{ Keys.End, "End" },
{ Keys.PageUp, "PageUp" },
{ Keys.PageDown, "PageDown" },
{ Keys.Enter, "Enter" },
{ Keys.Delete, "Del" },
{ Keys.F1, "F1" },
{ Keys.F2, "F2" },
{ Keys.F3, "F3" },
Expand Down

0 comments on commit 3c06e42

Please sign in to comment.