diff options
Diffstat (limited to '')
-rw-r--r-- | home/home-minimal.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/home/home-minimal.nix b/home/home-minimal.nix index c2475ce..fa969a6 100644 --- a/home/home-minimal.nix +++ b/home/home-minimal.nix @@ -57,7 +57,6 @@ ll = "exa -lh --icons"; llt = "exa -lh --tree --icons"; lt = "exa --tree --icons"; - md = "glow -p"; puny = "idn --quiet"; unpuny = "idn --quiet -u"; }; @@ -65,13 +64,16 @@ fish_greeting = { body = ""; }; + md = '' + lowdown -tterm --term-columns=(tput cols) $argv[1] | less + ''; mds.body = '' if [ "$argv[1]" = "" ] set pattern ".md" else set pattern $argv[1] end - fd $pattern | fzf --preview="glow {} --style=dark" --bind ctrl-j:preview-down,ctrl-k:preview-up,ctrl-alt-j:preview-page-down,ctrl-alt-k:preview-page-up + fd $pattern | fzf --preview="lowdown -tterm {}" --bind ctrl-j:preview-down,ctrl-k:preview-up,ctrl-alt-j:preview-page-down,ctrl-alt-k:preview-page-up ''; git-where.body = '' set gits (fd "^\\.git\$" -H) |