Upgrade to Pro — share decks privately, control downloads, hide ads and more …

tmuxinator

 tmuxinator

Joseph Chiang

July 08, 2015
Tweet

More Decks by Joseph Chiang

Other Decks in Technology

Transcript

  1. TMUXINATOR
    Instant Development Environment
    @josephj6802

    View full-size slide

  2. How long does it take you to start
    Stackla development environment?
    Question 1
    Content
    Ingestion
    gnip
    sqsdb
    vagrant up
    git fetch
    Shifter
    PHP Storm
    phinx migrate

    View full-size slide

  3. How long does it take you to start
    other projects you did 

    last year / last month / last week?
    Question 2
    • Folder?
    • Server port and host?
    • Required services?
    • Dev Tools you used before?

    View full-size slide

  4. Much better than screen
    Restoring your working session and state
    Pane Pane
    Windows * 8

    View full-size slide

  5. Could have very complex panes
    Not really useful for me :p

    View full-size slide

  6. tmuxinator
    Manage complex tmux sessions easily

    View full-size slide

  7. Project Setting
    ~/.tmuxinator/stackla-web.yml
    tmuxinator creates different layouts for different projects
    ~/.tmuxinator/stackla-developer.yml

    View full-size slide

  8. Project Setting
    ~/.tmuxinator/stackla-web.yml
    tmuxinator creates different layouts for different projects
    ~/.tmuxinator/stackla-developer.yml
    Demo
    • $ tmuxinator stackla-web

    • $ tmuxinator stackla-developer

    • $ tmuxinator

    • $ tmuxinator

    • : Switch between projects

    View full-size slide

  9. $ wget -O - https://
    raw.githubusercontent.com/josephj/
    tmuxinator-installer/master/install.sh |
    sh
    Lazy Installation for OSX
    Remember to update the root property of 

    ~/.tmuxinator/stackla-web

    View full-size slide

  10. Basic Usage
    $ mux stackla-web
    Ctrl + a, n
    Ctrl + a, p
    Ctrl + a, d
    Ctrl + a,
    $ tmux a
    Initialise stackla-web project
    Switch to next window
    Switch to previous window
    Jump by window number
    Detach tmux
    Attach tmux

    View full-size slide

  11. Thank You!
    Tools Developer
    Good developer should always tweak his/her tools
    for better productivity

    View full-size slide