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
Thanks for creating this awesome package! It has been really useful for my workflow. I just have one feature request (unfortunately my elisp skills are not sufficient to make a PR...):
When I try to invoke vterm-toggle-insert-cd the first time a vterm terminal is created via vterm-toggle, it doesn't do anything. If my understanding of the code is correct, it is because vterm-toggle-cd--cmd has not been set yet at this point. I can only use vterm-toggle-insert-cd if I do vterm-toggle (creates new vterm) -> vterm-toggle (hides vterm) -> vterm-toggle (show vterm again) -> vterm-toggle-insert-cd.
I guess for most people this is trivial, as the first time a vterm terminal is created will already be in the folder of the previous buffer. However, I am using vterm-toggle with vterm-toggle-scope set to project, hence my created vterms will be in the project root (which is what I generally want). I just want to be able to jump to the subfolder containing the file of the previous buffer via vterm-toggle-insert-cd.
Many thanks for your time and effort!
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for creating this awesome package! It has been really useful for my workflow. I just have one feature request (unfortunately my elisp skills are not sufficient to make a PR...):
When I try to invoke
vterm-toggle-insert-cd
the first time a vterm terminal is created viavterm-toggle
, it doesn't do anything. If my understanding of the code is correct, it is becausevterm-toggle-cd--cmd
has not been set yet at this point. I can only usevterm-toggle-insert-cd
if I dovterm-toggle
(creates new vterm) ->vterm-toggle
(hides vterm) ->vterm-toggle
(show vterm again) ->vterm-toggle-insert-cd
.I guess for most people this is trivial, as the first time a vterm terminal is created will already be in the folder of the previous buffer. However, I am using vterm-toggle with
vterm-toggle-scope
set toproject
, hence my created vterms will be in the project root (which is what I generally want). I just want to be able to jump to the subfolder containing the file of the previous buffer viavterm-toggle-insert-cd
.Many thanks for your time and effort!
The text was updated successfully, but these errors were encountered: