Vim input: Difference between revisions
(Created page with "This article explains how to write Toaq in the text editor ''vim''. == Using a keymap == 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.) {...") |
(No difference)
|
Revision as of 20:57, 4 November 2023
This article explains how to write Toaq in the text editor vim.
Using a keymap
Copy the contents below into a file called toaq.vim inside a folder named keymap in your .vim 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 :help mbyte-keymap for more detailed information.)
| Without underdot | With underdot | |
|---|---|---|
| . | ||
| / | ' | |
| : | " | |
| > | ^ |
Toaq vim keymap
" 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 ệ
Using digraphs
Alternatively, for sporadic usage, you can enter Toaq characters using Ctrl+K followed by two keystrokes (see :help digraph). Ꝡ is not available to input using this method.
| Character | Combo |
|---|---|
| Ctrl+K vowel ' | |
| Ctrl+K vowel : | |
| Ctrl+K vowel > | |
| dotless i (ı) | Ctrl+K . i |
| left quote («) | Ctrl+K < < |
| right quote (») | Ctrl+K > > |