mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
various rather experimental changes
This commit is contained in:
@@ -24,9 +24,9 @@ Mod=Mod4 # Use the super key as the main modifier
|
||||
### Atlantis PC-specific setup ###
|
||||
if [[ "$HOST" == "atlantispc" ]]; then
|
||||
/usr/bin/xrandr --output DVI-D-1 --left-of HDMI-1
|
||||
hc detect_monitors
|
||||
#hc detect_monitors
|
||||
hc set swap_monitors_to_get_tag 0
|
||||
#hc set_monitors 3840x1080+0+0
|
||||
hc set_monitors 3840x1080+0+0
|
||||
xautolock -time 15 -locker /home/ik15ydit/.config/i3lock/piclock.sh &
|
||||
fi
|
||||
### Atlantislaptop specific setup ###
|
||||
|
||||
20
zshrc
20
zshrc
@@ -55,7 +55,7 @@ setopt nolistambiguous # sofort alle Möglichkeiten anzeigen
|
||||
setopt completeinword # in Wörtern completen, braucht der _prefix completer
|
||||
|
||||
### GENERAL ###
|
||||
bindkey '^R' history-incremental-pattern-search-backward
|
||||
#bindkey '^R' history-incremental-pattern-search-backward
|
||||
zmodload zsh/complist #bessere listen
|
||||
autoload -Uz compinit; compinit #completioni
|
||||
|
||||
@@ -226,3 +226,21 @@ alias udev_reload="udevadm control --reload-rules && udevadm trigger" #reload al
|
||||
if [[ $HOST =~ faui* ]]; then
|
||||
mesg n
|
||||
fi
|
||||
|
||||
### Experimental ###
|
||||
alias hs='eval $(cat .config/zshhistory.log | peco)'
|
||||
alias cfind='print -z $(cat .config/zshhistory.log | peco)'
|
||||
hhs(){print -z $(cat .config/zshhistory.log | peco)}
|
||||
zle -N hhstest hhs
|
||||
bindkey ^R hhstest
|
||||
source ~/.config/other/zsh-history-substring-search.zsh
|
||||
|
||||
bindkey '^[[5~' history-substring-search-up
|
||||
bindkey '^[[6~' history-substring-search-down
|
||||
|
||||
# === cool-peco init ===
|
||||
FPATH="$FPATH:/home/sheppy/reps/cool-peco"
|
||||
autoload -Uz cool-peco
|
||||
cool-peco
|
||||
#bindkey '^R' cool-peco-history
|
||||
# ======================
|
||||
|
||||
Reference in New Issue
Block a user