-
-
Save AdrienVR/4136db1bfb0d3d3490b0d1e23e56daf9 to your computer and use it in GitHub Desktop.
AutoHotkey script to fix Ctrl+Backspace (delete previous word) in File Explorer and Notepad
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
; how to write scripts: http://www.autohotkey.com/docs/ | |
#NoEnv | |
#SingleInstance force | |
SendMode Input | |
#IfWinActive ahk_exe explorer.exe | |
^Backspace:: | |
Send ^+{Left}{Backspace} | |
#IfWinActive ahk_exe ditto.exe | |
^Backspace:: | |
Send ^+{Left}{Backspace} | |
#IfWinActive | |
; source: https://gist.github.com/roryokane/6346782 | |
; context: http://superuser.com/a/636973/124606 | |
; relevant documentation links: | |
; writing hotkeys | |
; http://www.autohotkey.com/docs/Hotkeys.htm | |
; list of key codes (including Backspace) | |
; http://www.autohotkey.com/docs/KeyList.htm | |
; the #IfWinActive directive | |
; http://www.autohotkey.com/docs/commands/_IfWinActive.htm | |
; the Send command | |
; http://www.autohotkey.com/docs/commands/Send.htm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using @iwconfig suggestion + remove notepad line since Ctrl+Backspace is now supported in Windows 10