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

Vim-like { or } for easier navigation #753

Closed
gbaranski opened this issue Sep 13, 2021 · 5 comments
Closed

Vim-like { or } for easier navigation #753

gbaranski opened this issue Sep 13, 2021 · 5 comments
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements

Comments

@gbaranski
Copy link
Contributor

Describe your feature request

{ – Go to the beginning of the current paragraph. By pressing { again and again move to the previous paragraph beginnings.
} – Go to the end of the current paragraph. By pressing } again and again move to the next paragraph end, and again.

@gbaranski gbaranski added the C-enhancement Category: Improvements label Sep 13, 2021
@Omnikar
Copy link
Contributor

Omnikar commented Sep 14, 2021

I presume that adding this should also add mip and map for selecting paragraphs?

@gbaranski
Copy link
Contributor Author

I presume that adding this should also add mip and map for selecting paragraphs?

Yes, that could be useful too.

Btw maybe instead of going to the end of current paragraph, maybe it'd be better to use tree-sitter, and jump to the end of current block/function/struct/enum.

@kirawi kirawi added the A-keymap Area: Keymap and keybindings label Sep 14, 2021
@pickfire
Copy link
Contributor

I presume that adding this should also add mip and map for selecting paragraphs?

I was planning to add that but at the same time add the autoinfo, maybe I will just do a smaller change for that.

@archseer
Copy link
Member

archseer commented Apr 4, 2022

Resolved by #1580

@archseer archseer closed this as completed Apr 4, 2022
@jamylak
Copy link

jamylak commented Oct 21, 2024

Resolved by #1580

Not sure if that addresses why { and } don't seem to have a keybinding, seems like that was the main request in this PR. I would also be interested in the reason to leave these ones without a binding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

6 participants