Skip to content

Horizontal selection movement implemented - #6887

Merged
Alexandru Dima (alexdima) merged 1 commit into
microsoft:masterfrom
kisstkondoros:selectionMovement
Jun 17, 2016
Merged

Alexandru Dima (alexdima) merged 1 commit into
microsoft:masterfrom
kisstkondoros:selectionMovement

Conversation

@kisstkondoros

Copy link
Copy Markdown
Contributor

This commit adds the horizontal alternatives of the
move line up / down commands.

This fixes #5251

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified alexandrudima and Johannes Rieken (@jrieken) to be potential reviewers

@msftclas

Hi Tamas Kiss (@kisstkondoros), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@msftclas

Tamas Kiss (@kisstkondoros), Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, MSBOT;

@kisstkondoros

Copy link
Copy Markdown
Contributor Author

Alt left / right actually interferes with
workbench.action.navigateForward and workbench.action.navigateBack
(those are defined in vscode\src\vs\workbench\browser\actions\triggerNavigation.ts)

@Tyriar

Copy link
Copy Markdown
Contributor

Nice, I can definitely see myself using this!

It looks like the change is failing gulp hygiene: https://travis-ci.org/Microsoft/vscode/jobs/132931000

This commit adds the horizontal alternatives of the
move line up / down commands.

This fixes microsoft#5251
@alexdima

Copy link
Copy Markdown
Member

Nice! ❤️

@iFwu

Copy link
Copy Markdown

I wonder why the command code is editor.action.moveCarretRightAction instead of editor.action.moveCaretRightAction, is that a typo?

@alexdima

Copy link
Copy Markdown
Member

Yes, unfortunately we shipped with the typo, and as this is an identifier, it is possible that folks have created custom keybindings for it... I think we can live with the typo...

@iFwu

Copy link
Copy Markdown

alexandrudima haha, I'm one of the folks. And I found a bug with emojis when using this feature. When it's possible, I'll create an issue for this.

@Svetomech

Copy link
Copy Markdown

Is this implemented? Doesn't work for me.

@johnmarian

Copy link
Copy Markdown

Was this removed at some point? I can't access that editor setting.

@Cristy94

Copy link
Copy Markdown

I bound ALT+SHIFT+LEFT to moveCarretLeftAction and ALT+SHIFT+RIGHT to moveCarretRightAction, now I can move selection to left/right.

image

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move selection horizontally

9 participants