This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Persistent | |
SetTimer, CheckHoldCtrl, Off ; Timer for Ctrl (forward button) | |
SetTimer, CheckHoldShift, Off ; Timer for Shift (back button) | |
SetTimer, CheckHoldAlt, Off ; Timer for Alt (middle button) | |
HoldTime := 0.3 ; Hold time threshold in milliseconds | |
; Back button (XButton1) -> Shift key | |
XButton1:: | |
KeyWait, XButton1, T%HoldTime% ; Wait for the button to be released within the threshold | |
if (ErrorLevel) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; use with kanata_winIOv2.exe or kanata_gui.exe | |
(defcfg | |
windows-altgr cancel-lctl-press | |
process-unmapped-keys yes | |
) | |
(defvar | |
tap-time 200 | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Ein fixer String, der in {@link Template} mit anderen Werten verknüpft wird und abhängig von der Gültigkeit der anderen Werte mitangezeigt wird. | |
* | |
* Das Trennzeichen darf kein Empty-String sein! | |
*/ | |
export type Trennzeichen = string; // Empty string als Trennzeichen nicht erlaubt | |
/** | |
* Ein Wert, z.B. von einer Variable, der konkateniert werden soll. Ungültige Werte (null, undefined, Empty-String) werden nicht ausgegeben. | |
* Ungültige Werte beeinflussen ggf. auch die Ausgabe von Trennzeichen im gleichen {@link Template} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Template String Tag Funktion, druckt die eingesetzten Werte im Template und den vorangestellten Verbindungsstrings nur aus, wenn der Wert nicht leer ist. | |
* | |
* z.B. | |
* format`${strasse} ${hausnummer} ${stockTuernummer} / ${abgabestelle} / ${anschriftzusatz}` | |
* | |
* => Bambuslichtung 15 / Scheunentor | |
* | |
* wenn nur strasse, hausnummer und abgabestelle angegeben sind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
#InstallKeybdHook | |
TAPPING_TERM := 200 | |
keyboard := ["SC029","SC002","SC003","SC004","SC005","SC006","SC007","SC008","SC009","SC00A","SC00B","SC00C","SC00D","SC00E" | |
,"SC00F","SC010","SC011","SC012","SC013","SC014","SC015","SC016","SC017","SC018","SC019","SC01A","SC01B","SC01C" | |
,"SC03A","SC01E","SC01F","SC020","SC021","SC022","SC023","SC024","SC025","SC026","SC027","SC028","SC02B" | |
,"SC02A","SC02C","SC02D","SC02E","SC02F","SC030","SC031","SC032","SC033","SC034","SC035","SC056","SC136" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
*<#j::Send {Blind}{LWin up}{Left}{LWin down}{LCtrl} | |
*<#k::Send {Blind}{LWin up}{Down}{LWin down}{LCtrl} | |
*<#l::Send {Blind}{LWin up}{Right}{LWin down}{LCtrl} | |
*<#i::Send {Blind}{LWin up}{Up}{LWin down}{LCtrl} | |
*<#u::Send {Blind}{LWin up}{Home}{LWin down}{LCtrl} | |
*<#o::Send {Blind}{LWin up}{End}{LWin down}{LCtrl} | |
*<#p::Send {Blind}{LWin up}{PgUp}{LWin down}{LCtrl} | |
*<#ö::Send {Blind}{LWin up}{PgDn}{LWin down}{LCtrl} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StringUtils { | |
public static String join(String... parts) { | |
return Arrays.stream(parts).map(s -> | |
s.replaceAll( | |
"\\\\", // regex, replace \ | |
"\\\\\\\\" // with \\ | |
).replaceAll( | |
"\\|", // regex, replace | | |
"\\\\|" // with \| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2019-08-22 12:40:39" build="180626"> | |
<value name="Language" type="string" data="en"/> | |
<value name="StartType" type="hex" data="02"/> | |
<value name="CmdLine" type="string" data=""/> | |
<value name="StartTasksFile" type="string" data=""/> | |
<value name="StartTasksName" type="string" data="{bash::bash}"/> | |
<value name="StartFarFolders" type="hex" data="00"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; Home | |
; | |
; Win-Left = Home = start of line | |
#Left::Send {Home} | |
; Ctrl-Win-Left = Ctrl-Home = start of document | |
^#Left::Send {LCtrl down}{Home}{LCtrl up} |
NewerOlder