Open waelmahrous opened 1 month ago
I'm not sure adding a requirement on termux is the right way to go.
You could use https://pkg.go.dev/github.com/charmbracelet/bubbletea#ExecProcess to spawn the editor from the bubbletea app
Ah that's much cleaner.
You should probably also respect the EDITOR
env variable by default.
You should probably also respect the
EDITOR
env variable by default.
Good idea! It now also jumps to the correct line in vim/nvim/vscode.
This allows the user to edit the currently open slide with the command ctrl+o. Must be a session in tmux. Currently only opens it in vim, but I'll add more so that you can change to an editor of choice in a config file.
Fixes #264