Update; jj aliases; session management
This commit is contained in:
@@ -86,6 +86,12 @@
|
||||
lg = ["log"];
|
||||
des = ["describe"];
|
||||
sq = ["squash"];
|
||||
gp = ["git" "push"];
|
||||
nc = [
|
||||
"util" "exec" "--" "bash" "-c"
|
||||
''jj new --no-edit -B "''${2:-@}" -m "$1"''
|
||||
""
|
||||
];
|
||||
};
|
||||
|
||||
ui = {
|
||||
|
||||
@@ -69,9 +69,10 @@ in
|
||||
fzf --ansi --disabled --query "$query" \
|
||||
--bind "start:reload(rg --column --line-number --no-heading --color=always --smart-case {q} \"$search_path\")" \
|
||||
--bind "change:reload:sleep 0.1; rg --column --line-number --no-heading --color=always --smart-case {q} \"$search_path\" || true" \
|
||||
--bind "shift-up:preview-up,shift-down:preview-down" \
|
||||
--delimiter : \
|
||||
--preview 'bat --color=always --style=numbers --highlight-line {2} {1}' \
|
||||
--preview-window 'right:45%'
|
||||
--preview-window 'right,45%,border-left,+{2}+3/3,~3'
|
||||
)
|
||||
|
||||
# Extract file and line, then open in Neovim
|
||||
|
||||
Reference in New Issue
Block a user