Monday, November 9, 2020

Re: vim terminal and control c

kingca...@gmail.com <kingcanute76@gmail.com> wrote:

> Hello, is there a way to send a <CTLR-C> to a terminal in
> vim - a terminal opened with :term?
>
> I've tried finding it in the docs, and maybe it's there somewhere,
> but I haven't been able to find it. By the way, I mostly use
> Windows - so if it just works great on most Unix based
> systems, I wouldn't know (and am jealous).

It works for me on Linux x86_64. Maybe this is
an issue specific to Windows?

I opened a terminal (running bash shell) and ran:

$ while true; do echo -n x; done

Pressing CTRL-C interrupts it immediately in the
when running in a xfce4-terminal. In GVim GTK3
it sometimes takes a couple of seconds to interrupt
but it works.

Regards
Dominique

--
--
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/CAON-T_iv9typ1p27yL%2BNLjFsadU05ZTbpW6bXexMH%2B5UOkrnng%40mail.gmail.com.

No comments: