romkatv / zsh4humans

A turnkey configuration for Zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use touchpad to scroll instead of pg-up and pg-down

avie10eee opened this issue · comments

hello, I just started using z4h and it is AMAZING, but there is one problem, My keyboard does not contain pg-up and pg-down keys, so I need to edit the config for scrolling. I was just wondering if that is possible and if it is, how to do it.

I don't know.

I figured it out. All you need to do is add set -g mode-mouse on to ~/.tmux.conf and then you can scroll.

In newer versions of tmux, we need set -g mouse on; source: stackoverflow