Commit graph

2 commits

Author SHA1 Message Date
Oliver Davies 8916e90050 refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning
so that everything can be managed in one place, and add a role for each
piece of software.
2022-01-06 01:04:14 +00:00
Oliver Davies f80ded946e feat: add keybindings for fzf in zsh
Add keybindings for fzf to run keybindings like CTRL-T, CTRL-R, and
ALT-C in zsh.

From https://github.com/junegunn/fzf:

> warning Key bindings (CTRL-T / CTRL-R / ALT-C) and fuzzy
auto-completion may not be enabled by default.

> Refer to the package documentation for more information. (e.g.
apt-cache show fzf)

Running `apt-cache show fzf` said:

> Refer /usr/share/doc/fzf/README.Debian for quick instructions on how
to add keybindings for Bash, Zsh, Fish to call fzf.

This in turn said to add this line to `~/.zshrc`, or in my case, a new
`fzf.zsh` file:

    source /usr/share/doc/fzf/examples/key-bindings.zsh
2021-11-16 11:35:41 +00:00