mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
Adds Subl for Sublime Text Arch package. closes #696
This commit is contained in:
@@ -42,6 +42,9 @@ termStr = "|".join(str('^'+x+'$') for x in terminals)
|
|||||||
mscodes = ["code","vscodium"]
|
mscodes = ["code","vscodium"]
|
||||||
codeStr = "|".join(str('^'+x+'$') for x in mscodes)
|
codeStr = "|".join(str('^'+x+'$') for x in mscodes)
|
||||||
|
|
||||||
|
sublimes = ["Sublime_text","subl"]
|
||||||
|
sublimeStr = "|".join(str('^'+x+'$') for x in sublimes)
|
||||||
|
|
||||||
# Add remote desktop clients & VM software here
|
# Add remote desktop clients & VM software here
|
||||||
# Ideally we'd only exclude the client window,
|
# Ideally we'd only exclude the client window,
|
||||||
# but that may not be easily done.
|
# but that may not be easily done.
|
||||||
@@ -674,7 +677,7 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
|||||||
}, "Code")
|
}, "Code")
|
||||||
|
|
||||||
# Keybindings for Sublime Text
|
# Keybindings for Sublime Text
|
||||||
define_keymap(re.compile("Sublime_text", re.IGNORECASE),{
|
define_keymap(re.compile(sublimeStr, re.IGNORECASE),{
|
||||||
# K("Super-c"): K("LC-c"), # Default - Terminal - Sigint
|
# K("Super-c"): K("LC-c"), # Default - Terminal - Sigint
|
||||||
# K("Super-x"): K("LC-x"), # Default - Terminal - Exit nano
|
# K("Super-x"): K("LC-x"), # Default - Terminal - Exit nano
|
||||||
# K("M-c"): K("LC-c"), # Chromebook/IBM - Terminal - Sigint
|
# K("M-c"): K("LC-c"), # Chromebook/IBM - Terminal - Sigint
|
||||||
|
Reference in New Issue
Block a user