mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Added sigint, exit for terminals in sublime/vscode
This commit is contained in:
@@ -341,7 +341,10 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
|||||||
K("C-g"): K("f3"), # find_next
|
K("C-g"): K("f3"), # find_next
|
||||||
K("Shift-f3"): pass_through_key, # cancel find_prev
|
K("Shift-f3"): pass_through_key, # cancel find_prev
|
||||||
K("C-Shift-g"): K("Shift-f3"), # find_prev
|
K("C-Shift-g"): K("Shift-f3"), # find_prev
|
||||||
K("Super-c"): K("LC-c"), # Sigints - interrupt
|
# K("Super-c"): K("LC-c"), # Default - Terminal - Sigint
|
||||||
|
# K("Super-x"): K("LC-x"), # Default - Terminal - Exit nano
|
||||||
|
# K("M-c"): K("LC-c"), # Chromebook/IBM - Terminal - Sigint
|
||||||
|
# K("M-x"): K("LC-x"), # Chromebook/IBM - Terminal - Exit nano
|
||||||
# K("Super-C-g"): K("C-f2"), # Default - Sublime - find_all_under
|
# K("Super-C-g"): K("C-f2"), # Default - Sublime - find_all_under
|
||||||
# K("C-M-g"): K("C-f2"), # Chromebook/IBM - Sublime - find_all_under
|
# K("C-M-g"): K("C-f2"), # Chromebook/IBM - Sublime - find_all_under
|
||||||
# K("Super-Shift-up"): K("M-Shift-up"), # multi-cursor up - Sublime
|
# K("Super-Shift-up"): K("M-Shift-up"), # multi-cursor up - Sublime
|
||||||
@@ -352,6 +355,10 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
|||||||
|
|
||||||
# Keybindings for Sublime Text
|
# Keybindings for Sublime Text
|
||||||
define_keymap(re.compile("Sublime_text", re.IGNORECASE),{
|
define_keymap(re.compile("Sublime_text", re.IGNORECASE),{
|
||||||
|
# K("Super-c"): K("LC-c"), # Default - Terminal - Sigint
|
||||||
|
# K("Super-x"): K("LC-x"), # Default - Terminal - Exit nano
|
||||||
|
# K("M-c"): K("LC-c"), # Chromebook/IBM - Terminal - Sigint
|
||||||
|
# K("M-x"): K("LC-x"), # Chromebook/IBM - Terminal - Exit nano
|
||||||
K("Super-Space"): K("C-Space"), # Basic code completion
|
K("Super-Space"): K("C-Space"), # Basic code completion
|
||||||
K("C-Super-up"): K("M-o"), # Switch file
|
K("C-Super-up"): K("M-o"), # Switch file
|
||||||
K("Super-RC-f"): K("f11"), # toggle_full_screen
|
K("Super-RC-f"): K("f11"), # toggle_full_screen
|
||||||
|
@@ -270,6 +270,9 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
|||||||
; $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacModifiers
|
; $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacModifiers
|
||||||
; $LAlt up::Send {LWin up}{CapsLock up}{LAlt up}{LCtrl up} ; CB/IBM
|
; $LAlt up::Send {LWin up}{CapsLock up}{LAlt up}{LCtrl up} ; CB/IBM
|
||||||
|
|
||||||
|
; Remap Alt+Esc to Break/Pause
|
||||||
|
!Esc::SendInput, {Pause}
|
||||||
|
|
||||||
; Go up or down a page
|
; Go up or down a page
|
||||||
$!Down::Send {PgDn};
|
$!Down::Send {PgDn};
|
||||||
$!Up::Send {PgUp};
|
$!Up::Send {PgUp};
|
||||||
@@ -482,12 +485,19 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
|||||||
!+g::send ^+{G} ; View source control
|
!+g::send ^+{G} ; View source control
|
||||||
; $#c::Send {Ctrl down}c{Ctrl up} ; Default - Sigints interrupt
|
; $#c::Send {Ctrl down}c{Ctrl up} ; Default - Sigints interrupt
|
||||||
; $!c::Send {Ctrl down}c{Ctrl up} ; CB/IBM
|
; $!c::Send {Ctrl down}c{Ctrl up} ; CB/IBM
|
||||||
|
; $#x::Send {Ctrl down}x{Ctrl up} ; Default - Sigints interrupt
|
||||||
|
; $!x::Send {Ctrl down}x{Ctrl up} ; CB/IBM
|
||||||
|
|
||||||
; #Space::Send ^{Space} ; Default - Basic code completion
|
; #Space::Send ^{Space} ; Default - Basic code completion
|
||||||
; !Space::Send ^{Space} ; CB/IBM - Basic code completion
|
; !Space::Send ^{Space} ; CB/IBM - Basic code completion
|
||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_exe sublime_text.exe
|
#IfWinActive ahk_exe sublime_text.exe
|
||||||
|
; #x::Send ^{x} ; Default - Terminal - Ctrl-x
|
||||||
|
; #c::Send ^{c} ; Default - Terminal - Ctrl-c sigint
|
||||||
|
; !x::Send ^{x} ; CB/IBM
|
||||||
|
; !c::Send ^{c} ; CB/IBM
|
||||||
|
; #c::send ^{Pause} ; cancel_build
|
||||||
; #Space::Send ^{Space} ; Default - Basic code completion
|
; #Space::Send ^{Space} ; Default - Basic code completion
|
||||||
; !Space::Send ^{Space} ; CB/IBM - Basic code completion
|
; !Space::Send ^{Space} ; CB/IBM - Basic code completion
|
||||||
#^Up::send !{O} ; Switch file
|
#^Up::send !{O} ; Switch file
|
||||||
@@ -528,7 +538,6 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
|||||||
^+Down::Return ; cancel swap_line_down
|
^+Down::Return ; cancel swap_line_down
|
||||||
#!Down::send ^+{Down} ; swap_line_down
|
#!Down::send ^+{Down} ; swap_line_down
|
||||||
^Pause::Return ; cancel cancel_build
|
^Pause::Return ; cancel cancel_build
|
||||||
#c::send ^{Pause} ; cancel_build
|
|
||||||
F9::Return ; cancel sort_lines case_s false
|
F9::Return ; cancel sort_lines case_s false
|
||||||
F5::send {F9} ; sort_lines case_s false
|
F5::send {F9} ; sort_lines case_s false
|
||||||
#F9::Return ; cancel sort_lines case_s true
|
#F9::Return ; cancel sort_lines case_s true
|
||||||
|
Reference in New Issue
Block a user