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

Expand tilde for selected paths in goto_file #10964

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

Commits on Jun 14, 2024

  1. Expand tilde for selected paths in goto_file

    Previously `gf` on `~/.config/helix` for example would error if the
    entire path was selected but succeed and open a picker for the directory
    contents if the selection was one one-width cursor. We need to expand
    tildes for all paths instead of just the auto-detected paths.
    
    This also refactors the `goto_file` blocks a little so that we construct
    `paths` once instead of creating the Vec and immediately clearing it
    when the selection is one single-width cursor.
    the-mikedavis committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    b3c2d36 View commit details
    Browse the repository at this point in the history