kankaristo / atom-multi-cursor-plus

Improved multi-cursor functionality for Atom: https://atom.io/packages/multi-cursor-plus
MIT License
20 stars 1 forks source link

How to activate on mac OS x? #11

Closed Foadsf closed 7 years ago

Foadsf commented 7 years ago

on mac when I press Alt+x I get ≈ How am I supposed to activate this plugging then?

kankaristo commented 7 years ago

Have you added the keybindings from README.md?

You can change Alt+x to something different, or use Atom's keybinding resolver (Cmd+. on macOS) to see if something else is handling the keybinding before it reaches multi-cursor-plus.

ibyteyou commented 7 years ago

+1 don't work "alt-up" and "alt-down" combinations. But eg package "multi-cursor" work excellent and my problem is not conflict this packages... i try disable and uninstall last. Moreover all my osx friends can't enable this packages too. If i can somehow help you - let give me test case. MacOs Sierra 10.12.3. Atom 1.16.0 x64

kankaristo commented 7 years ago

Does Atom's keybinding resolver (Cmd+. on macOS) show something else handling the keybinding before it reaches multi-cursor-plus?

ibyteyou commented 7 years ago

Yea, it's conflict with emmet@2.4.3 default keybindings

2017-05-02 15 00 45 2017-05-02 15 43 24
ibyteyou commented 7 years ago

this example how work package "multi-cursor"

2017-05-02 15 05 36
kankaristo commented 7 years ago

Try adding this to your keymap.cson before the multi-cursor-plus keybindings:

'atom-text-editor:not([mini])':
    # Unset emmet keybindings (conflict with multi-cursor-plus)
    'alt-up':   'unset!'
    'alt-down': 'unset!'

Does that fix it?

ibyteyou commented 7 years ago

no, it's uncomfortable. i think that all (and i including), who turn to "multi-cursor-plus" after "multi-cursor" and failed, would like method "expand", i.e when e.g cursor move down and wait (if next action == up or down -> mark, else -> unmark) it's reasonably?

p.s i want simple work how about "multi-cursor" alt + down = Create cursor under

kankaristo commented 7 years ago

I don't quite understand what you mean...

Did adding the above lines to your keymap fix it? Is adding them uncomfortable or did that fix it, but you feel that using multi-cursor-plus is uncomfortable?

If you want alt+down to create a cursor underneath, couldn't you use multi-cursor instead?

ibyteyou commented 7 years ago

The above line fix my problem, thx. And i actually feel that using multi-cursor-plus is uncomfortable. I can't use multi-cursor, because it does not allow me needful functional. I'm trying use enabled multi-cursor-plus and multi-cursor together with successively set up keymap.cson, but it seemed to me ugly solution. // I just suggested method "expand", to refuse multi-cursor

kankaristo commented 7 years ago

Ah, got it.

I still don't understand what your expand command would do, exactly?

Could you create a new issue, because this doesn't really seem to be related to this issue anymore?

I'll close this issue as solved.