kazhala / dotbare

Manage dotfiles and any git directories interactively with fzf
https://github.com/kazhala/dotbare/wiki
MIT License
677 stars 19 forks source link

[Feature request] Scrolling previews #16

Closed wallace11 closed 4 years ago

wallace11 commented 4 years ago

Hi there, forgit has this binding for scrolling previews. I wondered if it was possible for dotbare to have it as well ;)

kazhala commented 4 years ago

fzf comes a default binding for scrolling previews, shift-up and shift-down would scroll the preview. You could change the behaviour to forgit by creating custom bindings for dotbare. More customization options is listed here

export DOTBARE_KEY="
  --bind=alt-a:toggle-all       # toggle all selection
  --bind=alt-w:jump             # label jump mode, sort of like vim-easymotion
  --bind=alt-0:top              # set cursor back to top
  --bind=alt-s:toggle-sort      # toggle sorting
  --bind=alt-t:toggle-preview   # toggle preview
  --bind=alt-j:preview-down
  --bind-alt-k:preview-up
"
kazhala commented 4 years ago

If I miss-understood your question, feel free to re-open.