You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A nice command history would be nice as well. I already mapped "my common commands" to some shortcuts. But in general a command history would eliminate this workaround.
I'd like to help out here. Just let me know how.
The text was updated successfully, but these errors were encountered:
Hm, I haven't thought about the details, but here are some ideas...
Step 1:
save every command you execute to a list (this is trivial)
when opening a prompt: up/down selects a command from the list. I guess vim's input() is not powerful enough for this. ctrl-p uses buffers that look like the input prompt to add additinal functionality. All in all, this is more work. Maybe vim offers already some built-in ways to do this.
Step 2:
save the list of commands on disk for permanent use.
Alternative sources for the commands:
use .bash_history (or similar files) as command history. But there is a lot of stuff in there that you'll never use from within vim.
let the user define a list of commands in his .vimrc.
In any case, the input() prompt needs to be replaced by something more powerful.
I thought more about this feature and I'm worried that is going a little too far off the feature set that vimux needs. What might be a good idea is to add another vimux-specific plugin that implements this feature.
A nice command history would be nice as well. I already mapped "my common commands" to some shortcuts. But in general a command history would eliminate this workaround.
I'd like to help out here. Just let me know how.
The text was updated successfully, but these errors were encountered: