Skip to content

An IDE(ish) environment built on Tmux and Vim (or another editor if desired)

License

Notifications You must be signed in to change notification settings

ivanwills/App-VTide

Repository files navigation

App-VTide Coverage Status

App::VTide

An IDE(ish) environment built on Tmux and Vim (or another editor if desired)

INSTALLATION

From cpan:

cpanm App::TVide
# or if you don't have cpnam
cpan App::TVide

To install this module, run the following commands:

perl Build.PL
./Build
./Build test
./Build install

Usage

vtide init [name]
vtide start (project)
vtide edit [--save[=]name] (group|files)

Configuration

There are 2 global and 1 local configuration files

.vtide.yml

The individual projects configuration

---
# optional name of project (default name is the directory)
name: myapp
# the total number of terminals to start up
count: 4
# default configs for terminals
default:
    # when the command finishes restart the command (useful for running
    # dev servers which may die or you may want to kill and restart)
    restart: false
    # run the command at first start or wait for the user to press enter
    wait: false
# configure your editor
editor:
    # the command to run
    command:
        # this will run vim -O pluse what ever files are found but the files config
        - vim
            -O
    # files store the named file groups
    files:
        lib:
            - lib/Myapp.pm
              lib/Myapp/Controller/Root.pm
        db:
            - database/*.sql
# configure the individual terminals
terminals:
    1:
        restart: true
        command:
            - plackup
              --port
              3000
              myapp.psgi
    2:
        edit:
            - lib
    3:
        edit:
            - db

~/.vtide.yml

Global options/alias etc for all projects. This contains all the same values as .vtide.yml but name and terminals will be ignored.

~/.vtide.rc

Stores record of all used projects for command line helpers. As new sessions are started they will be recorded in this file. Also this will be updated if a session changes it's name.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

perldoc App::VTide

You can also look for information at:

RT, CPAN's request tracker
    http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-VTide

AnnoCPAN, Annotated CPAN documentation
    http://annocpan.org/dist/App-VTide

CPAN Ratings
    http://cpanratings.perl.org/d/App-VTide

Search CPAN
    http://search.cpan.org/dist/App-VTide/

Source Code
    git://github.com/ivanwills/App-VTide.git

COPYRIGHT AND LICENCE

Copyright (C) 2016 Ivan Wills

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

About

An IDE(ish) environment built on Tmux and Vim (or another editor if desired)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages