diff options
Diffstat (limited to 'pkgs/by-name/fi/fish-mk-maps/fish_test.sh')
| -rwxr-xr-x | pkgs/by-name/fi/fish-mk-maps/fish_test.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/fi/fish-mk-maps/fish_test.sh b/pkgs/by-name/fi/fish-mk-maps/fish_test.sh new file mode 100755 index 00000000..3c6077b5 --- /dev/null +++ b/pkgs/by-name/fi/fish-mk-maps/fish_test.sh @@ -0,0 +1,31 @@ +#! /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 |
