Merge branch 'dev' into alpha

This commit is contained in:
Ben Reaves
2020-07-30 02:28:16 -05:00
2 changed files with 128 additions and 103 deletions

View File

@@ -61,7 +61,7 @@ Kinto works for standard Windows, Apple and Chromebook keyboards. The following
## What's different? ## What's different?
Compared to most other remappers ***this is a complete system-wide remap of your base level modifier keys*** , this saves time. You're not going to die a death of thousand papercuts from trying to support every shortcut key under the sun. Compared to most other remappers ***this is a complete system-wide remap of your base level modifier keys***, this saves time. You're not going to die a death of a thousand papercuts from trying to support every shortcut key under the sun.
It also retains some of the most commonly used system level shortcut keys, such as Cmd-C/V, Cmd-Tab, and Ctrl-Tab among others. You will keep seamless copy & paste between all apps, ability to switch Windows while still using the physical Cmd/Alt key position; switch tabs in your favorite terminals, code editors, or web browsers. Depending on your OS and/or Desktop Environment you may also be able to switch Virtual Desktop environments the same way as well and other basic system level shortcuts. It also retains some of the most commonly used system level shortcut keys, such as Cmd-C/V, Cmd-Tab, and Ctrl-Tab among others. You will keep seamless copy & paste between all apps, ability to switch Windows while still using the physical Cmd/Alt key position; switch tabs in your favorite terminals, code editors, or web browsers. Depending on your OS and/or Desktop Environment you may also be able to switch Virtual Desktop environments the same way as well and other basic system level shortcuts.

View File

@@ -183,6 +183,44 @@ $LCtrl up::Send {Ctrl down}{LWin up}{Ctrl up}
; Close Apps ; Close Apps
^q::Send !{F4} ^q::Send !{F4}
; Minimize specific Window
^m::WinMinimize, A
; Minimize all but Active Window
!^m::
WinGet, winid ,, A
WinMinimizeAll
WinActivate ahk_id %winid%
return
; hide all instances of active Program
^h::
WinGetClass, class, A
WinGet, AllWindows, List
loop %AllWindows% {
WinGetClass, WinClass, % "ahk_id " AllWindows%A_Index%
if(InStr(WinClass,class)){
WinMinimize, % "ahk_id " AllWindows%A_Index%
}
}
return
; hide all but active program
!^h::
WinGetClass, class, A
WinMinimizeAll
WinGet, AllWindows, List
loop %AllWindows% {
WinGetClass, WinClass, % "ahk_id " AllWindows%A_Index%
if(InStr(WinClass,class)){
WinRestore, % "ahk_id " AllWindows%A_Index%
}
}
return
; Show Desktop
^F3::Send #d
; Emoji Panel ; Emoji Panel
#^Space::Send {LWin down};{LWin up} #^Space::Send {LWin down};{LWin up}
@@ -227,16 +265,16 @@ $^+Right::Send +{End}
^,::Send ^!s ;Open Settings dialog ^,::Send ^!s ;Open Settings dialog
^;::Send ^!+s ;Open Project Structure dialog ^;::Send ^!+s ;Open Project Structure dialog
; Debugging ; Debugging
^!r::Send F9 ;Resume program ^!r::Send {F9} ;Resume program
; Search/Replace ; Search/Replace
^g::Send F3 ;Find next ^g::Send {F3} ;Find next
^+F3::Send Shift+F3 ;Find previous ^+F3::Send +{F3} ;Find previous
#g::Send !j ;Select next occurrence #g::Send !j ;Select next occurrence
^#g::Send ^!+j ;Select all occurrences ^#g::Send ^!+j ;Select all occurrences
#+g::Send !+j ;Unselect occurrence #+g::Send !+j ;Unselect occurrence
; Editing ; Editing
#Space::Send ^Space ;Basic code completion #Space::Send ^{Space} ;Basic code completion
#+Space::Send ^+Space ;Smart code completion #+Space::Send ^+{Space} ;Smart code completion
#j::Send ^q ;Quick documentation lookup #j::Send ^q ;Quick documentation lookup
^n::Send !{Insert} ;Generate code... ^n::Send !{Insert} ;Generate code...
#o::Send ^o ;Override methods #o::Send ^o ;Override methods
@@ -248,35 +286,35 @@ $^+Right::Send +{End}
#!i::Send ^!i ;Auto-indent line(s) #!i::Send ^!i ;Auto-indent line(s)
^Backspace::Send ^y ;Delete line at caret ^Backspace::Send ^y ;Delete line at caret
#+j::Send ^+j ;Smart line join #+j::Send ^+j ;Smart line join
!Delete::Send ^Delete ;Delete to word end !Delete::Send ^{Delete} ;Delete to word end
!Backspace::Send ^Backspace ;Delete to word start !Backspace::Send ^{Backspace} ;Delete to word start
^+::Send ^{NumpadAdd} ;Expand code block ^+::Send ^{NumpadAdd} ;Expand code block
^-::Send ^{NumpadSub} ;Collapse code block ^-::Send ^{NumpadSub} ;Collapse code block
^++::Send ^+{NumpadAdd} ;Expand all ^++::Send ^+{NumpadAdd} ;Expand all
^+-::Send ^+{NumpadSub} ;Collapse all ^+-::Send ^+{NumpadSub} ;Collapse all
^w::Send ^F4 ;Close active editor tab ^w::Send ^{F4} ;Close active editor tab
; Refactoring ; Refactoring
^Delete::Send !Delete ;Safe Delete ^Delete::Send !{Delete} ;Safe Delete
^T::Send ^!+T ;Refactor this ^T::Send ^!+T ;Refactor this
; Navigation ; Navigation
^o::Send ^n ;Go to class ^o::Send ^n ;Go to class
^+o::Send ^+n ;Go to file ^+o::Send ^+n ;Go to file
^!o::Send ^!+n ;Go to symbol ^!o::Send ^!+n ;Go to symbol
#Right::Send !Right ;Go to next editor tab #Right::Send !{Right} ;Go to next editor tab
#Left::Send !Left ;Go to previous editor tab #Left::Send !{Left} ;Go to previous editor tab
#l::Send ^g ;Go to line #l::Send ^g ;Go to line
#e::Send ^e ;Recent files popup #e::Send ^e ;Recent files popup
!Space::Send ^+i ;Open quick definition lookup !Space::Send ^+i ;Open quick definition lookup
^Y::Send ^+i ;Open quick definition lookup ^Y::Send ^+i ;Open quick definition lookup
#+b::Send ^+b ;Go to type declaration #+b::Send ^+b ;Go to type declaration
#Up::Send !Up ;Go to previous #Up::Send !{Up} ;Go to previous
#Down::Send !Down ;Go to next method #Down::Send !{Down} ;Go to next method
#h::Send ^h ;Type hierarchy #h::Send ^h ;Type hierarchy
#!h::Send ^!h ;Call hierarchy #!h::Send ^!h ;Call hierarchy
^Down::Send ^Enter ;Edit source/View source ^Down::Send ^{Enter} ;Edit source/View source
!Home::Send !Home ;Show navigation bar !Home::Send !{Home} ;Show navigation bar
F2::Send F11 ;Toggle bookmark F2::Send {F11} ;Toggle bookmark
#F3::Send ^F11 ;Toggle bookmark with mnemonic #F3::Send ^{F11} ;Toggle bookmark with mnemonic
#0::Send ^{0} ;Go to numbered bookmark #0::Send ^{0} ;Go to numbered bookmark
#1::Send ^{1} ;Go to numbered bookmark #1::Send ^{1} ;Go to numbered bookmark
#2::Send ^{2} ;Go to numbered bookmark #2::Send ^{2} ;Go to numbered bookmark
@@ -287,18 +325,16 @@ $^+Right::Send +{End}
#7::Send ^{7} ;Go to numbered bookmark #7::Send ^{7} ;Go to numbered bookmark
#8::Send ^{8} ;Go to numbered bookmark #8::Send ^{8} ;Go to numbered bookmark
#9::Send ^{9} ;Go to numbered bookmark #9::Send ^{9} ;Go to numbered bookmark
^F3::Send +F11 ;Show bookmarks ^F3::Send +{F11} ;Show bookmarks
; Compile and Run ; Compile and Run
#!r::Send !+F10 ;Select configuration and run #!r::Send !+{F10} ;Select configuration and run
#!d::Send !+F9 ;Select configuration and debug #!d::Send !+{F9} ;Select configuration and debug
#r::Send +F10 ;Run #r::Send +{F10} ;Run
#d::Send +F9 ;Debug #d::Send +{F9} ;Debug
#+r::Send ^+F10 ;Run context configuration from editor #+r::Send ^+{F10} ;Run context configuration from editor
#+d::Send ^+F9 ;Debug context configuration from editor #+d::Send ^+{F9} ;Debug context configuration from editor
; VCS/Local History ; VCS/Local History
#v::Send !` ;VCS quick popup #v::Send !` ;VCS quick popup
; Sigints - interrupt
$#c::Send {Ctrl down}c{Ctrl up}
#If #If
; Close all browsers ; Close all browsers
@@ -339,7 +375,7 @@ $^+Right::Send +{End}
^!O::send {Insert} ; toggle_overwrite ^!O::send {Insert} ; toggle_overwrite
!c::Return ; cancel toggle_case_sensitive !c::Return ; cancel toggle_case_sensitive
^!c::send !{c} ; toggle_case_sensitive ^!c::send !{c} ; toggle_case_sensitive
^h::Return ; cancel replace ; ^h::Return ; cancel replace
^!f::send ^{h} ; replace ^!f::send ^{h} ; replace
^+h::Return ; cancel replace_next ^+h::Return ; cancel replace_next
^!e::send ^+{h} ; replace_next ^!e::send ^+{h} ; replace_next
@@ -377,6 +413,17 @@ $^+Right::Send +{End}
#If #If
#IfWinActive ahk_group terminals #IfWinActive ahk_group terminals
; End of Line
#e::
Send {End}
return
; Beginning of Line
#a::
Send {Home}
return
; Copy ; Copy
^c:: ^c::
SetKeyDelay -1 SetKeyDelay -1
@@ -425,28 +472,6 @@ $^+Right::Send +{End}
} }
return return
; End of Line
^e::
SetKeyDelay -1
Send {Blind}{e DownTemp}
return
^e up::
SetKeyDelay -1
Send {Blind}{e Up}
return
; Beginning of Line
^a::
SetKeyDelay -1
Send {Blind}{a DownTemp}
return
^a up::
SetKeyDelay -1
Send {Blind}{a Up}
return
^l::Send clear{Enter} ^l::Send clear{Enter}
; #l::return ; #l::return
; Clear Terminal and Scroll Buffer ; Clear Terminal and Scroll Buffer