diff --git a/.zimrc b/.zimrc index c10e6d7..f2db05f 100644 --- a/.zimrc +++ b/.zimrc @@ -1,6 +1,6 @@ zmodule jreese/zsh-titles -zmodule crater2150-zsh/fzf-widgets +zmodule SmartFinn/fzf-widgets zmodule crater2150-zsh/conf zmodule crater2150-zsh/chroma-z diff --git a/bindings.zsh b/bindings.zsh index 5e7bdee..aea5cd8 100644 --- a/bindings.zsh +++ b/bindings.zsh @@ -100,14 +100,10 @@ bindkey "^xf" fzf-insert-files bindkey "^xd" fzf-insert-directory bindkey "^xn" fzf-insert-named-directory -# Start fzf in a tmux pane -FZF_WIDGET_TMUX=1 - -# use fd for finding directories and files FZF_CHANGE_DIR_FIND_COMMAND="fd -t d" FZF_INSERT_DIR_COMMAND="fd -t d" FZF_INSERT_FILES_COMMAND="fd -t f" FZF_EDIT_FILES_COMMAND="fd -t f" # modify history command to remove duplicates -FZF_HISTORY_COMMAND="fc -l 1 | sed s/ *[0-9]* //g | awk !seen[\$0]++" +FZF_HISTORY_COMMAND="fc -l 1 | sed 's/ *[0-9]* //g' | awk '!seen[\$0]++'" diff --git a/zplug b/zplug deleted file mode 160000 index 18cfcd4..0000000 --- a/zplug +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 18cfcd4f761eceaf2ca63a291d11782d0f8b590e diff --git a/zshrc b/zshrc index f7b0042..7fdbe9a 100644 --- a/zshrc +++ b/zshrc @@ -57,8 +57,6 @@ function(){ try-source $(zdotfile dirs) } -. $(zdotfile completion.zsh) - ZIM_HOME=${XDG_CACHE_HOME:-$HOME/.cache}/zim if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then @@ -71,6 +69,7 @@ fi source ${ZIM_HOME}/init.zsh +. $(zdotfile completion.zsh) #source $(zdotfile zplug.zsh) . $(zdotfile bindings.zsh)