Git Product home page Git Product logo

konfig's Introduction

konfig

This is Kyle's config setup... konfig :D

bash_profile

Add parts of this that you want to your .bash_profile

# UPDATE THESE
export KONFIG_ROOT=path/to/konfig
export KONFIG_PROMPT_PREFIX="TAG"         # short tag that is prefixed to
                                          # the prompt to identifiy which
                                          # server you are currently on

source "$KONFIG_ROOT/bash/prompt"         # minimalistic prompt
source "$KONFIG_ROOT/bash/aliases"        # aliases for general productivity
alias touch="$KONFIG_ROOT/bash/mytouch"   # better touch command

# UPDATE THESE
export DEVSERVER=kad.sb.facebook.com
export DEVSERVER_FBSOURCE="/data/users/kad/fbsource"
export LOCAL_FBSOURCE="~/fbsource"

source "$KONFIG_ROOT/bash/nuclide"        # aliases specific to nuclide

Usage

  1. con (short for connect) will attempt to connect using mosh -6 dev
  2. con2 for dev2, con3 for dev3
  3. tt attach to an existing tmux session or create a new one

tmux

Link to the tmux conf in this repository.

ln -s path/to/konfig/tmux.conf ~/.tmux.conf

TODO: Would be nice if I could just import my tmux settings somehow, similar to the sources above. Maybe one day I will look into this a bit more.

Usage

  1. ctrl+a allows you to run "tmux" commands
  2. ctrl+a, % to split horizontally
  3. ctrl+a, " to split vertically
  4. ctrl+a, x, y/n to close something
  5. ctrl+a, <number> to go to a window by number
  6. ctrl+a, c create a new window
  7. Can use the mouse to scroll
  8. For iTerm2: iTerm -> preferences -> profiles -> terminal -> enable "Enable xterm mouse reporting"
  9. Hold option to highlight and copy text in the terminal

konfig's People

Contributors

kyldvs avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.