You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when you call vterm-extra-edit-command-in-new-buffer, the new buffer it creates will potentially occupy up an existing window which is fine, but the problem is that once you do a C-c C-c that window will be closed along with the editing buffer.
Is it possible to have a nicer window behavior? Maybe something like org-edit-src-code?
Edit: My dirty hack to fix this for now is by advising vterm-extra-edit-done with winner-undo:
This is certainly a good point, but I am not sure how to implement it at the moment. I would like to see an example that is not as complicated as org-mode or helm.
Right now, when you call
vterm-extra-edit-command-in-new-buffer
, the new buffer it creates will potentially occupy up an existing window which is fine, but the problem is that once you do aC-c C-c
that window will be closed along with the editing buffer.Is it possible to have a nicer window behavior? Maybe something like
org-edit-src-code
?Edit: My dirty hack to fix this for now is by advising
vterm-extra-edit-done
withwinner-undo
:The text was updated successfully, but these errors were encountered: