Updated bash history and added page up/down bindings to tmux
This commit is contained in:
@@ -35,6 +35,9 @@ short_find() {
|
|||||||
}
|
}
|
||||||
alias f=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
|
#not sure why fedora doesnt set this or what it might break but here we go
|
||||||
export XDG_CONFIG_HOME=$HOME/.config
|
export XDG_CONFIG_HOME=$HOME/.config
|
||||||
|
|
||||||
@@ -71,8 +74,8 @@ export NNN_FALLBACK_OPENER=xdg-open
|
|||||||
# HISTORY
|
# HISTORY
|
||||||
#add date/time to history
|
#add date/time to history
|
||||||
export HISTTIMEFORMAT="%F %T: "
|
export HISTTIMEFORMAT="%F %T: "
|
||||||
export HISTSIZE=2000
|
export HISTSIZE=100000
|
||||||
export HISTFILESIZE=5000
|
export HISTFILESIZE=1000000
|
||||||
|
|
||||||
#if tty -s; then
|
#if tty -s; then
|
||||||
if [ -t 1 ]; then
|
if [ -t 1 ]; then
|
||||||
|
|||||||
@@ -30,6 +30,12 @@ bind j select-pane -D
|
|||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
bind l select-pane -R
|
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
|
#join window
|
||||||
bind-key @ command-prompt -p "create pane from:" "join-pane -s ':%%'"
|
bind-key @ command-prompt -p "create pane from:" "join-pane -s ':%%'"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user