Skip to content

Commit 39044e1

Browse files
committed
Add translation for more keys
1 parent 9d112a3 commit 39044e1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

neovim/ui/gtk_ui.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,30 @@
1919
# Translation table for the names returned by Gdk.keyval_name that don't match
2020
# the corresponding nvim key names.
2121
KEY_TABLE = {
22+
'slash': '/',
23+
'backslash': '\\',
24+
'dead_circumflex': '^',
25+
'at': '@',
26+
'numbersign': '#',
27+
'dollar': '$',
28+
'percent': '%',
29+
'ampersand': '^',
30+
'asterisk': '*',
31+
'parenleft': '(',
32+
'parenright': ')',
33+
'underscore': '_',
34+
'plus': '+',
35+
'minus': '-',
36+
'bracketleft': '[',
37+
'bracketright': ']',
38+
'braceleft': '[',
39+
'braceright': ']',
40+
'dead_diaeresis': '"',
41+
'dead_acute': "'",
42+
'less': "<",
43+
'greater': ">",
44+
'comma': ",",
45+
'period': ".",
2246
'BackSpace': 'BS',
2347
'Return': 'CR',
2448
'Escape': 'Esc',

0 commit comments

Comments
 (0)