We have a special keyboard layout in the country, where I live (Latvia). It includes certain special letters: like ā, ē, ū and so on. Many people here set Latvian keyboard layout as a default. However I cannot do that because this layout has one major disadvantage for people like me.
Those special letters are typed by one of two ways: Alt+normal letter or '+normal letter. While the first way is goot, the second one is bad for programmers. I often use ' in the code, so having ' as a "dead key" (this is how it is called officially) is not suitable. But I still have to type those latvian chars sometimes. Until yesterday I kept English US layout as a default and added Latvian manually when I had to type latvian letters. This is a multiple move-and-click process. Yesterday I finally found a way to automate addition and removal of the layout.
Those special letters are typed by one of two ways: Alt+normal letter or '+normal letter. While the first way is goot, the second one is bad for programmers. I often use ' in the code, so having ' as a "dead key" (this is how it is called officially) is not suitable. But I still have to type those latvian chars sometimes. Until yesterday I kept English US layout as a default and added Latvian manually when I had to type latvian letters. This is a multiple move-and-click process. Yesterday I finally found a way to automate addition and removal of the layout.