Skip to content

Commit

Permalink
feat(robin/fzf): customize fzf options
Browse files Browse the repository at this point in the history
  • Loading branch information
comfysage committed Dec 31, 2024
1 parent 68ae233 commit c837a12
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions home/robin/packages/cli/fzf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ in
layout = "reverse-list";
info = "right";
preview-window = "border-rounded";
prompt = "> ";
marker = ">";
pointer = "";
prompt = " ";
pointer = "";
marker = "";
separator = "─";
scrollbar = "│";
};
Expand All @@ -43,5 +43,24 @@ in
changeDirWidgetOptions = [
"--preview 'tree -C {} | head -200'"
];

colors = {
fg = 15; # Text
bg = -1; # Background
"fg+" = 15; # Text (current line)
"bg+" = 8; # Background (current line)
preview-fg = -1; # Preview window text
preview-bg = -1; # Preview window background
hl = 9; # Highlighted substrings
"hl+" = 9; # Highlighted substrings (current line)
gutter = -1; # Gutter on the left (defaults to bg+)
info = 4; # Info
border = -1; # Border of the preview window and horizontal separators (--border)
prompt = 5; # Prompt
pointer = 15; # Pointer to the current line
marker = 3; # Multi-select marker
spinner = 15; # Streaming input indicator
header = 15; # Header
};
};
}

0 comments on commit c837a12

Please sign in to comment.