Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

[plugin] Toggle between files with other.nvim #3

Open
practicalli-johnny opened this issue Feb 9, 2024 · 0 comments
Open

[plugin] Toggle between files with other.nvim #3

practicalli-johnny opened this issue Feb 9, 2024 · 0 comments

Comments

@practicalli-johnny
Copy link
Owner

other.nvim open associated files for the currently active buffer, e.g. toggle between a clojure src and test file

Add a substititution rule along the lines of

%:s?src?test?:s?.clj?_test.clj?

Alternatives

Vim command

command! -buffer ATest :e %:s?src?test?:s?.clj?_test.clj?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant