mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Added source control remap to VS Code. Closes #191.
This commit is contained in:
@@ -239,15 +239,16 @@ $^+Right::Send +{End}
|
|||||||
; Cmd+Space Alternative
|
; Cmd+Space Alternative
|
||||||
^Space::Send ^{Esc}
|
^Space::Send ^{Esc}
|
||||||
|
|
||||||
; ; Sublime Text Remaps for VS Code
|
; Sublime Text Remaps for VS Code
|
||||||
#IfWinActive ahk_group vscode ; ST2CODE
|
#IfWinActive ahk_group vscode
|
||||||
; Remap Ctrl+Shift to behave like macOS Sublimetext
|
; Remap Ctrl+Shift to behave like macOS Sublimetext
|
||||||
; Will extend cursor to multiple lines
|
; Will extend cursor to multiple lines
|
||||||
#+Up::send ^!{Up} ; ST2CODE
|
; #+Up::send ^!{Up} ; ST2CODE
|
||||||
#+Down::send ^!{Down} ; ST2CODE
|
; #+Down::send ^!{Down} ; ST2CODE
|
||||||
; Remap Ctrl+Cmd+G to select all matches
|
; Remap Ctrl+Cmd+G to select all matches
|
||||||
#^g::send ^+{L} ; ST2CODE
|
; #^g::send ^+{L} ; ST2CODE
|
||||||
#If ; ST2CODE
|
!+g::send ^+{G} ; View source control
|
||||||
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_exe sublime_text.exe
|
#IfWinActive ahk_exe sublime_text.exe
|
||||||
; Remap Ctrl+Shift to behave like macOS Sublimetext
|
; Remap Ctrl+Shift to behave like macOS Sublimetext
|
||||||
|
@@ -118,6 +118,7 @@ define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{
|
|||||||
K("M-Shift-Left"): K("C-Shift-Left"), # Select Left of Word
|
K("M-Shift-Left"): K("C-Shift-Left"), # Select Left of Word
|
||||||
K("M-Right"): K("C-Right"), # Right of Word
|
K("M-Right"): K("C-Right"), # Right of Word
|
||||||
K("M-Shift-Right"): K("C-Shift-Right"), # Select Right of Word
|
K("M-Shift-Right"): K("C-Shift-Right"), # Select Right of Word
|
||||||
|
K("M-Shift-g"): K("C-Shift-g"), # View source control
|
||||||
# ** VS Code fix **
|
# ** VS Code fix **
|
||||||
# Electron issue precludes normal keybinding fix.
|
# Electron issue precludes normal keybinding fix.
|
||||||
# Alt menu auto-focus/toggle gets in the way.
|
# Alt menu auto-focus/toggle gets in the way.
|
||||||
|
Reference in New Issue
Block a user