Use lcd in Vim for easier navigation between server and client app

Suppose that you have a separate repo for front-end and back-end app and the two reside in the same parent directory:

pwd
~/projects/keepa
ls
keepa
keepa-client

Open keepa in one window and change pwd (print working directory) with :lcd ../keepa. In another window run :lcd ../keepa-client, accordingly. Now you can easily navigate between the two without typing the whole path.

Without the :lcd:

:e ../keepa/config/routes.rb
:e ../keepa-client/config/routes.rb

After (for :lcd ../keepa-client)
:e config/routes.rb

Now, as you can see the root path starts from keepa-client.
490 seconds