Coder Social home page Coder Social logo

pyroom's Introduction

PyRoom Fork

PyRoom is a fullscreen editor written in python that I forked as a way to learn python for an upcoming position.

To get started, I wanted to add a few features like autosaving, having multiple buffers, maybe a vim emulation mode, etc. Besides learning python, I was intentionally overengineering and applying a strict red/green/refactor methodology to this project, having just (re)read Fowler's Refactoring, Michael Feather's Working Effectively with Legacy Code and Kent Beck's XP. So clearly, the first were to decouple the GUI and Editor components of PyRoom.

Cheers! jsk

Original PyRoom Readme

====== PyRoom Project ======

PyRoom is a fullscreen simple text editor, without a toolbar, a menubar or anything that would distract the user from his most important task: writing.

===== Dependencies =====

PyRoom depends on Python, PyGTK and XDG bindings for Python (python-xdg. Please refer to your system documentation for information on how to install these modules if they're not currently available.

====== Optional dependencies ======

In order to use GNOME default fonts in PyRoom, gconf bindings (python-gconf) are recommended.

If you're installing manually from our tarball and want to use PyRoom in your own language, you'll need to install gettext.

===== Installing and Running =====

PyRoom is available as a distutils enabled package. Installation procedures for those are easy:

Either unpack the tarball

$ tar xvfz pyroom*.tar.gz

or check out our bazaar branch for a development version (we try to keep those unbroken and ready for production use)

$ bzr branch lp:pyroom

From there, you can either run pyroom from commandline

$ cd pyroom/
$ ./pyroom

Or install it system wide

$ cd pyroom
$ python setup.py install # as root
$ pyroom

==== Usage ====

=== Running PyRoom ===

To run pyroom and instruct it to load some existing files, type:

$ pyroom /path/to/file1 /other/path/to/file2

=== Example Usage ===

For example, to load PyRoom and instruct it to load the files "article.txt" and "blogpost.txt", type the following:

$ pyroom article.txt blog.txt

==== Key Bindings ====

There are a few keys allowing you to perform a few useful commands:

  • Control-H: Show help in a new buffer
  • Control-I: Show buffer information
  • Control-N: Create a new buffer
  • Control-O: Open a file in a new buffer
  • Control-Q: Quit
  • Control-S: Save current buffer
  • Control-Shift-S: Save current buffer as
  • Control-W: Close buffer and exit if it was the last buffer
  • Control-Y: Redo last typing
  • Control-Z: Undo last typing
  • Control-Page Up: Switch to previous buffer
  • Control-Page Down: Switch to next buffer

===== Want to know more? =====

pyroom's People

Contributors

jskulski avatar

Stargazers

Adam Ryan avatar

Watchers

James Cloos avatar Michael Bryne avatar

Forkers

acloserview

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.