mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
Merge pull request #536 from RedBearAK/patch-30
Add Cmd+Opt+Left/Right and Cmd+Shift+Braces for browser tab navigation
This commit is contained in:
@@ -401,7 +401,7 @@ define_keymap(re.compile(filemanagerStr, re.IGNORECASE),{
|
|||||||
### END OF FILE MANAGER GROUP OF KEYMAPS ###
|
### END OF FILE MANAGER GROUP OF KEYMAPS ###
|
||||||
############################################
|
############################################
|
||||||
|
|
||||||
# Keybindings for Browsers
|
# Keybindings for General Web Browsers
|
||||||
define_keymap(re.compile(browserStr, re.IGNORECASE),{
|
define_keymap(re.compile(browserStr, re.IGNORECASE),{
|
||||||
K("RC-Q"): K("RC-Q"), # Close all browsers Instances
|
K("RC-Q"): K("RC-Q"), # Close all browsers Instances
|
||||||
K("M-RC-I"): K("RC-Shift-I"), # Dev tools
|
K("M-RC-I"): K("RC-Shift-I"), # Dev tools
|
||||||
@@ -415,9 +415,20 @@ define_keymap(re.compile(browserStr, re.IGNORECASE),{
|
|||||||
K("RC-Key_7"): K("M-Key_7"),
|
K("RC-Key_7"): K("M-Key_7"),
|
||||||
K("RC-Key_8"): K("M-Key_8"),
|
K("RC-Key_8"): K("M-Key_8"),
|
||||||
K("RC-Key_9"): K("M-Key_9"), # Jump to last tab
|
K("RC-Key_9"): K("M-Key_9"), # Jump to last tab
|
||||||
K("C-Left_Brace"): K("C-Page_Up"),
|
# Enable Cmd+Shift+Braces for tab navigation
|
||||||
K("C-Right_Brace"): K("C-Page_Down"),
|
K("RC-Shift-Left_Brace"): K("C-Page_Up"), # Go to prior tab
|
||||||
})
|
K("RC-Shift-Right_Brace"): K("C-Page_Down"), # Go to next tab
|
||||||
|
# Enable Cmd+Option+Left/Right for tab navigation
|
||||||
|
K("RC-M-Left"): K("C-Page_Up"), # Go to prior tab
|
||||||
|
K("RC-M-Right"): K("C-Page_Down"), # Go to next tab
|
||||||
|
# Enable Ctrl+PgUp/PgDn for tab navigation
|
||||||
|
K("Super-Page_Up"): K("C-Page_Up"), # Go to prior tab
|
||||||
|
K("Super-Page_Down"): K("C-Page_Down"), # Go to next tab
|
||||||
|
# Use Cmd+Braces keys for tab navigation instead of page navigation
|
||||||
|
# K("C-Left_Brace"): K("C-Page_Up"),
|
||||||
|
# K("C-Right_Brace"): K("C-Page_Down"),
|
||||||
|
}, "General Web Browsers")
|
||||||
|
|
||||||
|
|
||||||
# Open preferences in browsers
|
# Open preferences in browsers
|
||||||
define_keymap(re.compile("Firefox", re.IGNORECASE),{
|
define_keymap(re.compile("Firefox", re.IGNORECASE),{
|
||||||
|
@@ -538,6 +538,13 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
|||||||
|
|
||||||
; Close all browsers
|
; Close all browsers
|
||||||
#IfWinActive ahk_group browsers
|
#IfWinActive ahk_group browsers
|
||||||
|
;Tab Navigation
|
||||||
|
^+[::send ^{PgUp}
|
||||||
|
^+]::send ^{PgDn}
|
||||||
|
^!Left::send ^{PgUp}
|
||||||
|
^!Right::send ^{PgDn}
|
||||||
|
#Left::send ^{PgUp}
|
||||||
|
#Right::send ^{PgDn}
|
||||||
^q::send {Alt Down}f{Alt Up}x ; exit all windows
|
^q::send {Alt Down}f{Alt Up}x ; exit all windows
|
||||||
; Dev Tools
|
; Dev Tools
|
||||||
!^i::send {Ctrl Down}{Shift Down}i{Shift Up}{Ctrl Up}
|
!^i::send {Ctrl Down}{Shift Down}i{Shift Up}{Ctrl Up}
|
||||||
|
Reference in New Issue
Block a user