summaryrefslogtreecommitdiff
path: root/Biz/Ide/ns
blob: cc299c75ed4f2d258b8de015fce36a27e64e4973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cat \
  <(echo "ship: ctrl-space") \
  <(echo "lint: alt-l") \
  <(echo "test: alt-t") \
  <(echo "bild: alt-space") \
  <(echo "edit: alt-enter") \
  <(echo "repl: enter") \
  <(fd --exclude=_ -t f . $BIZ_ROOT | sed "s,$BIZ_ROOT/*,,g") \
  | fzf-tmux \
    --bind "alt-space:execute(bild {} && read -p [fin])" \
    --bind "alt-enter:execute(vim  {})" \
    --bind "alt-l:execute(lint {} && read -p [fin])" \
    --bind "enter:execute(repl {})" \
    --bind "ctrl-space:execute(ship {} && read -p [fin])" \
    --bind "alt-t:execute(bild {} && run {} test && read -p [fin])" \
    --bind "ctrl-/:change-preview-window(88|hidden|)" \
    --bind "alt-0:change-preview(cat {})" \
    --bind "alt-1:change-preview(git log --color=always --date=relative --abbrev-commit --pretty=format:'%Cred%h%Creset %s / %an %Creset%C(yellow)%d%Creset%Cgreen(%cr)%Creset' -- {})" \
    --bind "pgup:preview-page-up" \
    --bind "pgdn:preview-page-down" \
    --header-lines=6 \
    --header-first \
    --preview-window="border-sharp,88" \
    --preview "cat {}"