

When you press any key in Windows, it has to get processed somewhere:įirst, a key might be handled by Windows itself. So what the heck does this have to do with selecting words?!Īh, we're getting there -). plink.exe provides the SSH client that you can run in a different terminal.


This is typically the Linux readline library for Bash in Ubuntu. Inside the shell, there's an input handler for processing the actual keystrokes.

PowerShell and Bash (in Ubuntu in WSL) are shells, which are really just specialized text/console-mode applications for interfacing with other text/console-mode applications (such as Linux ls or Windows ipconfig.exe). Once activated, you can then use the Ctrl+( Shift)+ Left/Right keybindings to move and select words.įirst, it's important to understand the difference between the Shell and the Terminal: You can activate mark-mode with Ctrl+ Shift+ M (which is configurable). The latest release of Windows Terminal (1.15) has added support for "Mark mode", which is probably the closest you will get to the functionality you are requesting. In new installations of Windows 11 22H2, it is now the default terminal for PowerShell, CMD, WSL, and any other "console-mode" application. I would recommend upgrading to Windows Terminal, the (relatively) new terminal replacement in Windows.
