Hi,

i'm playing already two days with tmux and i'm completely delighted
with it. Many thanks to the devs for creating this software.

I'm trying to configure tmux and i'm having a (for me) big problem
with the PageUp key: normally i use in zsh PageUp and PageDown to
search the history. I have the following in my zshrc:

bindkey '^[[5~' history-beginning-search-backward
bindkey '^[[6~' history-beginning-search-forward

and it works perfectly.

BUT: when I do it with zsh inside tmux, I just get ~

Interestingly if I enter another machine with ssh I can search the
bash history of this machine with PageUp/Down. I dont think I have
anything strnge in my tmux.conf:


### Change prefix to C-a
unbind-key C-b
set -g prefix C-a
set -g default-command zsh
set -g display-time 3000
set -g history-limit 5000
set -g base-index 1
set -g set-titles on
#set -g set-titles-string "#I:#W #(hostname|cut -d. -f1)"
set -g status-keys vi
set -g status-bg cyan
set -g status-fg black
set -g status-interval 1
#set -g status-justify centre
#set -g status-left '#H [#P:#I] #[default]'
#set -g status-right 'Up #(uptime | cut -f 4-5 -d " " | cut -f 1 -d
",") :: #(uptime|cut -f 11-13 -d " ")'
set -g bell-action any

setw -g utf8 on
setw -g xterm-keys on
setw -g automatic-rename off
setw -g window-status-current-attr bright,reverse
setw -g window-status-current-bg white
#setw -g window-status-current-fg magenta
setw -g window-status-current-fg red

[I have other things, but they are not related to sessions]

Many thx for your help!

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to