howl-editor / howl

The Howl Editor
http://howl.io
Other
712 stars 68 forks source link

Pick cursor on parenthesis insertion #384

Open imaia opened 7 years ago

imaia commented 7 years ago

I howl, when I select some text and press '(', it wraps the selection with '(' and ')'. That is great! In other editors, after doing that command (or the equivalents for [ and {), I can chose if the cursor position will be at the beginning of the selection or in its end using arrow keys. Would that behave be desirable for howl?

refi64 commented 7 years ago

FWIW Ctrl-Left and Ctrl-Right both move by words. It's not quite the same thing, but it's MUCH faster to jump to the right paren than going character by character.

imaia commented 7 years ago

I'm using that at the momment @kirbyfan64, thanks.

shalabhc commented 7 years ago

There is also cursor-goto-brace which jumps to the matching brace. But it doesn't work if cursor is after the brace, it probably should.

ozra commented 6 years ago

As long as it trigger on one side only, else: (((x(y)+z)*u)-v) — confusion.

shalabhc commented 4 years ago

This is related to #469