Skip to content

Commit

Permalink
New minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Mar 14, 2020
1 parent ba2a184 commit 8a854e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ To unset:
* `ctrl-space` - Build Go or C++ files, word-wrap other files.
* `ctrl-\` - Toggle single-line comments.
* `ctrl-r` - Render the current text as a PDF document.
* `ctrl-~` - Save and quit.

If `EDITOR` is `o` and interactive rebase is launched with `git rebase -i`, either `ctrl-r` or `ctrl-w` will cycle the keywords for the current line (`fixup`, `drop`, `edit` etc).

Expand Down Expand Up @@ -165,6 +166,6 @@ Pressing `ctrl-space` will render Markdown files to PDF using `pandoc` (as oppos

## General info

* Version: 2.20.0
* Version: 2.21.0
* License: 3-clause BSD
* Author: Alexander F. Rødseth <xyproto@archlinux.org>
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/xyproto/vt100"
)

const version = "o 2.20.0"
const version = "o 2.21.0"

var rebaseKeywords = []string{"p", "pick", "r", "reword", "d", "drop", "e", "edit", "s", "squash", "f", "fixup", "x", "exec", "b", "break", "l", "label", "t", "reset", "m", "merge"}

Expand Down Expand Up @@ -100,6 +100,7 @@ esc to redraw the screen and clear the last search
ctrl-space to build Go, C++, word wrap
ctrl-r to render the current text to a PDF document
ctrl-\ to toggle single-line comments
ctrl-~ to save and quit
Set NO_COLOR=1 to 1 to disable colors.
Expand Down
7 changes: 5 additions & 2 deletions o.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" -*-Nroff-*-
.\"
.TH "o" 1 "11 Mar 2020" "" ""
.TH "o" 1 "14 Mar 2020" "" ""
.SH NAME
o \- an editor
.SH SYNOPSIS
Expand Down Expand Up @@ -93,6 +93,9 @@ displays brief usage information
.B ctrl-\\\\
Toggle single-line comments.
.sp
.B ctrl-~
Save and quit.
.sp
.B ctrl-r
Render the current text as a PDF document.
.sp
Expand All @@ -109,7 +112,7 @@ I wanted to write a simple editor that only used VT100 terminal codes.
.SH BUGS
Lines longer than the terminal width are not handled gracefully.
.SH VERSION
2.20.0
2.21.0
.SH AUTHOR
.B o
was written by Alexander F. Rødseth <xyproto@archlinux.org>

0 comments on commit 8a854e3

Please sign in to comment.