Change the delimiter for Ctrl+backspace in a terminal #4588
Unanswered
drmrbrewer
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hmm...this is an interesting problem. Does the same behavior happen in VS Code, Codespaces, https://vscode.dev/, and https://xtermjs.org/? I would have to assume this is upstream but we couldn't arrive at that conclusion without testing other environments to see if the same behavior exists. It could be a difference between monaco-editor and xtermjs and which delimiters they use. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Consider this text, with the cursor
|
positioned at the end:When working in an editor in code-server (3.12.0, Ubuntu-based), pressing Ctrl-backspace when the cursor is at the end will remove just
txt
to get back to the.
:In other words, the delimiter for this action is a
.
or a space.But when working in a terminal in code-server, the same action will instead delete right back to the next space, i.e. treating
.
like any other character:In other words, the delimiter for this action is just a space, not a
.
.How do I get the former behaviour throughout (i.e. word delimiter is
.
or space), even in a terminal? The former behaviour is what I'm used to... seems pretty common, e.g. even in this GitHub editor panel.Beta Was this translation helpful? Give feedback.
All reactions