Support Ctrl-W and Ctrl-U shortcuts in fsi#10370
Support Ctrl-W and Ctrl-U shortcuts in fsi#10370vzarytovskii merged 1 commit intodotnet:mainfrom Swoorup:sj-support-kill-switches
Conversation
|
@vzarytovskii Thats a good idea. I emulated the functionality based on my current shell fish. I noticed at least by default python shell, fish and bash support only spaces as the delimiter. I noticed vim has slightly different behaviour with dots and dashes than spaces, i.e cut word has the following behaviour on the input text Which seems reasonable. It appears it has the above behaviour with all non-word characters with exception of space? But not sure worth the complexity atm. It would be nice to have a block based parsing, i.e input characters are immediately parsed into some sort of syntax tree, so that it's possible to have immediate syntax highlighting, and more contextual information to perform operations like these. |
|
@Swoorup yeah, that makes sense. Thanks you a lot for that contribution! |

First PR here:
Fixes #10299