Cannot use ctrl + p / n to view previous / next history when using tmux
1
vote
1
answer
57
views
I am using kitty + zsh + tmux on MacOS. Without tmux, I can just use Ctrl + p or Ctrl + n to scroll through the zsh history. However, when I have tmux running and without any configuration done, pressing Ctrl + p no longer shows me the previous history. Instead, it displays
^P
instead.
I have tried it with other terminal emulators, namely apple terminal, ghostty and alacritty, and I cannot get Ctrl + p to work with tmux running.
Why is this happening?
Asked by Shaobin Jiang
(111 rep)
May 22, 2025, 02:33 PM
Last activity: May 30, 2025, 09:29 AM
Last activity: May 30, 2025, 09:29 AM