'Script to double quotes

I have a keyboard that does not have double quotes, when I need to use it, it's very difficult to remember the FN. How can I create a script so that when I press LShift + Escape it puts a double quote?



Solution 1:[1]

You can't create macros like this within bash. You would have to remap keyboard presses at the OS/application level.

If you're using a Mac, try Hammerspoon. If you're on a PC, try AutoHotkey.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dean Householder