wincent / terminus

🖥 Enhanced terminal integration for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ctrl-W and Ctrl-U not working in insert mode

musiphil opened this issue · comments

I used to be able to press Ctrl-W or Ctrl-U in insert mode to erase what I typed after I last entered the insert mode; e.g. after typing <a> (to enter insert mode) <h> <i> <Space> <y> <o>, <Ctrl-W> would erase yo, and <Ctrl-U> would erase everything I typed after <a>.

With Terminus, not only do these work no more, but pressing Ctrl-W or Ctrl-U seems to take me out of and into the insert mode briefly, so I can no longer even press Backspace to erase what I typed before Ctrl-W or Ctrl-U. (This is assuming that the backspace option doesn't include start; e.g. I have backspace=indent,eol.)

I have discovered that putting let g:TerminusFocusReporting=0 in my .vimrc solves this problem.

Doesn't repro for me. What software are you using (OS, terminal application, $TERM etc)?