mirror of https://codeberg.org/anemofilia/zero
home-environments: radio: Minor tweaks over fish-fzf configuration
parent
c5db909acc
commit
b350f60a20
|
@ -243,28 +243,21 @@
|
|||
(plugins
|
||||
(list fish-fzf))
|
||||
(config
|
||||
(list (plain-file "fish-fzf.fish"
|
||||
(string-join
|
||||
`("fzf_configure_bindings"
|
||||
"--directory=@@"
|
||||
"--git_log=@l"
|
||||
"--git_status=@s"
|
||||
"--history=@h"
|
||||
"--processes="
|
||||
"--variables=")))))
|
||||
(list fish-config:fzf))
|
||||
(environment-variables
|
||||
`(("LS_COLORS" . "'di=01;34:ln=01;36:or=01;31'")
|
||||
("fzf_preview_dir_cmd" . "''")
|
||||
("FZF_DEFAULT_OPTS"
|
||||
. ("--filepath-word"
|
||||
"--height=~40%"
|
||||
. ("--color=fg:blue:bold,hl:#cccccc"
|
||||
"--color=fg+:blue:bold,hl+:#cccccc"
|
||||
"--color=prompt:blue,pointer:blue"
|
||||
"--color=info:#ffffff,border:#000000"
|
||||
"--filepath-word"
|
||||
"--height=~60%"
|
||||
"--layout=reverse"
|
||||
"--preview=''"
|
||||
"--scheme=path"
|
||||
"--scroll-off=2"
|
||||
"--color=fg:blue:bold,hl:#cccccc"
|
||||
"--color=fg+:blue:bold,hl+:#cccccc"
|
||||
"--color=prompt:blue,pointer:blue"
|
||||
"--color=info:#ffffff,border:#000000"))
|
||||
"--scroll-off=2"))
|
||||
("fzf_base_fd_opts" . ("--exclude='\\..*'"
|
||||
"--follow"
|
||||
"--type directory"))
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
(define-module (home-environments radio fish-configs)
|
||||
#:use-module (guix gexp)
|
||||
|
||||
#:export (fzf))
|
||||
|
||||
(define fzf
|
||||
(plain-file "fish-fzf.fish"
|
||||
(string-join
|
||||
`("fzf_configure_bindings --directory=@@ --history= --processes= "
|
||||
"bind -M default / _fzf_search_history")
|
||||
"\n")))
|
Loading…
Reference in New Issue