mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
Stuff
This commit is contained in:
parent
468e839512
commit
ef3f4dd248
3 changed files with 14 additions and 14 deletions
|
@ -1,4 +1,5 @@
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
set -sg escape-time 0
|
||||||
unbind-key -a
|
unbind-key -a
|
||||||
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
|
@ -47,7 +47,7 @@ compinit -C
|
||||||
#autoload -Uz compinit
|
#autoload -Uz compinit
|
||||||
#compinit
|
#compinit
|
||||||
|
|
||||||
# zinit light "Aloxaf/fzf-tab"
|
zinit light "Aloxaf/fzf-tab"
|
||||||
|
|
||||||
zinit wait lucid for \
|
zinit wait lucid for \
|
||||||
"zsh-users/zsh-history-substring-search" \
|
"zsh-users/zsh-history-substring-search" \
|
||||||
|
@ -63,7 +63,7 @@ zinit wait lucid for \
|
||||||
clear-keybinds
|
clear-keybinds
|
||||||
|
|
||||||
# load more stuff
|
# load more stuff
|
||||||
# source "$ZDOTDIR/fzf-tab.zsh"
|
source "$ZDOTDIR/fzf-tab.zsh"
|
||||||
source "$ZDOTDIR/keybinds.zsh"
|
source "$ZDOTDIR/keybinds.zsh"
|
||||||
|
|
||||||
unalias zi
|
unalias zi
|
||||||
|
|
|
@ -2,19 +2,18 @@
|
||||||
|
|
||||||
FZF_TAB_COMMAND=(
|
FZF_TAB_COMMAND=(
|
||||||
fzf
|
fzf
|
||||||
--ansi
|
#--ansi
|
||||||
--expect='$continuous_trigger' # For continuous completion
|
#--expect='$continuous_trigger' # For continuous completion
|
||||||
'--color=hl:$(( $#headers == 0 ? 108 : 255 ))'
|
#'--color=hl:$(( $#headers == 0 ? 108 : 255 ))'
|
||||||
--nth=2,3 --delimiter='\x00' # Don't search prefix
|
#--nth=2,3 --delimiter='\x00' # Don't search prefix
|
||||||
--layout=reverse --height="''${FZF_TMUX_HEIGHT:=50%}"
|
#--layout=reverse --height="''${FZF_TMUX_HEIGHT:=50%}"
|
||||||
--tiebreak=begin -m --bind=tab:down,btab:up,change:top,ctrl-space:toggle --cycle
|
#--tiebreak=begin -m --bind=tab:down,btab:up,change:top,ctrl-space:toggle --cycle
|
||||||
'--query=$query' # $query will be expanded to query string at runtime.
|
#'--query=$query' # $query will be expanded to query string at runtime.
|
||||||
'--header-lines=$#headers' # $#headers will be expanded to lines of headers at runtime
|
#'--header-lines=$#headers' # $#headers will be expanded to lines of headers at runtime
|
||||||
)
|
)
|
||||||
zstyle ':fzf-tab:*' fzf-command $FZF_TAB_COMMAND
|
zstyle ':fzf-tab:*' fzf-command "fzf"
|
||||||
|
#zstyle ':fzf-tab:*' fzf-command $FZF_TAB_COMMAND
|
||||||
zstyle ':completion:complete:*:options' sort false
|
zstyle ':completion:complete:*:options' sort false
|
||||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||||
zstyle ':fzf-tab:complete:_zlua:*' query-string input
|
zstyle ':fzf-tab:complete:_zlua:*' query-string input
|
||||||
zstyle ':fzf-tab:complete:*:*' fzf-preview '/home/leon/scripts/preview.sh $realpath'
|
zstyle ':fzf-tab:complete:*:*' fzf-preview '$HOME/scripts/preview.sh $realpath'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue