Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tele): increase telescope options #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamestrew
Copy link
Contributor

@jamestrew jamestrew commented Mar 6, 2022

  • enable option passing during telescope setup (example shown in README)
  • expose worktree specific telescope actions delete_worktree and toggle_forced_deletion
  • add items option for changing git worktree display items (ordering, omission, set widths)

Last point in more detail. Prior to this change, really long branch names would make the width of columns really large so you couldn't see anything but branch name.
Example pre-change:
image

With the new changes, users can choose what's shown more precisely.
Example post-change:
image
In the example above (config in README) I omitted the path and restricted the widths of both branch and sha. You could also choose a different order (ie sha, branch, path etc.).

- enable option passing during telescope `setup`
- add option for changing git worktree display items (ordering, omittion, set widths)
- expose worktree specific telescope actions
@jamestrew jamestrew force-pushed the feat/telescope-entry-opts branch from 7a3cca0 to fe09c05 Compare March 12, 2022 03:19
bradsherman added a commit to bradsherman/git-worktree.nvim that referenced this pull request Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant