Skip to content

lucascardial/vhedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to vhedit!

*vhedit* is a helper for quick editing of the *HOMESTEAD.YAML* and *HOST* files (on Windows).

*vhedit* provides dynamic support for calls from your projects folder in your preferred code editor.

Configuration

First you need download the 'vhedit' in your %UserFolder%: "C:\Users\%USERNAME%\vhedit" to include the 'vhedit' directory in your environment settings. See here

Homestead

By default, this is the Homestead folder: "C:\Users\%USERNAME%\.homestead"
If your homestead folder is in another directory, you can change it through the environment file ".cardial":
"homestead=your_homestead_folder"

Projects

In the ".cardial" environment file, configure your projects folders as follows:
"dir=C:\Users\lucca\Eloss"
"dir=C:\College\Projects"
"dir=C:\Jobs\Projects"

Usage

Whenever you want to change the Homestead.yaml file and the windows HOST file, you can run the command:
vhedit **your_prefer_Editor**, in my case: vhedit subl
Whenever you want to open a project in your favorite code editor, use: cedit **your_prefer_Editor** For example, I use the folder "C:\Users\lucca\Eloss" where I keep my personal projects
Now using CMD, I want to open the vhedit project in the code editor of my choice:
*Syntax: cedit project-folder code_Editor
cedit android-project subl to open with Sublime Text 3
cedit android-project code to open with Visual Studio Code
cedit android-project phpstorm to open with PHP Storm

My folder Structure Folder Projects: C:\Users\lucca\Eloss

project: /vhedit/
project: /laravel/
project: /android-project/.

About

Folder navigation assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published