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

Multiple Cursor Column Selection #3

Open
eorroe opened this issue Feb 28, 2015 · 3 comments
Open

Multiple Cursor Column Selection #3

eorroe opened this issue Feb 28, 2015 · 3 comments

Comments

@eorroe
Copy link

eorroe commented Feb 28, 2015

|hello
world

|hello
world

|hello
world

|hello
world

|hello
world

|hello
world

if I try to go down on the selection (windows: ctrl+alt+down) it should look like this:

|hello
|world

|hello
|world

|hello
|world

|hello
|world

|hello
|world

|hello
|world

instead I get this:

|hello
world

|hello
world

|hello
world

|hello
world

|hello
world

|hello
|world

Only the last cursor goes down

@evandrocoan
Copy link

But it does not seen a bug. What you is requesting actually is a new feature, which should be configurable by a setting, as I like the current behavior.

@eorroe
Copy link
Author

eorroe commented Sep 24, 2016

True should be an optional setting, perhaps even a keymap trigger, where I toggle a mode, then trigger column select as normal, and then I can toggle it off whenever easily through a keybinding or the command palette

@JoshuaWebb
Copy link

Sublime's native column selection ("Add Previous Line" and "Add Next Line"), which this plugin is providing alternative behaviour for, provides this behaviour already. This plugin overrides them by default.

You can add keybindings for the original behaviour like so:

{ "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} },

That way you can use the default keybindings to get the behaviour from this plugin, and the alternative keybinding to get the orginal behaviour.

Granted, they won't interact exactly how you want in all cases due to them not being aware of each other, but in simple cases like this, you can easily reach for whichever option best serves your needs.

selection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants