Vim icon indicating copy to clipboard operation
Vim copied to clipboard

HTML shown in status bar when trying to search with an active visual selection

Open kenny-evitt opened this issue 8 years ago • 2 comments

This comment reminded me of this issue.

Steps to reproduce:

  1. Open a file.
  2. Create a visual selection, e.g. v e in a word.
  3. Try to search – / – text like the following will be shown in the status bar:

<span style="font-family: monospace">/</span><input type="text"/> <span style="color: #888"><span style="color: #888">(Javascript regexp)</span>

There are other weird behaviors that seem related but I can't remember the details off the top of my head. I'll update this issue when I re-encounter them.

kenny-evitt avatar Apr 29 '16 01:04 kenny-evitt

+1 Thank you kenny-evitt for tagging me on this. I have the same mark up showing in my status bar as well when I initially start up LT and use any vim command besides h,j,k,l.

I did notice that when I go into either user keybindings/behaviors and make a change i.e. make a new line and save, everything related to vim works. That being said, I have no idea where to start to debug the problem. Hope this helps people smarter than me ;).

tgfbikes avatar Apr 29 '16 02:04 tgfbikes

: mode also breaks at the same time

thanks for the tip, tgfbikes! i wonder how long til the issue resurfaces...

edit: i've noticed that 'change (c)' doesn't go into insert mode now! haha. so either find and : are broken, or change is broken. very strange things are going on. and apparently a friend can't enter insert mode now at all, nor use :, but find does work. good luck to whoever debugs this

edit2: another bug: hitting escape does not leave insert mode. you have to hit it twice to get out. this together with the change bug makes it seem like it's sitting in a mode where it refuses a mode change at least once. ie. change tries to insert but can't so a 2nd explicit insert is needed; escape tries to leave the current mode but can't so a 2nd escape is needed. ctrl-c works properly however to leave a mode immediately

danielcavanagh avatar May 19 '16 23:05 danielcavanagh