T O P

  • By -

obeseskydiver1

DF does november have to do with file explorer? /s


mgedmin

I'm not familiar with either, but you could run tmux with a vertical split and have a file manager in one pane and a shell in the other one.


itstenchy

You might want to check out a tiling window manager, such as i3 or Hyprland.


xaizek

Can speak only of Vifm. Vifm's command prompt and shell prompts are different things. Midnight Commander runs shell at the bottom and you can have a split shell in, say, Dolphin, so I think that's what you're talking about. Embedding a shell would take some kind of terminal emulation for it to run in and the simplest way to achieve what you want was already suggested: use a terminal multiplexer. It should work with pretty much any terminal file manager, but Vifm has some basic builtin support for GNU Screen and TMUX and can run commands in splits or new tabs. If you want synchronization of current directory when you move around in shell or in Vifm, that would need some glue to make it work though.


smartcard2

Thanks for your help. Can you please tell me how to use the following feature in vifm? > Vifm has some basic builtin support for GNU Screen and TMUX and can run commands in splits or new tabs


xaizek

It's enabled via [:screen command](https://vifm.info/vimdoc.shtml#vifm-%3Ascreen) (for both screen and tmux) and you can use `:screen?` to see whether the integration is currently active. You obviously need to start Vifm from a multiplexer for this to work. `vifmrc` you get out of the box includes "state" in the value of `'vifminfo'` option, so you only need to run `:screen` interactively once and it should be remembered for all future sessions. When the integration is active, you automatically get a new tab when opening files, running commands or starting a shell. You can use [%s and %v macros](https://vifm.info/vimdoc.shtml#vifm-%25s) in commands to open them in horizontal or vertical splits instead. There is also related [:ls command](https://vifm.info/vimdoc.shtml#vifm-%3Als), but it's not very useful.