yorickpeterse / nvim-window

Easily jump between NeoVim windows.
Mozilla Public License 2.0
97 stars 9 forks source link

Motion like switching #1

Closed Willem-J-an closed 1 year ago

Willem-J-an commented 1 year ago

Hi @yorickpeterse,

I like the plugin, but I feel like it would be even better to have a motion like switching experience.

Now I press w, wait for the numbers to appear, then press the number.

The experience I would like is: press w+number -> it instantly jumps. When you already know the window number, it helps a lot. press w -> original behavior where it starts showing numbers. This is still helpful when you don't know the window number.

What do you think :smile:

yorickpeterse commented 1 year ago

Smarter switching like this, or automatically switching to the previous window (or anything like that) is out of the scope :smiley:

If you're constantly switching between the same two windows, the easiest way is to just use Control + W + p to switch between the current and previous window.