blob: 460b8ac10ccbd01dc950bbb8ad322b742cc0ed51 (
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
|
# 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` or right-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` or middle-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.
`^Z` undo, `^Y` redo.
### 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.
`!date` executes `date` as a shell command and presents its output in the message window named `+poe`.
## Bugs
Endless. As of now, it is in constant development and things may (and will) break unannounced. Do not use for production.
|