Wednesday, June 10, 2020

Re: Input continuous stream of digraphs

you could write a function with a while 1 loop that calls getchar() twice and calls exec 'normal i<C-K>' . char1 . char2, then calls itself recursively. Then ctrl-C would get you out.

On Wed, Jun 10, 2020, 06:06 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

--
--
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/87bddb5f-af1b-e92e-9346-c111c64e6579%40iiitd.ac.in.

--
--
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/CAJdN7KgxoixauWiafQqz3QorWXCSQrU7SmQrDfoTfgyH4asZcw%40mail.gmail.com.

No comments:

Post a Comment