Closed s1n7ax closed 3 years ago
Hello @s1n7ax 👋
tmux_conf_new_session_prompt=true
in your ~/.tmux.conf.local
copy?tmux lsk | grep new-session
after having reloaded the configuration?@gpakosz
I edited the configuration using <c-b>e
. After save and close I think it resourced the config. I tried tmux kill-server
also.
tmux lsk | grep new-session
bind-key -T prefix C-c command-prompt -p new-session "new-session -s \"%%\""
bind-key -T root MouseDown3StatusLeft display-menu -T "#[align=centre]#{session_name}" -t = -x M -y W Next n "switch-client -n" Previous p "switch-client -p" '' Renumber N "move-window -r" Rename n "command-prompt
-I \"#S\" \"rename-session -- '%%'\"" '' "New Session" s "command-prompt -p new-session \"new-session -s \\\"%%\\\"\"" "New Window" w new-window
In the .tmux.config
I see a lot of commented lines. Am I supposed to uncomment those?
tmux lsk | grep new-session bind-key -T prefix C-c command-prompt -p new-session "new-session -s \"%%\""
Maybe there's a misunderstanding.
As far as I can tell, setting tmux_conf_new_session_prompt=true
in your ~/.tmux.conf.local
copy works and when you use <prefix> + C-c
, then you'll be prompted when creating a new session.
However, you won't be prompted if you e.g. do : new-session
in command mode.
In the .tmux.config I see a lot of commented lines. Am I supposed to uncomment those?
What's .tmux.config
?
Oh. ok. got it. <c-b><c-c>
works. I thought i supposed to prompt when using tmux new
In the configuration I have
tmux_conf_new_session_prompt=true
. How ever when I create a new sessiontmux new-session
it never prompts to enter a session name.