feat(base): preview files when using f alias
parent
b8be6a3a4e
commit
35b2144c68
|
@ -45,7 +45,7 @@ in
|
|||
mv = "mv -i";
|
||||
cd = "z";
|
||||
|
||||
f = "fzf --multi --bind \"enter:become($EDITOR {+})\"";
|
||||
f = ''fzf --multi --bind "enter:become($EDITOR {+})" --preview "bat --color=always --style=header,grid --line-range :500 {+}"'';
|
||||
|
||||
nixos-switch = nom-system-command "sudo nixos-rebuild switch --flake ~/.dotfiles";
|
||||
nixos-boot = nom-system-command "sudo nixos-rebuild boot --flake ~/.dotfiles";
|
||||
|
@ -154,6 +154,7 @@ in
|
|||
enable = true;
|
||||
defaultOptions = [
|
||||
"--height 50%"
|
||||
"--bind alt-j:preview-down,alt-k:preview-up"
|
||||
];
|
||||
};
|
||||
zoxide.enable = true;
|
||||
|
|
Loading…
Reference in New Issue