Vertical mode for mark mode #21038

Closed
opened 2026-01-31 07:31:23 +00:00 by claunia · 2 comments
Owner

Originally created by @sagittarius89 on GitHub (Jan 2, 2024).

When using splitted screen in tmux or tabbed vim, I encounter an issue while selecting text in multiline blocks. Specifically, at the end of a line, the cursor jumps to the next tab or the next line placed in the previous tab. Therefore, I propose enabling vertical (or column) mode when selecting text using "mark mode" feature.

Originally created by @sagittarius89 on GitHub (Jan 2, 2024). When using splitted screen in tmux or tabbed vim, I encounter an issue while selecting text in multiline blocks. Specifically, at the end of a line, the cursor jumps to the next tab or the next line placed in the previous tab. Therefore, I propose enabling vertical (or column) mode when selecting text using "mark mode" feature.
Author
Owner

@zadjii-msft commented on GitHub (Jan 3, 2024):

I believe there's a way to do this already! When you're in mark mode, you can activate the "Toggle block selection" command from the command palette (or bind toggleBlockSelection to a key in the settings). That'll switch the selection mode into "box selection" mode.

I suppose you could probably use a multipleActions action to both enter mark mode and immediately switch into block selection from one key chord.

Does that work for you/?

@zadjii-msft commented on GitHub (Jan 3, 2024): I believe there's a way to do this already! When you're in mark mode, you can activate the "Toggle block selection" command from the command palette (or bind `toggleBlockSelection` to a key in the settings). That'll switch the selection mode into "box selection" mode. I suppose you could probably use a `multipleActions` action to both enter mark mode and immediately switch into block selection from one key chord. Does that work for you/?
Author
Owner

@sagittarius89 commented on GitHub (Jan 3, 2024):

Indeed it works, but it was not obvious. Thanks a lot. I'm going to close ticket.

@sagittarius89 commented on GitHub (Jan 3, 2024): Indeed it works, but it was not obvious. Thanks a lot. I'm going to close ticket.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21038