1,873 questions
Tooling
0
votes
1
replies
97
views
Tmux restore session of LazyVim
How can I configure Tmux to restore my LazyVim session?
I installed tmux-resurrect and added in tmux config:
set -g @resurrect-strategy-nvim 'session'
But this doesn't seem to work. Tmux just starts ...
Advice
0
votes
0
replies
151
views
tmux and copying to clipboard on Ubuntu 24.04.3
I have been working on this for way too long. My setup is Ubuntu 24.04.3, running the generic gnome terminal emulator with zsh and tmux. I have been trying to copy using the standard tmux copy ...
Tooling
0
votes
2
replies
56
views
Tmux History Menu
I use tmux for development. When I press "ctrl + r" on Windows in MSYS2 tmux, I see something like this:
USERNAME@DESKTOP UCRT64 /c/Users/USERNAME/Projects/BLAH/External/SUBMODULE/tests (...
Score of 3
0 answers
169 views
Prevent TMUX exit on PTY OOM kill?
I have a high memory program (ML) that I want to run in a tmux session. However, if the process is OOM killed, the tmux session is also shut down. I partially solved it (using the below run-bg), but ...
Score of 2
0 answers
70 views
How to prevent tmux-resurrect from printing empty lines after restore?
The problem
In tmux, I use the tmux-resurrect and tmux-continuum plugins. They work perfectly fine otherwise, but after an automatic or manual save, when I start the server again, empty lines with my ...
Score of 1
1 answer
280 views
How to change cursor shape depending on Insert or Normal mode when using `set -o vi` in `tmux`? [closed]
I would like to use set -o vi in my terminal.
However, I find myself getting confused on whether I am in insert mode or normal mode, since the cursor does not switch between a vertical line (insert) ...
Score of 0
0 answers
68 views
Disable Option+Double click on terminal when using tmux in VS Code
I'm using tmux in VS Code's integrated terminal. I use Option+Double click to select an entire word/line in terminal text and then copy it with Cmd+C. This exactly simulates what I would do on iterm.
...
Score of 2
1 answer
103 views
tmux capture-pane fails to capture pane output
I tried using tmux capture-pane -S -10 -E -1 to capture the last 10 lines of output, but it alway output first line.
more infomation:
tmux version `tmux 3.1c`
system:
PRETTY_NAME="Debian GNU/...
Score of 0
0 answers
51 views
How can I get SBT to render the character `─ ` in the prompt?
I'm trying to configure my SBT prompt to end with the characters └─→ in the terminal. I've overridden the shell prompt with the following code in ~/.sbt/1.0/global.sbt
shellPrompt := { state =>
&...
Score of 2
0 answers
122 views
Invert the stack with tmux, pwndbg, and splitmind?
I am using pwndbg, with tmux and splitmind. I have the layout the way I want, the only think I am trying to change is getting the stack pane to be inverted. Like what you would see when running 'stack ...
Score of 1
0 answers
30 views
Tmux settings session-wide but not global
I want to set style options for a session (all windows in that session), but not globally (i.e. I don't want to change settings for other sessions).
If I use
set window-status-current-style bg='#...
Score of 0
1 answer
274 views
NVIM not refreshing venv after using pip from another shell
How to "refresh" NVIM venv modules without closing it ?
Currently im struggling with setting up my workspace with NVIM and TMUX.
Im opening two panels, one main for nvim, and another one ...
Score of 0
0 answers
49 views
Remove parts of the content of the scrollback buffer
Is there a way to erase only parts of the scrollback buffer of tmux?
Or even go in and edit the text?
Background
I'm using a shell to build stuff, work interactively with commands and connect to my ...
Score of 0
1 answer
247 views
how to format timestamp for tmux list-sessions
the timestamp format ( #{t/f/%%y-%%m-%%d %%H#:%%M#:%%S:window_activity})' ) works with display -p, but it failed with ls. Can anyone help me ?
details:
$ format='#{session_name}: #{session_windows} ...
Score of 0
1 answer
868 views
Console output becomes misaligned
Description
Once in a while I'll be working on things and suddenly my console's alignment gets completely messed up. I think it's usually after a command fails or crashes (though I haven't been able ...