Skip to content

A few questions and thank you! #662

Answered by wez
ruipgil asked this question in Q&A
Apr 8, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

For 1. it sounds like you might be running into #601 (comment)
I don't know what the resolution is for this yet!

For 2., use key=" " rather than key="SPACE"

For 3, we don't yet have an API that let's you query the process name from your lua config, but you may be able to do it a little indirectly:

  • In your base config, define the key assignments for CTRL+[HJKL] as appropriate ActivatePaneDirection actions
  • Define an update-right-status hook; that hook triggers periodically so that you can set a fancy status area, but it is a good spot to test what is running in a pane
  • In that hook, use pane:get_title() to examine the title of the pane. Assuming that vim and nvim both put vim in the title, …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ruipgil
Comment options

@ruipgil
Comment options

@wez
Comment options

Answer selected by wez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants