antonmedv / walk

Terminal file manager
MIT License
3.29k stars 95 forks source link

Can i open with specific application each file types? #155

Open kwagi opened 4 months ago

kwagi commented 4 months ago

For application/pdf, use firefox. And image/jpg, use feh. Something like that.

antonmedv commented 4 months ago

Nice idea. Lets add a config file in walk.

pcause commented 3 months ago

ranger uses a scope.sh file to allow a user to configure different viewers. perhaps just adopt that? It then makes it easier to migrate from ranger or for the 2 to co-exist

KineticTactic commented 3 months ago

I would love to be able to open files/folders in vscode using a shortcut. Running code <filename/folder> would suffice. Configurable shortcut keys for running commands perhaps?

tuzu128 commented 1 month ago

I managed to do it in my fork (since this version seems unmaintained) https://codeberg.org/TheTuzu/walk, you can set it trough environment variables, I might add config file if I feel like it. You can do export IMG_VIEWER=feh and export PDF_VIEWER=firefox for example.