Luc Hermitte (talk | contribs) (Added to i18n category) |
(Change <tt> to <code>, perhaps also minor tweak.) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{TipNew |
||
− | <!-- [[Category:SomeCategory]] --> |
||
+ | |id=1515 |
||
− | |||
+ | |previous=1514 |
||
− | {{Tip |
||
+ | |next=1516 |
||
− | |title=<!-- a short and concise title --> |
||
− | |created= |
+ | |created=2007 |
− | |complexity= |
+ | |complexity=basic |
+ | |author= |
||
− | |author=<!-- Your name or [[User:Name]] --> |
||
+ | |version=7.0 |
||
− | |version=<!-- minimal vim version that can be used --> |
||
+ | |subpage=/200712 |
||
− | |text= |
||
+ | |category1=I18n |
||
− | |||
+ | |category2= |
||
⚫ | |||
This tip is about enabling the use of all characters in a Hungarian keymap, but the idea may be useful for other languages as well, hence the title. |
This tip is about enabling the use of all characters in a Hungarian keymap, but the idea may be useful for other languages as well, hence the title. |
||
− | There are four different Hungarian keymaps, depending on the infamous y-z key swap and the number of keys on the keyboard (101 or 102). For 101-key keyboards |
+ | There are four different Hungarian keymaps, depending on the infamous y-z key swap and the number of keys on the keyboard (101 or 102). For 101-key keyboards there is no separate 0 (zero) key, it is accessible by Alt-i'. The Happy Hacking Keyboard has a layout similar to 101 keys, so this must be used there as well. |
− | there is no separate 0 (zero) key, it is accessible by Alt-i'. The Happy Hacking Keyboard has a layout similar to 101 keys, so this must be used there as well. |
||
Important punctuation characters are accessible with mappings using the Alt key, so we have to disable menu-shortcuts using the Alt key with the following setting. |
Important punctuation characters are accessible with mappings using the Alt key, so we have to disable menu-shortcuts using the Alt key with the following setting. |
||
+ | <pre> |
||
− | |||
− | + | :set winaltkeys=no |
|
+ | </pre> |
||
If this setting is enabled, we can define the missing keys. Here are the most important ones: |
If this setting is enabled, we can define the missing keys. Here are the most important ones: |
||
+ | <pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | </pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | |||
⚫ | |||
− | |||
− | |||
⚫ | |||
− | |||
⚫ | |||
− | <!-- comments on the content of the tip go here, comments on the article itself can go to the discussion page --> |
||
− | <!-- sign your comments with ~~~~ and separate them with ---- --> |
||
⚫ | |||
− | [[Category:I18n]] |
Latest revision as of 06:29, 13 July 2012
This tip is about enabling the use of all characters in a Hungarian keymap, but the idea may be useful for other languages as well, hence the title.
There are four different Hungarian keymaps, depending on the infamous y-z key swap and the number of keys on the keyboard (101 or 102). For 101-key keyboards there is no separate 0 (zero) key, it is accessible by Alt-i'. The Happy Hacking Keyboard has a layout similar to 101 keys, so this must be used there as well.
Important punctuation characters are accessible with mappings using the Alt key, so we have to disable menu-shortcuts using the Alt key with the following setting.
:set winaltkeys=no
If this setting is enabled, we can define the missing keys. Here are the most important ones:
" Combinations accessible with the Alt key <M-`> 0 <M-q> \ <M-w> | <M-f> [ <M-g> ] <M-x> # <M-c> & <M-v> @ <M-b> { <M-n> } <M-m> < <M-.> > <M-,> ;
These lines can be appended to your $VIM/vimfiles/keymap/magyar_utf-8.keymap
file.