Skip to content

Instantly share code, notes, and snippets.

View mathgeniuszach's full-sized avatar

Zach K mathgeniuszach

View GitHub Profile
# For making the [fish shell](https://fishshell.com) bind properly.
#
# The [`bind`](https://fishshell.com/docs/current/cmds/bind.html) command
# handles nearly all bindings on fish. However, some plugins may want more.
# This will assume the user has no plugins - they are free to rebind their own.
#
# Having [shift selection](https://github.com/fish-shell/fish-shell/issues/8677)
# is incredibly nice. It just needs a couple of functions to test if the user has
# anything selected and to execute on shift+keys (with the kitty protocol)