Skip to content

[Bugfix] File Open Logic fails on Windows due to backslashes in the path#118

Open
ABD-01 wants to merge 1 commit into
pechorin:masterfrom
ABD-01:master
Open

[Bugfix] File Open Logic fails on Windows due to backslashes in the path#118
ABD-01 wants to merge 1 commit into
pechorin:masterfrom
ABD-01:master

Conversation

@ABD-01
Copy link
Copy Markdown

@ABD-01 ABD-01 commented May 29, 2025

Added support of paths on windows by substituting backslashes () with forward slash

Previous behaviour:
If you want to open a file say: C:\path\to\lib\foo\implementation\foo.c, hitting enter, or o, or other file opening commands opens up the file: pathtolibfooimplementationfoo.c

The video summaries the entirety of this PR.

anyjump-fix.mp4

Systems tested on:

  1. Windows 10 and default vim from Git Bash
  2. Windows 11 and vim 9.1

Thanks

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