anchor.diff:            # nicer autocomplete selections
             zstyle ':completion:*' menu select # use arrows to navigate autocomplete results
             zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # lowers match uppers
  -          # I really want the vi binding to more vim like
  -          # bindkey -v '^?' backward-delete-char # allow backspace key to work as expected
  -          # open the commnad line in $EDITOR
  -          #autoload -z edit-command-line
  -          #zle -N edit-command-line
  -          #bindkey -M vicmd v edit-command-line
  -          # match my binding for [neo]vim
  -          #bindkey -M viins 'jk' vi-cmd-mode
  +
             setopt ignoreeof # don't close my shell on ^d. Why is that a good idea?
  +
             # fancy git + fzf
             # todo: refactor this into its own script and just source it
             is_in_git_repo() {
  
positive.code:               --preview '${pkgs.git}/bin/git log --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" {1} | head -200' |
              cut -d$'\t' -f1
            }
            fzf_pick_git_branch() {
              is_in_git_repo || return
              ${pkgs.git}/bin/git branch -a --color=always | grep -v '/HEAD\s' | sort |
  
negative.code:             sed 's/^..//' | cut -d' ' -f1 |
              sed 's#^remotes/##'
            }
  
            # A helper function to join multi-line output from fzf
            join-lines() {
              local item
  