hadronized/hop.nvim

Multi-window hop commands do not appear to work when a terminal buffer has focus.

samjwill opened this issue · 2 comments

Apologies if there's some unique quirk on my machine that is causing this, or if I've missed something.

Platform/Version:

  • Ubuntu 22.04
  • Neovim v0.8.0-1210-gd367ed9b2
  • LuaJIT 2.1.0-beta3

The issue:

  • Multiple window hops (denoted by commands ending in MW) do not appear to behave as expected when terminal buffers have focus in normal mode.

To reproduce:

  • Install hop.nvim.
  • Open some populated file in a buffer.
  • Split the buffer.
  • Open a terminal buffer in one of the splits with :ter. You should now have a visible window with a terminal one one side, and a visible window with some file's contents on the other.
  • Ensure the terminal buffer is in normal mode (<C-\><C-n>)
  • Enter a hop command ending in MW, (e.g. :HopWordMW)

Expected behavior:

  • All visible buffers are highlighted and can be jumped to with a key sequence. (Something similar to this screenshot).

image

Actual behavior:

  • Only the buffer under the cursor receives highlighting and can be jumped to with a key sequence. No other visible windows can be jumped to, despite a MW command being entered.

image

Any help on this would be great. Thanks!

I have the same question, do u have any idea now?
I even find my lspsaga rename can't change other the variable name in other file, I guess maybe it is the same question.

I remember it working normally at beginning, but suddenly it doesn't work.