I'm not sure if I like this, but it's less characters and seems to be
the convention with LuaSnip which will make it easier if introducing
snippets from any examples or anyone else's dotfiles.
This completes what I started in commit
0786ed3b3d, refactoring the lua code by
restructuring the directories and removing the `init` functions at the
bottom of each file.
Add a mapping to open Telescope within my `~/dotfiles` directory so that
I can quickly make any changes to those files without leaving my current
directory or nvim session.
Move the nvim configuration files into `.config/nvim/after/plugin` so
that they are autoloaded.
This also means that the local `init` functions can be removed as they
are no longer needed, and this also simplifies the Packer configuration.
Add an offset to the font using `offset.y` to add some vertical spacing
between each line to make things easier to read and more like I had it
in PhpStorm.
Also use `glyph.offset` to ensure that the spacing is balanced between
the lines rather than all being above each line, as this looks a bit odd
in Vim and with the tmux status line.
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