1 yes if you can persuade your terminal to send S-PgUp to tmux instead
of trying to scroll itself, and if the terminal sends the right thing
(\e[5;2~ for page up, \e[6;2~ for page down)

2 yes use -e


On Thu, Nov 09, 2017 at 01:46:34PM -0600, Matt Zagrabelny wrote:
>    Greetings tmux-users,
>    In my pre-tmux-days I used Shift+PgUp/Down to scroll in my terminal. I
>    know with tmux I need to enter copy-mode. I've almost recreated what I was
>    used with the following .tmux.conf lines:
>    bind-key -n C-PPage copy-mode -u
>    bind-key -T copy-mode-vi C-NPage send-keys -X page-down
>    I have two questions:
>    1. Is it possible to change the modifier from Control to Shift? Currently
>    I have C-PPage but would like Shift-PPage? If so, what is the right word
>    for Shift?
>    2. Is there a way to test if the copy-mode is at the bottom of the scroll
>    buffer and to exit copy-mode if tmux detects it is at the bottom? I'd like
>    to exit copy-mode if I hit the bottom of the scroll buffer with my PgDown
>    (NPage) key binding. Is that possible?
>    Thanks!
>    -m
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "tmux-users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [email protected].
>    To post to this group, send email to [email protected].
>    For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to