Editing files locally with Vagrant

0

Is it possible to edit files using non command-line editors, such as Notepad++, with Vagrant?  If so, how would it be done?

Btuman

Posted 2014-10-28T22:16:57.693

Reputation: 101

Answers

0

If your editor can do that, it is possible to edit code on your box via SSH:

  • :e scp://user@host//some/directory/ in [G]Vim,

  • use the built-in SSH plugin in Notepad++.

But your box uses the directory where you issued $ vagrant up as a shared directory: put your files there and you'll we be able to access them with CLI editors from your box and with your host's GUI editors.

romainl

Posted 2014-10-28T22:16:57.693

Reputation: 19 227

So I would have to move every file back and forth with every edit? – Btuman – 2014-10-30T21:08:26.757

No, that directory is where you put your project and where you work. – romainl – 2014-10-30T22:08:49.877