Skip to content

Instantly share code, notes, and snippets.

@chooglen
chooglen / fzf-jj.zsh
Last active April 6, 2024 20:25
Interactive `jj` with `fzf`
# Copyright 2022 Google LLC.
# SPDX-License-Identifier: Apache-2.0
export FZF_MOVEMENT="--bind='ctrl-n:preview-down' \
--bind='ctrl-p:preview-up'"
export FZF_DEFAULT_OPTS="$FZF_MOVEMENT"
jjl() {
_getCandidates="jj log $@"