Input methods: Difference between revisions

1,975 bytes removed ,  20:57, 4 November 2023
→‎vim: link to article
(Link to Compose key)
(→‎vim: link to article)
Line 9: Line 9:


=== vim ===
=== vim ===
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.)
See [[Vim input]].
 
{| class=wikitable
! || 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
let b:keymap_name = "toaq"
loadkeymap
.i i
i ı
// /
:: :
>> >
'' '
"" "
^^ ^
.. .
.< «
.> »
.{ ‹
.} ›
./ ́
.: ̈
.> ̂
., ̣
.A Ạ
.U Ụ
.I Ị
.O Ọ
.E Ẹ
.a ạ
.u ụ
.i ı̣
.o ọ
.e ẹ
vy ꝡ
Vy Ꝡ
VY Ꝡ
/A Á
/U Ú
/I Í
/O Ó
/E É
/a á
/u ú
/i í
/o ó
/e é
:A Ä
:U Ü
:I Ï
:O Ö
:E Ë
:a ä
:u ü
:i ï
:o ö
:e ë
>A Â
>U Û
>I Î
>O Ô
>E Ê
>a â
>u û
>i î
>o ô
>e ê
'A Ạ́
'U Ụ́
'I Ị́
'O Ọ́
'E Ẹ́
'a ạ́
'u ụ́
'i ị́
'o ọ́
'e ẹ́
"A Ạ̈
"U Ụ̈
"I Ị̈
"O Ọ̈
"E Ẹ̈
"a ạ̈
"u ụ̈
"i ị̈
"o ọ̈
"e ẹ̈
^A Ậ
^U Ụ̂
^I Ị̂
^O Ộ
^E Ệ
^a ậ
^u ụ̂
^i ị̂
^o ộ
^e ệ
</pre>}}
 
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"
! Character || Combo
|-
| {{Done|2}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|'}}
|-
| {{Done|3}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|:}}
|-
| {{Done|4}} || {{Key|Ctrl+K}} {{Key|vowel}} {{Key|>}}
|-
| dotless i ({{t|ı}}) || {{Key|Ctrl+K}} {{Key|.}} {{Key|i}}
|-
| left quote ({{t|«}}) || {{Key|Ctrl+K}} {{Key|&lt;}} {{Key|&lt;}}
|-
| right quote ({{t|»}}) || {{Key|Ctrl+K}} {{Key|&gt;}} {{Key|&gt;}}
|}


=== AutoHotkey (Windows) ===
=== AutoHotkey (Windows) ===