#! /usr/bin/env sh set -e cargo build ./target/debug/bind-server > ./default.nix & sleep 1 # bind --preset y,i backward-jump-till and repeat-jump-reverse and begin-selection repeat-jump fish_vi_yank_selection end-selection # bind --preset y,a backward-jump and repeat-jump-reverse and begin-selection repeat-jump fish_vi_yank_selection end-selection # bind --preset d,i backward-jump-till and repeat-jump-reverse and begin-selection repeat-jump kill-selection end-selection # bind --preset d,a backward-jump and repeat-jump-reverse and begin-selection repeat-jump kill-selection end-selection # bind --preset d 'fish_vi_start_operator delete' # bind --preset c 'fish_vi_start_operator change' # bind --preset y 'fish_vi_start_operator yank' # bind --preset -m insert c,i backward-jump-till and repeat-jump-reverse and begin-selection repeat-jump kill-selection end-selection repaint-mode # bind --preset -m insert c,a backward-jump and repeat-jump-reverse and begin-selection repeat-jump kill-selection end-selection repaint-mode # bind --preset -M insert a,b,c,a yank # bind --preset -M insert a,b,c,b yank # bind --preset -M insert a,b,c,c yank bind --preset a,b,y,y fish_clipboard_copy bind --preset a,b,Y fish_clipboard_copy bind --preset a,c,y,y fish_clipboard_copy bind --preset a,c,Y fish_clipboard_copy bind-end wait cat ./default.nix nix eval -f default.nix