0

I'm using WSL and i want a keybinding to opening windows explorer on the current directory path within ranger (file manager (https://github.com/ranger/ranger).

In the shell i can open a explorer instance in the current folder with explorer.exe . I tried to achieve that with the keybinding map ge shell explorer.exe "%d" but it only opens the explorer instance with a path to the documents folder.

Thank you!

1 Answer 1

0

Found the solution. Requirements: WSL2 (wslpath is needed for reference

map ge shell explorer.exe $(wslpath -w %d)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .