Compare commits

...

6 Commits

Author SHA1 Message Date
Ben Reaves
139cff181f Merge pull request #280 from rbreaves/hotfix
- Fixes copy/paste for cmd/mintty in Win10
2020-09-29 04:09:28 -05:00
Ben Reaves
d642966ba8 - Fixes copy/paste for cmd/mintty in Win10 2020-09-29 04:06:28 -05:00
Ben Reaves
7fe35cdec3 Merge pull request #270 from rbreaves/hotfix
- Added virtualbox fix
2020-08-25 04:35:25 -05:00
Ben Reaves
e702e461ac Merge pull request #269 from rbreaves/hotfix
- Added VS Code Quick File List traversing. #264
2020-08-25 04:22:44 -05:00
Ben Reaves
45e637a2a6 - Added virtualbox fix 2020-08-25 04:15:07 -05:00
Ben Reaves
a4dca21c22 - Added VS Code Quick File List traversing 2020-08-25 04:10:07 -05:00

View File

@@ -111,6 +111,9 @@ GroupAdd, ConEmu, ahk_exe ConEmu.exe
GroupAdd, ConEmu, ahk_exe ConEmu64.exe
GroupAdd, ConEmu, ahk_exe WindowsTerminal.exe
GroupAdd, ExcPaste, ahk_exe Cmd.exe
GroupAdd, ExcPaste, ahk_exe mintty.exe
GroupAdd, editors, ahk_exe sublime_text.exe
GroupAdd, editors, ahk_exe VSCodium.exe
GroupAdd, editors, ahk_exe Code.exe
@@ -118,6 +121,10 @@ GroupAdd, editors, ahk_exe Code.exe
GroupAdd, browsers, ahk_exe chrome.exe
GroupAdd, browsers, ahk_exe opera.exe
GroupAdd, browsers, ahk_exe firefox.exe
; Disable Key Remapping for Virtual Machines
; Disable for Remote desktop solutions too
GroupAdd, virtm, ahk_exe VirtualBoxVM.exe
; Disabled Edge for now - no ability to close all instances
; GroupAdd, browsers, Microsoft Edge ahk_class ApplicationFrameWindow
@@ -129,6 +136,10 @@ GroupAdd, vstudio, ahk_exe devenv.exe
GroupAdd, intellij, ahk_exe idea.exe
GroupAdd, intellij, ahk_exe idea64.exe
; SetCapsLockState, AlwaysOff ; CB/IBM
#IfWinNotActive ahk_group virtm
; New AltTab and CtrlTab fix
*tab::
{
@@ -363,6 +374,8 @@ $^Space::Send ^{Esc}
; Sublime Text Remaps for VS Code
#IfWinActive ahk_group vscode
#p::send {Up} ; Allow for traversing quick list
#n::send {Down} ; Allow for traversing quick list
#Space::Send ^{Space} ; Basic code completion
; Remap Ctrl+Shift to behave like macOS Sublimetext
; Will extend cursor to multiple lines
@@ -436,31 +449,45 @@ $^Space::Send ^{Esc}
#IfWinActive ahk_group terminals
; End of Line
#e::
#e:: ; Default
; !e:: ; CB/IBM
Send {End}
return
; Beginning of Line
#a::
#a:: ; Default
; !a:: ; CB/IBM
Send {Home}
return
; Copy
^c::
If WinActive("ahk_exe cmd.exe"){
Send {Enter}
}
else if WinActive("ahk_exe mintty.exe"){
SetKeyDelay -1
Send {Blind}{Insert}
}
else{
SetKeyDelay -1
Send {Blind}{LShift down}{c DownTemp}
}
return
^c up::
If not WinActive("ahk_group cmd.exe"){
SetKeyDelay -1
Send {Blind}{c Up}{LShift Up}
}
return
; Sigints - interrupt
$#c::Send {Ctrl down}c{Ctrl up}
$#c::Send {Ctrl down}c{Ctrl up} ; Default
; $!c::Send {Ctrl down}c{Ctrl up} ; CB/IBM
; Paste
^v::
$^v::
If WinActive("ahk_exe mintty.exe"){
Send {Shift down}{Insert}{Shift up}
}
@@ -513,3 +540,4 @@ $^Space::Send ^{Esc}
#y::Send {LCtrl down}y{LCtrl Up}
#v::Send {LCtrl down}v{LCtrl Up}
#If
#If