This is to address productivity and not specific question.
If I am not mistaken then czech language includes letters like á, č, ď, é, ě, í, ň, ó, ř, š, ť, ú, ů, ý, ž. So ě is small subset of root problem: need to write in czech (or any other language with special characters).
Keeping this in mind there are several approaches which one can pursue to address the root problem.
I found switching layouts for each language is somewhat unpractical.
There is built-in shortcut (which may or may not need to enabled/set up): System Preferences > Keyboard > Shortcuts > Input Sources > 'Select the previous input source', 'Select next source in input menu'
After adding needed layout(s) and enabling shortcut it is very simple to switch layouts without need to raise your hand from keyboard. If one is familiar with language specific layout IMHO it is by far the simplest solution.
There is also selection under 'Input Sources' labeled 'Automatically switch to a document's input source' which can be used to automate switching.
Alternatively, there is keyboard layout in input sources called 'ABC extended'. If one uses this then there are handy shortcuts for different accents. NB! these shortcuts may or may not conflict with 'personal' shortcuts set up.
Hachek caron:
- ⌥ + V, followed by letter (like c, e, n, r, s, z or special cases l and d) -> č, ě, ň, ř, š, ž, ľ, ď
Acute:
- ⌥ + E followed by letter (like a, e, i, o, u, y) -> á, é, í, ó, ú, ý
U-ring:
- ⌥ + K, followed by letter (like u) -> ů
Alternatively, there is 'Character viewer' which pop-up window can be invoked with ⌃ + ⌘ + SPACE. After adding characters needed to 'Favorites' one can use use arrow keys for navigation to needed letter and enter it to the text.
defaults write
command on the plist. I don’t have a Mac handy at the moment, but the plist may be located in~/Library/Preferences
and may be titledcom.apple.keyboard.plist
or something along those lines~/Library/Preferences
and only found a file called:com.apple.keyboardservicesd.plist
/System/Library/Input Methods/PressAndHold.app/Contents/PlugIns/PAH_Extension.appex/Contents/Resources/Keyboard-en.plist
. However, with the extra layer of security added to Big Sur, it is difficult to modify system files without disabling the new SSV volume structure. I won’t be able to advise you how to modify the system files, as I am not confident with disabling SSV, mounting the system volume and then creating a snapshot of the system under Big Sur, but you may have some luck looking around the internet. Best of luck\pi
, this will be automatically replaced byπ
. Note: I use a\
beforepi
because otherwise it will replace those letters in words likepineapple
toπneapple
so to avoid accidentally replacing those letters I add a\
in front in the keyboard text replacement forπ
as\pi