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
|
(plugins
|
||||||
(list fish-fzf))
|
(list fish-fzf))
|
||||||
(config
|
(config
|
||||||
(list (plain-file "fish-fzf.fish"
|
(list fish-config:fzf))
|
||||||
(string-join
|
|
||||||
`("fzf_configure_bindings"
|
|
||||||
"--directory=@@"
|
|
||||||
"--git_log=@l"
|
|
||||||
"--git_status=@s"
|
|
||||||
"--history=@h"
|
|
||||||
"--processes="
|
|
||||||
"--variables=")))))
|
|
||||||
(environment-variables
|
(environment-variables
|
||||||
`(("LS_COLORS" . "'di=01;34:ln=01;36:or=01;31'")
|
`(("LS_COLORS" . "'di=01;34:ln=01;36:or=01;31'")
|
||||||
|
("fzf_preview_dir_cmd" . "''")
|
||||||
("FZF_DEFAULT_OPTS"
|
("FZF_DEFAULT_OPTS"
|
||||||
. ("--filepath-word"
|
. ("--color=fg:blue:bold,hl:#cccccc"
|
||||||
"--height=~40%"
|
"--color=fg+:blue:bold,hl+:#cccccc"
|
||||||
|
"--color=prompt:blue,pointer:blue"
|
||||||
|
"--color=info:#ffffff,border:#000000"
|
||||||
|
"--filepath-word"
|
||||||
|
"--height=~60%"
|
||||||
"--layout=reverse"
|
"--layout=reverse"
|
||||||
"--preview=''"
|
"--preview=''"
|
||||||
"--scheme=path"
|
"--scheme=path"
|
||||||
"--scroll-off=2"
|
"--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"))
|
|
||||||
("fzf_base_fd_opts" . ("--exclude='\\..*'"
|
("fzf_base_fd_opts" . ("--exclude='\\..*'"
|
||||||
"--follow"
|
"--follow"
|
||||||
"--type directory"))
|
"--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