waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Feature]: Vim motions for switching blocks

Open cepem opened this issue 1 year ago • 0 comments

Feature description

Hey guys!

I just discovered wave and loving it so far!

There's just one thing that I'd like to change and I'm not sure if possible (I didn't find anything in the docs related to it).

I'd like to be able to use h j k l keys for switching around blocks - since I'm a neovim user this feels more natural for me. Right now doing control + shift + arrow key is a bit distracting as I have to move my hand.

I think this could be a configuration setting?

Or maybe I don't need to use h j k l at all considering that I can just navigate by combining control + shift + key + number of block. Which is also really nice. But it looks like there's a slight delay to get the block numbers to show, so perhaps could the block number be within the block title? Then we could just glimpse at the block title and navigate directly by its number.

Of course, enabling/disabling the block number within the title could also be a toggle through the config file.

Implementation Suggestion

It depends. Perhaps if you think this is a good idea I can work on this feature myself and submit a PR

Anything else?

No response

cepem avatar Dec 15 '24 12:12 cepem