On Thu, Jun 11, 2020 at 8:31 AM Tony Mechelynck
<antoine.mechelynck@gmail.com> wrote:
>
> On Wed, Jun 10, 2020 at 12:06 PM Manas <manas18244@iiitd.ac.in> wrote:
>>
>> Hi guys, I want to know if it is possible to input digraphs continuously.
>>
>> For example, when writing some math related assignment, often I have to write many symbols which I do using digraphs. But using <C-k> every time seems tedious. Is there a way I can make <C-k> (or anything else) work for infinite digraphs, until I manually end it.
>>
>> Thanks
>> --
>> Manas
>> CSAM Undergraduate 2022
>>
> Rather than digraphs, maybe use a keymap (see :help mbyte-keymap)? I use that (rather than strings of digraphs) when writing Russian, or mixed Cyrillic and Latin as in my Russian-French dictionary; and I have a different one for Arabic, where there even aren't any digraphs (both of them own-coded because the keybord layouts, if any, distributed with Vim for these scripts don't suit me). It works quite well.
Oops! For Arabic there also are digraphs. But for more than two or
three consecutive letters, a keymap is much less "tedious" as you call
it.
>
> For math, Dr. Charles "Chip" Campbell wrote a "math keymap and menu". The following links are from his Vim page, http://www.drchip.org/astronaut/vim/ :
> • stable version: http://vim.sourceforge.net/scripts/script.php?script_id=2723
> • latest "beta" version: http://www.drchip.org/astronaut/vim/#MATH
>
> Or if you prefer writing your own, here is a short HowTo page: https://vim.fandom.com/wiki/How_to_make_a_keymap
>
> Best regards,
> Tony.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXusGpPpdXFX5cv8H1JhKdmfdo3q%3DywJWsTmPhdUg8r3sg%40mail.gmail.com.
No comments:
Post a Comment