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

Select to matching brace #840

Closed
redman684 opened this issue Apr 12, 2019 · 2 comments
Closed

Select to matching brace #840

redman684 opened this issue Apr 12, 2019 · 2 comments

Comments

@redman684
Copy link

I love the "goto matching brace" command (ctrl-b), but it's too bad this can't be combined with selecting text.

A "select to matching brace" command would make it super easy to select blocks of code. ctrl-shift-b seems like a intuitive key combo for it.

Some cursor movement can be combined with selecting text, pageup, ctrl-left, etc. Others can't: goto matching brace, goto next marker, etc. Maybe there could be more overall consistency?
Or is there a reason against any cursor movement (while the shift is pressed) changing the selection?

@elextr
Copy link
Member

elextr commented Apr 12, 2019

  1. Install Geany plugins.

  2. check Tools->Plugin Manager->Extra Selection

  3. click keybindings

  4. select the "select to matching brace" line

  5. click change

  6. type ctrl+shift+b

  7. "ok" and "close" your way out

@redman684
Copy link
Author

Wow, that covers my most wanted feature. ctrl+shift+b -> "select to matching brace". Even to the exact spelling. Thank you very much.

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

2 participants