Hey folks,
First off, thank you for this awesomely hackable wm.
I'm trying to set up a hotkey combination to launch my terminal with a
detachable vim terminal session in it. In my config.py I have:
*Key([mod], "Return", lazy.spawn("kitty dtach -c ~/.cache/dtach_vim_session
vim -c ':ter ++curwin'")),*
Yeah, that's a lot to unpack. It's 3 parts:
*vim -c ':ter ++curwin'* -- this fires up vim and opens up a vim terminal
in it
*dtach -c ~/.cache/dtach_vim_session* -- starts up dtach and creates a
session file called dtach_vim_session in my ~/.cache directory
*kitty* -- fires up my kitty terminal and runs the above in it
Now, if I open up kitty and enter *dtach -c ~/.cache/dtach_vim_session vim
-c ':ter ++curwin'* in it, it runs just fine.
Note that also if I have *Key([mod], "Return", lazy.spawn("kitty tmux -c
'vim +term'")),* that works just fine, so I don't think it's a kitty
issue.
Any ideas?
Thank you!
--
Bearcat M. Şándor
Feline Soul Systems LLC
Voice: 872.CAT.SOUL (872.228.7685)
Fax: 406.235.7070
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/CAMPo9spnGYV30QBc4EfFtUhhoy5B57jBDOVnoWP0%2BnioYHmFFg%40mail.gmail.com.