Code Monkey home page Code Monkey logo

plan9-setup's Introduction

Plan 9 from User space configuration

This repository contains some configuration I did for Plan9 from user space. A quick list of what is in here is:

  • The gg command, which is a shorthand git grep -n helper for use with acme
  • The a+ and a- commands which does indentation.
  • The nocr command which kills CR
  • The q command which quotes a selection
  • The acme-start.rc helper for spawning acme
  • The erlfmt command which nicely formats Erlang terms (Produces UTF-8 output)

Furthermore plumbing rules for:

  • Ocaml - I did some ocaml work so it is nice to be able to jump to error messages when they occur in your codes.

Other setup things

I make use of some Go packages:

go get github.com/eaburns/E2
go get github.com/eaburns/Watch
go get 9fans.net/go/acme/acmego

# This one is bound to move soon
go get code.google.com/p/rsc/cmd/jfmt

These are quite important for the correct operation. E2 is a better version of the E command. Watch can watch a subdirectory for file changes. The jfmt command can reformat JSON data. And acmego uses the (new) 'log' feature of acme to make sure things are formatted nicely when working with go code.

I add the following to my .profile:

# Plumb files instead of starting new editor.
EDITOR=E
unset FCEDIT VISUAL

This sets up the editor to be the E command. It checks every second if the file has a change according to ls -l and lets you use acme as the editor when editing stuff. I use that a lot with git(1) so commits can be kept inside acme.

# Get rid of backspace characters in Unix man output.
PAGER=nobs

I kill less as a default pager. This allows me to just scroll in the acme window rather than ending up with a mess. nobs removes certain control characters so the formatting is better.

plan9-setup's People

Contributors

jlouis avatar mlb- avatar raphael-proust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.