aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6a3dafad6e9d6e9001c0c3758164c1eba3539e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# poe

My very own [acme](http://acme.cat-v.org/)-inspired terminal text editor.

Because everything else is Not Invented Here.

![poe](./poe.png)

## Install

You need [Go](https://golang.org/). Then:

`go get -u github.com/prodhe/poe`

Binary distribution may or not be available. As of now, the source should do just fine.

## Usage

Use the mouse. `^Q` exits.

Everything is text and everything is editable. There are two ways to interact with text, `Run` or `Open`.

`Open` (`^O`, right-click or Shift+Click) will assume the selected text is a file or a directory and will open a new window listing its content. If none is found, it does nothing.

`Run` (`^R`, middle-click or Alt+Click) interprets the text as a command, which can be an internal poe command like `New` or `Del`. If none is found, it does nothing.

`^S` saves current buffer to disk. You can change the name by edit the tagline.

`^Z` undo, `^Y` redo.

`^W` deletes word backwards.

`^U` deletes to beginning of line.

### Commands

`New` opens an empty window.

`Newcol` creates a new column with a new window.

`Del` closes current window. If it is the last window, the program will exit.

`Exit` closes all windows and exits the program.

Run command on `date` executes `date` as a shell command and presents its output in the message window named `+poe`. Or `pwd`, or `ls -l`, or `curl google.se`, or... you get the idea.

## Bugs

Endless. As of now, it is in constant development and things may (and will) break unannounced. Do not use for production.