Code Monkey home page Code Monkey logo

live-coding-emacs's Introduction

Fuzzy Improcess Logo

Live Coding Emacs setup for Overtone

An opinionated set of defaults for getting started with Emacs for use as a live coding tool for Overtone. These have been extracted from Sam Aaron's personal dot-emacs which is even more opinionated and probably not entirely fit for general consumption. This version pulls out the most useful elements in a format that's simple to install and get you live coding quickly.

Prerequisites

This dot-emacs config has only been tested with a terminal hosted Emacs 23.2.1. Issues and pull-requests for this and later versions will be happily accepted.

Getting started

  1. Download the source and move and rename the live-coding-emacs folder to ~/.emacs.d
  2. Launch Emacs
  3. Live code your hat off!

What's inside?

This config includes an exciting cornucopia of Emacs goodies set up and ready to go. The highlights are:

  • Clojure Mode (with fancy (λ [a] (+ a 5)) and ƒ(+ % 5) prettifications)
  • Slime (for communicating with swank servers)
  • Auto completion (configured to work with slime for inline auto completion of documentation)
  • Tailor-made colour theme
  • Rainbow parens and delimiters (to allow you to easily navigate a sea of parens)
  • The amazing undo-tree (live-code with confidence!)
  • Textmate-like snippets
  • Fancy highlighting of sexps on eval
  • REPL syntax highlighting

Personalising the Config

Obviously, if you're an Emacs-whizz, you can take this config as a starting point and take it in your own direction, configuring as much as you wish. Fork away my friend!

However, if you're still learning, you might want to try and keep your copy of these configs pretty close to the original so that you may benefit from future updates. This is easily achieved with a couple of easy rules:

  • Don't remove any of the libs
  • Don't modify the files in live-config

If you do either of these, you're on your own :-)

However, this won't preclude you from making your own modifications in a non-conflicting manner. You may add new libs and you can add your own config files. Place your libs in the lib dir, and your configs in the config dir. The config is there for you to add your own personalisations, and it already contains a blank bindings file to place your own bindings. The files in the config dir will be loaded after the files in live-config, so you may override things to your own content. Start modifying and have at it!

Screenshots

Screenshot 1

Screenshot 2

Video

Here's a video showing the config in use: Quick Intro to Live Programming with Overtone

Feedback

I'm very happy to hear any feedback regarding this config. The idea is for you to use it to get started and give you a platform to start editing it and turning it into something personal.

live-coding-emacs's People

Contributors

samaaron avatar

Stargazers

Nick Drew avatar

Watchers

Nick Drew avatar James Cloos 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.