Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

When I go to the shell in windows cmd the up down arrows don't cycle through the history like they would normally. Is there a way to turn that behavior back on?

1 Answer

0 votes
by

Never noticed this before and whether history works or not depends on how Vifm is run. If I start Vifm from explorer/shortcut, then everything works, but running cmd.exe, then Vifm and then going to shell prevents history from working. I'm not sure this means it's not Vifm's fault, but it's weird.

by

thanks! using the vifm.exe directly worked. When I open a file vim and neovim both open sized small like the original cmd window. Is there anyway to get it to follow the size of the vifm window.

For cmd first and then vifm.exe, I did notice that doskey /history is empty, I am kind of wondering if something is preventing it for saving the commands to memory.

by

I think state of console is generally saved per application (maybe unless first application is cmd.exe), not sure there is a way to make it inheritable, but you can adjust console properties and they will be saved for the future.

For cmd first and then vifm.exe, I did notice that doskey /history is empty, I am kind of wondering if something is preventing it for saving the commands to memory.

Maybe it's UI library. Vifm does adjust console state, but I tried commenting it out and nothing has changed with regard to the history.

...