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

Quicker way to reenter last submode #15

Open
LFDM opened this issue Feb 15, 2014 · 4 comments
Open

Quicker way to reenter last submode #15

LFDM opened this issue Feb 15, 2014 · 4 comments

Comments

@LFDM
Copy link
Contributor

LFDM commented Feb 15, 2014

Feature proposal mentioned in #13

I think a way to quickly reenter the last submode you just came from would make sense. All that might be needed is a reference to the last submode we where in. Could also be a useful feature to help with implementing even further things like #14

@kana
Copy link
Owner

kana commented Feb 15, 2014

Would you mind giving me a real-life example to describe why that feature is necessary and useful?

@LFDM
Copy link
Contributor Author

LFDM commented Feb 15, 2014

Let's say I have a submode to jump the quickfix list. I want to make one change and know that my next move would be to move to another item in the quickfix list.
Hypothetical worklow: I enter a the submode with <space>qf, I jump with j, leave with <esc>, do some stuff, hit <space><space> to reenter my quickfix submode again and so on.

I also think this would be a nice compromise to avoid a more complex solution as in #14.

@kana
Copy link
Owner

kana commented Feb 16, 2014

I still don't understand why that's useful. Since you define <Space>qf to begin a series of works, why not using <Space>qf to begin another series of works?

@LFDM
Copy link
Contributor Author

LFDM commented Feb 16, 2014

Two reasons: Convenience and laziness. I think vim is totally about laziness ;)
If I have to delete a word with dw and afterwards notice that I have to delete another word, I'd never do dw again - I would automatically hit . instead. It could be the same with submodes.

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