jimradford / superputty

The SuperPuTTY Window Manager for putty sessions
https://www.facebook.com/superputty
MIT License
1.9k stars 321 forks source link

Add support for Ctrl + Right/Left #849

Closed abousselmi closed 2 years ago

abousselmi commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

No.

Describe the solution you'd like A clear and concise description of what you want to happen.

When I hit Ctrl + Right Arrow or Ctrl + Left Arrow keys, the cursor would move between words.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

If the word (part of the command) that I need to modify is close enough to the beginning of the line, I use Ctrl + a, if not, then I simply move the cursor (generally using the left arrow) one character at a time (which is really painful if the command is too long..

Additional context Add any other context or screenshots about the feature request here.

No.

Thanks

jimradford commented 2 years ago

Hi @abousselmi is this request for when you are inside an open terminal (ssh connection) to a remote server?

abousselmi commented 2 years ago

Hi @jimradford Yes exactly.

jimradford commented 2 years ago

@abousselmi This is something that would have to be done inside putty itself. SuperPuTTY would be unable since its a separate process and we don't have access to the terminal (other than write of course).

Regards

marbaa commented 2 years ago

Use Kitty instead putty. It contains such feature.

jimradford commented 2 years ago

@marbaa Thanks for the suggestion! Very useful to know.

abousselmi commented 2 years ago

Thanks @marbaa and @jimradford , very useful indeed. I just tested it and it works like a charm 🚀 (SuperPuTTY v1.4.0.10, KiTTY v0.76.0.2, Win 10)