Vim: set alternate-file based on current file name?

Use a. Vim . It was designed with the .

C/*. H alternate in mind but it shouldn't be that difficult to adapt it to your needs.

Up vote 2 down vote favorite share g+ share fb share tw.

When I code with unit tests, usually I need to be able to switch to the unit test file quickly. Usually, there is a pattern that names of source code files and unit test files are following, e.g. /common-path-1/lib/common-path-2/source. Ext /common-path-2/unittests/common-path-2/tests_source.

Ext How do I do this in Vim? Vim link|improve this question edited Jan 21 at 7:01ib.7,61311121 asked Jan 20 at 12:25Alexandru2,2782931 89% accept rate.

Use a.vim. It was designed with the *. C/*.

H alternate in mind but it shouldn't be that difficult to adapt it to your needs.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions