chore: updates to fzf and sesh 533c8395
Steve · 2026-03-17 19:28 2 file(s) · +21 −18
nushell/env.nu +10 −7
64 64
$env.GOMODCACHE = ($env.HOME | path join ".local" "share" "go-mod-cache")
65 65
$env.FZF_DEFAULT_COMMAND = 'fd --type f --hidden --exclude ".git"'
66 66
$env.FZF_DEFAULT_OPTS = [
67 -
  '--color=fg:7,fg+:15,bg:0,bg+:8'              # fg: ansi[7], fg+: white, bg: ansi[0], bg+: brights[0]
68 -
  '--color=hl:1,hl+:2,info:3,marker:2'          # hl: ansi[1], hl+: ansi[2], info: ansi[3], marker: ansi[2]
69 -
  '--color=prompt:3,spinner:1,pointer:2,header:6' # prompt: ansi[3], spinner: ansi[1], pointer: ansi[2], header: ansi[6]
70 -
  '--color=border:8,label:4,query:15'           # border: brights[0], label: ansi[4], query: white
67 +
  '--color=fg:8:bold,fg+:15,bg:-1,bg+:-1'
68 +
  '--color=hl:10:bold,hl+:10:bold'
69 +
  '--color=info:8,spinner:9,header:4'
70 +
  '--color=prompt:2,pointer:9,marker:1'
71 +
  '--color=border:7,label:15:bold,query:15'
71 72
  '--border="rounded"'
72 73
  '--border-label=""'
73 74
  '--preview-window="border-rounded"'
74 75
  '--prompt="> "'
75 -
  '--marker=">"'
76 +
  '--marker=" "'
76 77
  '--pointer="◆"'
77 -
  '--separator="─"'
78 -
  '--scrollbar="│"'
78 +
  '--separator=""'
79 +
  '--scrollbar=""'
80 +
  '--gutter=" "'
81 +
  '--info=inline-right'
79 82
] | str join ' '
80 83
path add ~/.tmux/plugins/t-smart-tmux-session-manager/bin
81 84
path add ~/.deno/bin
tmux/.tmux.conf +11 −11
26 26
# )\""
27 27
28 28
bind-key "T" run-shell "sesh connect \"$(
29 -
  sesh list --icons | fzf-tmux --reverse -p 80%,70% \
30 -
    --no-sort --ansi --border-label ' sesh ' --prompt '󰘧  ' \
31 -
    --header '  ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
29 +
  sesh list --icons --hide-duplicates | fzf-tmux --no-sort --reverse \
30 +
    -p 100%,100% --ansi --padding 0,1 --prompt='󰘧  ' \
31 +
    --border=none --input-border=rounded --preview-border=rounded \
32 +
    --header '^a all ^t tmux ^g configs ^x zoxide ^f find ^d kill' \
32 33
    --bind 'tab:down,btab:up' \
33 -
    --bind 'ctrl-a:change-prompt(⚡  )+reload(sesh list --icons)' \
34 -
    --bind 'ctrl-t:change-prompt(🪟  )+reload(sesh list -t --icons)' \
35 -
    --bind 'ctrl-g:change-prompt(⚙️  )+reload(sesh list -c --icons)' \
36 -
    --bind 'ctrl-x:change-prompt(📁  )+reload(sesh list -z --icons)' \
37 -
    --bind 'ctrl-f:change-prompt(🔎  )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
38 -
    --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡  )+reload(sesh list --icons)' \
39 -
    --preview-window 'right:55%' \
40 -
    --preview 'sesh preview {}'
34 +
    --bind 'ctrl-a:reload(sesh list --icons --hide-duplicates)' \
35 +
    --bind 'ctrl-t:reload(sesh list -t --icons)' \
36 +
    --bind 'ctrl-g:reload(sesh list -c --icons)' \
37 +
    --bind 'ctrl-x:reload(sesh list -z --icons)' \
38 +
    --bind 'ctrl-f:reload(fd -H -d 2 -t d -E .Trash . ~)' \
39 +
    --bind 'ctrl-d:execute(tmux kill-session -t {2..})+reload(sesh list --icons --hide-duplicates)' \
40 +
    --preview 'sesh preview {}' --preview-window 'right:55%' \
41 41
)\""
42 42
43 43
bind-key b set-option status