Hi, thanks for your reply.
On 11/06/20 1:47 am, John Passaro wrote:
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.
I ran into a some issues while doing this. I could not make <C-k> work
under execute. For e.g.:
> function! TestFunc()
> execute "normal! i<C-k>aa"
> endfunction
The above snippet is printing `<C-k>aa` as it is. How can I make it
consider `<C-k>` as the control character rather than a string.
--
*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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_use/91165bd7-7ecc-90cd-582b-2196d6d8bb1e%40iiitd.ac.in.