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: :cd - changes to the previous working directory #12194

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

nik-rev
Copy link
Contributor

@nik-rev nik-rev commented Dec 5, 2024

In #12042 (review) it was suggested to also add :cd - to change to the previous working directory

  • if a previous working directory exists, change to it
  • if it doesn't, do nothing. This is the same behaviour as if you open a terminal and write cd -, it will not do anything. + displays informational message

helix-stdx/src/env.rs Outdated Show resolved Hide resolved
helix-term/src/commands/typed.rs Outdated Show resolved Hide resolved
helix-term/src/commands/typed.rs Outdated Show resolved Hide resolved
nik-rev and others added 2 commits December 5, 2024 21:33
Minor style edit: not all `last_*` fields are together but this should
start a trend and reduce the chance that this change conflicts with
other PRs.
@the-mikedavis the-mikedavis merged commit 93deb1f into helix-editor:master Dec 5, 2024
6 checks passed
GladkihEgor pushed a commit to GladkihEgor/helix that referenced this pull request Jan 4, 2025
…#12194)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
diucicd pushed a commit to diucicd/helix that referenced this pull request Jan 8, 2025
…#12194)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
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.

2 participants