Commit graph

10 commits

Author SHA1 Message Date
Oliver Davies 304cffa0fa feat(zsh): ignore duplicates in history 2021-12-20 16:32:11 +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
Oliver Davies 603316ab2e zsh: update WORDCHARS
Update the word separator characters.
2021-11-05 10:58:38 +00:00
Oliver Davies 2386e5f343 feat(zsh): search history using up and down arrows 2021-10-06 18:43:19 +01:00
Oliver Davies 8e3c3adaa5 Remove tat command and automatically loading tmux
This isn't needed now that the tmux-sessioniser is working, and it also
means that there isn't a weird "System32" session automatically created
within WSL2, or with my username in Pop!_OS.
2021-09-17 22:38:00 +01:00
Oliver Davies 73e76b4d97 feat: add tmux-sessioner script
Add a script for quickly navigating between directories using fzf and
tmux sessions. Executable within zsh and Vim.
2021-09-17 19:42:11 +01:00
Oliver Davies 977289ef14 fix(nvim): Re-add italic text 2021-08-09 22:54:03 +01:00
Oliver Davies 04f4794c40 Add nv function for Neovim 2021-08-03 13:48:14 +01:00
Oliver Davies a91fa7a378
Re-add missing function 2021-07-28 12:57:53 +01:00
Oliver Davies 7fed1cf922 Use stow for managing dotfiles 2021-07-27 14:38:40 +01:00