-
Notifications
You must be signed in to change notification settings - Fork 13
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
Jumping between classes? #38
Comments
There isn't a way to jump between top level blocks. As mentioned in #37, you can disable the maps for
No. Without this plugin or the builtin ftplugin, I felt that the builtin ftplugin's maps and the ones set by the python-mode plugin broke the meaning of these maps as explained in the docs. To me, it seemed like these maps were only added because there wasn't a meaningful way to jump between block boundaries. There aren't many languages where these maps are overridden in the builtin runtime scripts and I didn't like the inconsistency. |
@tweekmonster I like your thinking regarding how So then my question is whether having a way to jump between top level blocks is something that is useful? I personally miss it. |
I think it's useful and I'm open to suggestions. You also got @blueyed's support, so that's something I can't ignore 😉 I've been getting by by using FZF's tag search. There's a discussion about the motions in #1 if it helps. After I got the sense that I made the scope of this plugin too big, I stopped adding new maps since there's only so many keys available. I thought about adding Whatever it is, it could do what the builtin ftplugin is doing since this feature wouldn't require block parsing. Off topic: I'm now thinking I should rewrite the parser since I have a much better understanding of how python scripts are parsed by the interpreter now. |
Well then maybe you can accept #39 :) @tweekmonster after thinking a bit more I'm starting to lean towards it not being a top level block jump but rather an actual In terms of ergonomics I'm actually mostly partial to having the secondary key be on the lhs (querty of course) when using |
It's been reviewed 😜
I actually wanted to use
|
@tweekmonster hmm. I really like using Also maybe I'm blind, but where is unimpaired.vim using |
In the docs you write:
I understood this as
[M
/]M
would move the same as[[
/]]
normally do without the plugin installed?Maybe i'm misunderstanding but how does one jump between top level definitions?
The text was updated successfully, but these errors were encountered: