We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c434d commit d9d21d9Copy full SHA for d9d21d9
uninstall.fish
@@ -1,15 +1,17 @@
1
+# FIXME: won't work as expected if user has changed the mode after installation
2
+set -l _pisces_bind_mode default
3
+if [ "$fish_key_bindings" = 'fish_vi_key_bindings' ]
4
+ set _pisces_bind_mode insert
5
+end
6
+
7
for pair in $pisces_pairs
8
for c in (string split -- ',' $pair)
- bind -e $c
9
+ bind -e -M $_pisces_bind_mode $c
10
end
11
12
-bind \b backward-delete-char
-bind \177 backward-delete-char
-bind \t complete
13
+bind -M $_pisces_bind_mode \b backward-delete-char
14
+bind -M $_pisces_bind_mode \177 backward-delete-char
15
+bind -M $_pisces_bind_mode \t complete
16
17
set -e pisces_pairs
-
-# TODO:
-# eval $__fish_active_key_bindings
-# fish_user_key_bindings
0 commit comments