3 ms·
> Separately, I have a bunch of keybindings to load sets of files into fzf for easy access. Do you have your dotfiles available to share? That sounds really us
by mssundaram 6y ago
> Separately, I have a bunch of keybindings to load sets of files into fzf for easy access.
Do you have your dotfiles available to share? That sounds really useful
- bradly 6y agoI don't have dotfiles online, but many were inspired by this gist: https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f17236 https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f... For other things like files changed in current branch I've just kludged together aliases: branch_files='git log --decorate --pretty=oneline --abbrev-commit --name-only --no-merges --first-parent main..HEAD | fpp' (fpp extracts file paths from output) If you use zsh it can also helpful to setup suffix aliases so just the filename is bound to an application. For instance `alias -s {rb,erb,rake,css,js}=vim`
- apjana 6y agoThanks for sharing!