Created
November 6, 2018 16:45
-
-
Save llinfeng/3876ec51d184dea2af5610608e0352b5 to your computer and use it in GitHub Desktop.
Restore <c-w> to delete a word in Firefox, with solutation to Tridactyl
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
; Since Github refuse to render anything in the old Firefox 55, I need to switch to Tridactyl with the newer Firefox. | |
; Yet, the <c-w> is missing from Tridactyl, and it is impossible to implemnet an Insert mode there | |
; This maps <c-w> to delete the word, and <alt + q> to take out (close) a tab. | |
; Lastly, <Alt + Shift + Q> will close the entire window. It is impractical to kill all existing process as done on Mac. | |
#IfWinActive ahk_exe firefox.exe | |
;questionable piece, 2018-11-06: may not get used to it in the end. | |
!q:: send ^w | |
^w:: Send ^+{Left}{BS} | |
; End of questionable piece. | |
!+q:: send !{F4} | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment