The default keybinding of vim were quite obviously created with the US keyboard layout in mind, which make some of the default ones rather awkward on non-US keyboards. For example on my Hungarian keyboard [ and ] are altgr+f and g respectively, while the physical place of [ and ] are occupied by special accented characters ő and ú. I realized, that although in insert mode I obviously need these to be able write quickly in Hungarian, in normal mode I can map these keys back to [ and ] and make my life easier and sort-of keep the default vim bindings in terms of physical placing.
So now I have in my .vimrc:
nmap ő [
nmap ú ]
To test this I turned to two commands Ctrl-] and g]. Both Ctrl-] and Ctrl-ú now jump to the appropriate tag. Unfortunately, g] does open a list of tags, but gú doesn't do anything.
Any idea why one of these work, while the other does not?
EDIT:
For fellow Hungarians, based on the perfect answer below, I now have this in my .vimrc:
set langmap=ő[,ú],á',é`,ű#
- https://vi.stackexchange.com/q/6821/1733
- https://vi.stackexchange.com/q/6629/1733
– Martin Tóth Dec 09 '20 at 15:22