mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-02 17:16:39 +02:00
- Better VS Code wordise fix for xkeysnail
This commit is contained in:
@@ -117,6 +117,15 @@ define_keymap(lambda wm_class: wm_class not in ("Code"),{
|
||||
|
||||
# Keybindings for VS Code
|
||||
define_keymap(re.compile("Code"),{
|
||||
# Wordwise remaining - for VS Code
|
||||
K("M-Left"): K("C-M-Left"), # Left of Word
|
||||
K("M-Right"): K("C-M-Right"), # Right of Word
|
||||
# Shift select word has a bug that prevents selection
|
||||
# use ./xkeysnail-config/vscode_keybindings.json
|
||||
# K("M-Shift-Left"): K("C-Shift-Left"), # Select Left of Word
|
||||
# K("M-Shift-Right"): K("C-Shift-Right"), # Select Right of Word
|
||||
|
||||
# VS Code Shortcuts
|
||||
K("C-g"): pass_through_key, # cancel Go to Line...
|
||||
K("Super-g"): K("C-g"), # Go to Line...
|
||||
K("F3"): pass_through_key, # cancel Find next
|
||||
|
@@ -1,23 +1,5 @@
|
||||
// Place your key bindings in this file to override the defaultsauto[]
|
||||
[
|
||||
{
|
||||
"key": "alt+left",
|
||||
"command": "-workbench.action.terminal.focusPreviousPane",
|
||||
"when": "terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "alt+right",
|
||||
"command": "-workbench.action.terminal.focusNextPane",
|
||||
"when": "terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "alt+right",
|
||||
"command": "cursorWordRight"
|
||||
},
|
||||
{
|
||||
"key": "alt+left",
|
||||
"command": "cursorWordLeft"
|
||||
},
|
||||
{
|
||||
"key": "shift+alt+left",
|
||||
"command": "cursorWordStartLeftSelect",
|
||||
|
Reference in New Issue
Block a user