Updated bash history and added page up/down bindings to tmux

This commit is contained in:
jon
2020-11-14 14:47:16 -06:00
parent 322aea3556
commit 5bb78c7915
2 changed files with 11 additions and 2 deletions

View File

@@ -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

View File

@@ -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 ':%%'"