Skip to content

Instantly share code, notes, and snippets.

@ha7ilm
Created July 21, 2023 11:21
Show Gist options
  • Save ha7ilm/a3adb3d719b7de55274510414db2c8e6 to your computer and use it in GitHub Desktop.
Save ha7ilm/a3adb3d719b7de55274510414db2c8e6 to your computer and use it in GitHub Desktop.

Command to open vim from Total Commander as external viewer/editor (Alt+F3) through WSL

wt -p "Ubuntu" wsl zsh -c "vim $(wslpath '%1')"

You shall put it to TC settings, where I have the Notepad++ now:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment