place cursor in newly opened files at the end, fixes LP:#188908
[pyroom.git] / README
blobd94dd2aa0413eca422a459fa0492b177ea7c12a5
1 ====== PyRoom Project ======
3 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.
5 ===== Dependencies =====
7 PyRoom depends on Python, PyGTK and gtksourceview. Please refer to your system documentation for information on how to install these modules if they're not currently available.
9 ===== Installing and Running =====
11 PyRoom is available as a seutptools enabled package. Installation procedures for those are easy:
13 Either unpack the tarball 
14     
15     $ tar xvfz pyroom.tar.gz
17 or check out our bazaar branch for a development version (we try to keep those 
18 unbroken and ready for production use)
19     
20     $ bzr branch lp:pyroom
22 From there, you can either run pyroom from commandline
24     $ cd pyroom/
25     $ ./pyroom
27 Or install it system wide
29     $ cd pyroom
30     $ python setup.py install # as root
31     $ pyroom
33 ==== Usage ====
35 === Running PyRoom ===
37 To run pyroom and instruct it to load some existing files, type:
39   $ pyroom /path/to/file1 /other/path/to/file2
41 ===Graphical Styles===
43 The default style is "green", which is a green text color in a black background. You can change the chosen style by typing:
45   $ pyroom [--style={style name}]
47 For instance:
49   $ pyroom --style=blue
51 At the time of writing, the available styles are:
52   * blue
53   * green
54   * darkgreen
56 === Example Usage ===
58 For example, to load PyRoom and instruct it to use the "darkgreen" style and to load the files "article.txt" and "blogpost.txt", type the following:
60   $ pyroom --style=darkgreen article.txt blog.txt
62 ==== Key Bindings ====
64 There are a few keys allowing you to perform a few useful commands:
66   * Control-H: Show help in a new buffer
67   * Control-I: Show buffer information
68   * Control-L: Toggle line number
69   * Control-N: Create a new buffer
70   * Control-O: Open a file in a new buffer
71   * Control-Q: Quit
72   * Control-S: Save current buffer
73   * Control-Shift-S: Save current buffer as
74   * Control-W: Close buffer and exit if it was the last buffer
75   * Control-Y: Redo last typing
76   * Control-Z: Undo last typing
77   * Control-Page Up: Switch to previous buffer
78   * Control-Page Down: Switch to next buffer
79   * Control-Plus: Increases font size
80   * Control-Minus: Decreases font size
82 ===== Want to know more? =====
84   * Pyroom Website: http://pyroom.org
85   * Pyroom project page on Launchpad: https://launchpad.net/pyroom
86   * Pyroom Wiki: http://wiki.pyroom.org/doku.php