Open pomdtr opened 1 year ago
nice idae
it supports hot reload.
I added a small change that splits your current window and opens the markdown file in vim/nvim if tmux session, or open a vscode window. This works very nicely with the hot reload as you save your changes :)
use (vscode): slides somefile.md --editor code
open editor: ctrl+o
ill look into the cursor jumping to the right place as well
So no more dependency on tmux and it uses the bubbletea library to execute in the same instance. Also jumps to the correct line in vim/nvim.
Is your feature request related to a problem? Please describe.
Beeing able to switch between a previewing and editing quickly would be nice.
Describe the solution you'd like
When I type
e
, the current document is opened in my editor, and the cursor row is set to the start of the current slide.