.tmux: Command prompt position -- don't hide status line
I would like to enter tmux commands (using prefix-: and the for the command prompt line itself to appear on a new line just above/below the status line. I don’t want to hide the status line underneath.
This is useful because sometimes I want to include arguments in the prompt that I read from the status line e.g. the name of a tab.
I have tried adding the following to my user config, but it had no effect:
# Set the command prompt position
set -g command-prompt-position top
# Add a blank line above the command prompt
set -ag command-prompt-format "%%"
I can’t find related issues/docs on this – is it possible as a config change?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (9 by maintainers)
The idea is that
.tmux.confand.tmux.conf.localfiles are polyglots#as commentscut -c3- ~/.tmux.conf.local | sh -sstrips the first 3 columns and pipes this tosh, which starts interpreting the first line: << 'EOF'tellsshto send the following Here Document (upon finding theEOFstring) to:, which means “just ignore all of it”: << 'EOF'and: << EOFis:shwon’t try to interpolate the content of the Here Documentshtries to interpolate the content of the Here Document and is unhappy because the “opening”`is not matched with a “closing”`Hmm,
Is it better?