From 5bb78c7915117a8a45ca7ba16d53cb5726d7159e Mon Sep 17 00:00:00 2001 From: jon Date: Sat, 14 Nov 2020 14:47:16 -0600 Subject: [PATCH] Updated bash history and added page up/down bindings to tmux --- bash/.bashrc | 7 +++++-- tmux/.tmux.conf | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index be4358d..fe15ad6 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -35,6 +35,9 @@ short_find() { } alias f=short_find +# enable va-api in firefox +export MOZ_X11_EGL=1 + #not sure why fedora doesnt set this or what it might break but here we go export XDG_CONFIG_HOME=$HOME/.config @@ -71,8 +74,8 @@ export NNN_FALLBACK_OPENER=xdg-open # HISTORY #add date/time to history export HISTTIMEFORMAT="%F %T: " -export HISTSIZE=2000 -export HISTFILESIZE=5000 +export HISTSIZE=100000 +export HISTFILESIZE=1000000 #if tty -s; then if [ -t 1 ]; then diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 3e43ffe..c315a3b 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -30,6 +30,12 @@ bind j select-pane -D bind k select-pane -U bind l select-pane -R +# page up/down +bind-key -n S-PageUp copy-mode -u +bind-key -n S-PageDown copy-mode +bind-key -T copy-mode S-PageUp send-keys -X page-up +bind-key -T copy-mode S-PageDown send-keys -X page-down + #join window bind-key @ command-prompt -p "create pane from:" "join-pane -s ':%%'"