Skip to content

Instantly share code, notes, and snippets.

View irizwaririz's full-sized avatar

John Carlo Roberto irizwaririz

View GitHub Profile
@irizwaririz
irizwaririz / text_editor_anywhere_debug.txt
Last active August 24, 2023 07:48
Debugging how to make Text Editor Anywhere work with WSL's vim inside of simple terminal
C:\Windows\System32\cmd.exe
/k C:\Windows\sysnative\wsl.exe -e bash -lic "vim %1"
C:/Windows/sysnative/wsl.exe -e bash -lic "vim $(echo C:\Users\admin\Downloads\TEAPortable\TextEditorAnywhere\Temp\TextEditorAnywhere_14_11_100.txt)"
C:\Users\admin\Downloads\TEAPortable\TextEditorAnywhere\Temp\TextEditorAnywhere_14_11_100.txt
/mnt/c/Users/admin/Downloads/TEAPortable/TextEditorAnywhere/Temp/TextEditorAnywhere_14_11_100.txt
Go to C:\Program Files\Docker\Docker\resources\bin and open docker as admin
For the WSL1 part, replace with this:
```
# WSL 1
"$binary.exe" "$@"
```