Last active
October 21, 2019 06:03
-
-
Save apoorvalal/beb8a198ea0dc022e6e772b1ea1e5bb4 to your computer and use it in GitHub Desktop.
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
; ############################ AHK Greek Letters.ahk > | |
; Uses (CTRL & ALT & SHIFT & alphabetic keyboard keys) to send lowercase Greek letters to your text editor | |
+^!a::Send {U+03B1} ; α - alpha | |
+^!b::Send {U+03B2} ; β - beta | |
+^!g::Send {U+03B3} ; γ - gamma | |
+^!d::Send {U+03B4} ; δ - delta | |
+^!e::Send {U+03B5} ; ε - epislon | |
+^!z::Send {U+03B6} ; ζ - zeta | |
+^!h::Send {U+03B7} ; η - eta | |
+^!l::Send {U+03BB} ; λ - lamda | |
+^!m::Send {U+03BC} ; μ - mu | |
+^!p::Send {U+03C0} ; π - pi | |
+^!r::Send {U+03C1} ; ρ - rho | |
+^!s::Send {U+03C3} ; σ - sigma | |
+^!t::Send {U+03C4} ; τ - tau | |
+^!f::Send {U+03C6} ; φ - phi | |
+^!x::Send {U+03C7} ; χ - chi | |
+^!y::Send {U+03C8} ; ψ - psi | |
+^!w::Send {U+03C9} ; ω - omega | |
; ############################ AHK Math Symbols.ahk > | |
; Uses (CTRL & ALT & keyboard keys > 1-0,-,=,F1-F4) to send that math symbol to your text editor | |
; Adapted from previous work and advice - by POSAM-Ron | |
+^!1::Send {U+00B1} ; ( ± ) plus-minus | |
+^!2::Send {U+221E} ; ( ∞ ) infinity | |
+^!3::Send {U+2248} ; ( ≈ ) almost equal | |
+^!4::Send {U+2260} ; ( ≠ ) not equal | |
+^!5::Send {U+2261} ; ( ≡ ) equivalent to | |
+^!6::Send {U+2264} ; ( ≤ ) less than or equal | |
+^!7::Send {U+2265} ; ( ≥ ) greater than or equal | |
+^!8::Send {U+221A} ; ( √ ) square root | |
+^!9::Send {U+2502} ; ( │ ) integral middle ; vertical bar | |
+^!0::Send {U+222B} ; ( ∫ ) integral | |
+^!-::Send {U+2320} ; ( ⌠ ) integral top | |
+^!=::Send {U+2321} ; ( ⌡ ) integral bottom | |
+^!F1::Send {U+00BA} ; ( º ) power zero ; degree | |
+^!F2::Send {U+00B9} ; ( ¹ ) power one ; linear | |
+^!F3::Send {U+00B2} ; ( ² ) power two ; squared | |
+^!F4::Send {U+00B3} ; ( ³ ) power three ; cubed | |
; ############################ |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; restricted to chrome windows | |
; #IfWinActive ahk_class Chrome_WidgetWin_1 | |
GroupAdd, WorkIn , ahk_exe chrome.exe ;Desktop | |
GroupAdd, WorkIn , ahk_exe Dynalist.exe ;notepad | |
#IfWinActive ,ahk_group WorkIn | |
; #IfWinActive chrome.exe|Dynalist.exe | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; vim navigation in text fields + Scrolling during regular browsing | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; alt + h = cursor left | |
!h::Send {Left} | |
Return | |
; alt + shift + h = select + cursor left | |
+!h::Send +{Left} | |
Return | |
; alt + j = cursor down | |
!j::Send {Down} | |
Return | |
; alt + shift + j = select + cursor down | |
+!j::Send +{Down} | |
Return | |
; alt + k = cursor up | |
!k::Send {Up} | |
Return | |
; alt + shift + k = select + cursor up | |
+!k::Send +{Up} | |
Return | |
; alt + l = cursor right | |
!l::Send {Right} | |
Return | |
; alt + shift + l = select + cursor right | |
+!l::Send +{Right} | |
Return | |
; alt + w = next word | |
!w::Send ^{Right} | |
Return | |
; alt + shift + w = next word | |
+!w::Send +^{Right} | |
Return | |
; alt + b = previous word | |
!b::Send ^{Left} | |
Return | |
; alt + shift + b = select + previous word | |
+!b::Send +^{Left} | |
Return | |
; alt + y = beginning of line | |
!y::Send {Home} | |
Return | |
; alt + shift + y = select + beginning of line | |
+!y::Send +{Home} | |
Return | |
; alt + o = end of line | |
!o::Send {End} | |
Return | |
; alt + shift + o = select + end of line | |
+!o::Send +{End} | |
Return | |
; alt + n = next screenful | |
!n::Send {PgDn} | |
Return | |
; alt + p = previous screenful | |
!p::Send {PgUp} | |
Return | |
; ctrl + space = escape | |
^Space::Send {Esc} | |
; alt + x = delete character | |
!x::Send {Del} | |
; ctrl + shift + d = duplicate line | |
^+d::Send ^!{Up} | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; LaTeX-ish functions | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; ctrl + alt + space = insert underscore | |
^!Space:: | |
SendInput, _ | |
Return | |
; ctrl + alt + / = insert latex delimiters for dynalist | |
^!/:: | |
SendInput, $$ $$ | |
Send {left 3} | |
Return | |
#IfWinActive |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; restricted to adobe reader windows | |
#IfWinActive ahk_class AcrobatSDIWindow | |
; ctrl + shift + a | |
; 2 page scrolling view | |
^+a:: | |
Send !v | |
Sleep, 100 | |
Send p | |
Sleep, 100 | |
Send t | |
Return | |
; ctrl + shift + q | |
; # 1 page scrolling view | |
^+q:: | |
Send !v | |
Sleep, 100 | |
Send p | |
Sleep, 100 | |
Send c | |
Return | |
; read mode (hides all menu bars etc) | |
!r:: | |
Send {F8} | |
Send {F9} | |
Return | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; vim - emacs hybrid navigation | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; alt + p = previous page | |
!p::Send {Left} | |
Return | |
; alt + j = scroll down | |
!j::Send {Down} | |
Return | |
; alt + k = scroll up | |
!k::Send {Up} | |
Return | |
; alt + n = next page | |
!n::Send {Right} | |
Return | |
#IfWinActive | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; restricted to adobe reader windows | |
#IfWinActive ahk_class Chrome_WidgetWin_1 | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; vim navigation in text fields + Scrolling during regular browsing | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; alt + h = cursor left | |
!h::Send {Left} | |
Return | |
; alt + j = cursor down | |
!j::Send {Down} | |
Return | |
; alt + k = cursor up | |
!k::Send {Up} | |
Return | |
; alt + l = cursor right | |
!l::Send {Right} | |
Return | |
; alt + w = next word | |
!w::Send ^{Right} | |
Return | |
; alt + b = previous word | |
!b::Send ^{Left} | |
Return | |
; alt + y = beginning of line | |
!y::Send {Home} | |
Return | |
; alt + o = end of line | |
!o::Send {End} | |
Return | |
; alt + n = next screenful | |
!n::Send {Space} | |
Return | |
; alt + p = previous screenful | |
!p::Send +{Space} | |
Return | |
#IfWinActive | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; restricted to adobe reader windows | |
#IfWinActive ahk_class MozillaWindowClass | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; vim - emacs hybrid navigation | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; alt + j = cursor down | |
!j::Send {Down} | |
Return | |
; alt + k = cursor up | |
!k::Send {Up} | |
Return | |
; alt + w = next word | |
!w::Send ^{Right} | |
Return | |
; alt + b = previous word | |
!b::Send ^{Left} | |
Return | |
; alt + y = beginning of line | |
!y::Send {Home} | |
Return | |
; alt + o = end of line | |
!o::Send {End} | |
Return | |
; alt + n = next screenful | |
!n::Send {Space} | |
Return | |
; alt + p = previous screenful | |
!p::Send +{Space} | |
Return | |
#IfWinActive |
Author
apoorvalal
commented
Oct 21, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment