all repos

dotfiles @ 34f6966

i use rach linux btw
3 files changed, 24 insertions(+), 0 deletions(-)
yazi: add config, and shell wrapper
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-10-24 23:20:41 +0300
Parent: 1144351
A config/fish/functions/yaz.fish
···
        
        1
        +function yaz

      
        
        2
        +  set tmp (mktemp -t "yazi-cwd.XXXXXX")

      
        
        3
        +  yazi $argv --cwd-file="$tmp"

      
        
        4
        +  if read -z cwd < "$tmp"; and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]

      
        
        5
        +    builtin cd -- "$cwd"

      
        
        6
        +  end

      
        
        7
        +  rm -f -- "$tmp"

      
        
        8
        +end

      
A config/yazi/keymap.toml
···
        
        1
        +[[mgr.prepend_keymap]]

      
        
        2
        +on   = [ "g", "c" ]

      
        
        3
        +run  = "cd ~/.dotfiles"

      
        
        4
        +desc = "goto .dotfiles"

      
        
        5
        +

      
        
        6
        +[[mgr.prepend_keymap]]

      
        
        7
        +on   = [ "g", "v" ]

      
        
        8
        +run  = "cd ~/vods"

      
        
        9
        +desc = "goto ~/vods"

      
        
        10
        +

      
A config/yazi/yazi.toml
···
        
        1
        +[mgr]

      
        
        2
        +sort_sensitive = false

      
        
        3
        +sort_dir_first = true

      
        
        4
        +linemode = "none"

      
        
        5
        +show_symlink = true

      
        
        6
        +show_hidden = false