Skip to content

Commit

Permalink
Added backspace binding to \177 which is used in Terminal.app (thanks…
Browse files Browse the repository at this point in the history
… to @amir20 for the help)
  • Loading branch information
laughedelic committed May 10, 2016
1 parent 42a7c5d commit fe29d45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions key_bindings.fish
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ function key_bindings
_pisces_bind_pair (string split ',' $pair)
end

# normal backspace, also known as \010 or ^H:
bind \b _pisces_backspace
# Terminal.app sends DEL code on ⌫:
bind \177 _pisces_backspace
end
2 changes: 1 addition & 1 deletion uninstall.fish
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ for pair in $pisces_pairs
end
end

# this doesn't really work "/
bind \b backward-delete-char
bind \177 backward-delete-char

set -e pisces_pairs

0 comments on commit fe29d45

Please sign in to comment.