Open LFDM opened 10 years ago
Would you mind giving me a real-life example to describe why that feature is necessary and useful?
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.
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?
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.
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