Input methods: Difference between revisions

99 bytes removed ,  14:36, 20 December 2022
→‎vim: update keymap; add explanatory table
(move kanakey down)
(→‎vim: update keymap; add explanatory table)
Line 45: Line 45:
Copy the contents below into a file called <code>toaq.vim</code> inside a folder named <code>keymap</code> in your <code>.vim</code> directory (create it if it doesn’t exist). Then, in insert mode, you may use any of the two-keystroke “combinations” and have them replaced with accented letters on the fly. (See <code>:help mbyte-keymap</code> for more detailed information.)
Copy the contents below into a file called <code>toaq.vim</code> inside a folder named <code>keymap</code> in your <code>.vim</code> directory (create it if it doesn’t exist). Then, in insert mode, you may use any of the two-keystroke “combinations” and have them replaced with accented letters on the fly. (See <code>:help mbyte-keymap</code> for more detailed information.)


{{details|Toaq vim keymap|<pre>" toaq keymap
{| class=wikitable
" by uakci on 2022-06-23
! || Without underdot || With underdot
|-
! {{done|1}}
|          || {{key|.}}
|-
! {{done|2}}
| {{key|/}} || {{key|'}}
|-
! {{done|3}}
| {{key|:}} || {{key|"}}
|-
! {{done|4}}
| {{key|>}} || {{key|^}}
|}
 
{{collapsible|Toaq vim keymap|<pre>" toaq keymap
" by uakci on 2022-12-20
scriptencoding utf8
scriptencoding utf8
let b:keymap_name = "toaq"
let b:keymap_name = "toaq"
Line 53: Line 69:
i ı
i ı
// /
// /
:: :
>> >
'' '
'' '
\"\" \"
"" "
:: :
?? ?
^^ ^
^^ ^
`` `
\\\\ \\
~~ ~
.. .
.. .
.< «
.< «
Line 67: Line 80:
.} ›
.} ›
./ ́
./ ́
.' ́
." ̈
.: ̈
.: ̈
.? ̉
.> ̂
.^ ̂
., ̣
.` ̀
.A Ạ
.\ ̀
.U Ụ
.~ ̃
.I Ị
.O Ọ
.E Ẹ
.a ạ
.u ụ
.i ı̣
.o ọ
.e ẹ
vy ꝡ
Vy Ꝡ
VY Ꝡ
/A Á
/A Á
/U Ú
/U Ú
Line 80: Line 101:
/O Ó
/O Ó
/E É
/E É
/Y Ý
/a á
/a á
/u ú
/u ú
Line 86: Line 106:
/o ó
/o ó
/e é
/e é
/y ý
'A Á
'U Ú
'I Í
'O Ó
'E É
'Y Ý
'a á
'u ú
'i í
'o ó
'e é
'y ý
\"A Ä
\"U Ü
\"I Ï
\"O Ö
\"E Ë
\"Y Ÿ
\"a ä
\"u ü
\"i ï
\"o ö
\"e ë
\"y ÿ
:A Ä
:A Ä
:U Ü
:U Ü
Line 116: Line 111:
:O Ö
:O Ö
:E Ë
:E Ë
:Y Ÿ
:a ä
:a ä
:u ü
:u ü
Line 122: Line 116:
:o ö
:o ö
:e ë
:e ë
:y ÿ
>A Â
?A Ả
>U Û
?U Ủ
>I Î
?I Ỉ
>O Ô
?O Ỏ
>E Ê
?E Ẻ
>a â
?Y Ỷ
>u û
?a ả
>i î
?u ủ
>o ô
?i ỉ
>e ê
?o ỏ
'A Ạ́
?e ẻ
'U Ụ́
?y ỷ
'I Ị́
^A Â
'O Ọ́
^U Û
'E Ẹ́
^I Î
'a ạ́
^O Ô
'u ụ́
^E Ê
'i ị́
^Y Ŷ
'o ọ́
^a â
'e ẹ́
^u û
"A Ạ̈
^i î
"U Ụ̈
^o ô
"I Ị̈
^e ê
"O Ọ̈
^y ŷ
"E Ẹ̈
`A À
"a ạ̈
`U Ù
"u ụ̈
`I Ì
"i ị̈
`O Ò
"o ọ̈
`E È
"e ẹ̈
`Y Ỳ
^A
`a à
^U Ụ̂
`u ù
^I Ị̂
`i ì
^O
`o ò
^E
`e è
^a
`y ỳ
^u ụ̂
\\A À
^i ị̂
\\U Ù
^o
\\I Ì
^e
\\O Ò
\\E È
\\Y Ỳ
\\a à
\\u ù
\\i ì
\\o ò
\\e è
\\y ỳ
~A Ã
~U Ũ
~I Ĩ
~O Õ
~E
~Y Ỹ
~a ã
~u ũ
~i ĩ
~o õ
~e
~y ỹ
</pre>}}
</pre>}}


Alternatively, for sporadic usage, you can enter Toaq characters using Ctrl+K followed by two keys: (see <code>:help digraph</code>)
Alternatively, for sporadic usage, you can enter Toaq characters using Ctrl+K followed by two keystrokes (see <code>:help digraph</code>). {{VY}} is not available to input using this method.


{| class="wikitable"
{| class="wikitable"
! Character || Combo
! Character || Combo
|-
|-
| {{Tone|2}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|'}}
| {{Done|2}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|'}}
|-
| {{Tone|3}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|:}}
|-
| {{Tone|4}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|2}}
|-
| {{Tone|5}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|>}}
|-
|-
| {{Tone|6}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|`}}
| {{Done|3}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|:}}
|-
|-
| {{Tone|7}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|?}}
| {{Done|4}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|>}}
|-
|-
| dotless i ({{t|ı}}) || {{Key|Ctrl+K}} {{Key|.}} {{Key|i}}
| dotless i ({{t|ı}}) || {{Key|Ctrl+K}} {{Key|.}} {{Key|i}}