-
Notifications
You must be signed in to change notification settings - Fork 9
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
Prefer previously used choices #1
Comments
That's true, it bothers me too. |
It seems that CtrlP doesn't reorder the data, only filters it. Here's a simple diff for prioritizing recently used commands for the current vim session.
It removes the command from the list and reinserts it in the beginning. I think the actual enhancement should have a command history file, so ordering of commands can be preserved across sessions. I would work on it and make a pull request, but my vimscript-fu is weak right now. |
seems reasonable to me to do this simple change to remember used commands, will implement it, thanks for the idea and code! As for having a file to preserve ordering across sessions, I'll do it later, not today, and probably not before pyconar 2014 :) (knee deep in conf related work, hehe). |
Done! |
First of all, thanks for the awesome plugin!
There is a single problem which still bothers me comparing to ST command palette. Here is an example of usage:
Now, the next time I repeat this, the resullt will be the same (i.e. "CtrlPBufTag" instead of "buffer" will be found first). In Sublime Text, however, it remembers the command I have chosen and makes it the first result for the subsequent searches.
Is it possible to implement something like this in CtrlP?
The text was updated successfully, but these errors were encountered: