Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more word delimiter examples #759

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions TerminalDocs/customize-settings/interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ _(`│` is `U+2502 BOX DRAWINGS LIGHT VERTICAL`)_
> [!IMPORTANT]
> The following characters must be escaped with a backslash : `\`, `"`

As an example, here are some sets of delimiters you can use to match the behavior of various other terminal emulators:

| Terminal | Delimiters |
|----------------|-------------------------|
| Xterm | "$'()*;<>[\\]^`{|} |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put these in code backticks? it may make it easier to copy or see

| Gnome Terminal | !" $'()*:;<>[]^`{|} |
| Konsole | !" $'()*,;<>[\\]^`{|} |
| Rxvt | &();<>| |
| Alacritty | "'(),:<>[]`{|} |
| Kitty | !" $'()*,:;<>[\\]^`{|} |
Copy link
Contributor

@DHowett DHowett Apr 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Xterm | "$'()*;<>[\\]^`{|} |
| Gnome Terminal | !" $'()*:;<>[]^`{|} |
| Konsole | !" $'()*,;<>[\\]^`{|} |
| Rxvt | &();<>| |
| Alacritty | "'(),:<>[]`{|} |
| Kitty | !" $'()*,:;<>[\\]^`{|} |
| Xterm | `"$'()*;<>[\\]^`{|}` |
| Gnome Terminal | `!"$'()*:;<>[]^`{|}` |
| Konsole | `!"$'()*,;<>[\\]^`{|}` |
| Rxvt | `&();<>|` |
| Alacritty | `"'(),:<>[]`{|}` |
| Kitty | `!"$'()*,:;<>[\\]^`{|}` |

with \\. I deleted all the spaces because space is always a delimiter in WT

Copy link
Contributor

@DHowett DHowett Apr 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Xterm | "$'()*;<>[\\]^`{|} |
| Gnome Terminal | !" $'()*:;<>[]^`{|} |
| Konsole | !" $'()*,;<>[\\]^`{|} |
| Rxvt | &();<>| |
| Alacritty | "'(),:<>[]`{|} |
| Kitty | !" $'()*,:;<>[\\]^`{|} |
| Xterm | `"$'()*;<>[\]^`{|}` |
| Gnome Terminal | `!"$'()*:;<>[]^`{|}` |
| Konsole | `!"$'()*,;<>[\]^`{|}` |
| Rxvt | `&();<>|` |
| Alacritty | `"'(),:<>[]`{|}` |
| Kitty | `!"$'()*,:;<>[\]^`{|}` |

with just \ (which works for the SUI) (spaces as above)



___

## Snap window resizing to character grid
Expand Down