From 529d55dd54a1097af5a47e96738d4bff4403709d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 20 Jun 2016 11:15:09 -0700 Subject: [PATCH] ui: doc: document E key --- hledger-ui/doc/hledger-ui.1 | 7 +++++++ hledger-ui/doc/hledger-ui.1.info | 26 ++++++++++++++++---------- hledger-ui/doc/hledger-ui.1.m4.md | 4 ++++ hledger-ui/doc/hledger-ui.1.txt | 6 ++++++ 4 files changed, 33 insertions(+), 10 deletions(-) diff --git a/hledger-ui/doc/hledger-ui.1 b/hledger-ui/doc/hledger-ui.1 index 37c0568dc..0dd705ce3 100644 --- a/hledger-ui/doc/hledger-ui.1 +++ b/hledger-ui/doc/hledger-ui.1 @@ -248,6 +248,13 @@ and any previous screens. updated file. This allows some basic data entry. .PP +\f[C]E\f[] runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default (emacs) on +the journal file. +When invoked from the register and transaction screens, the cursor will +be positioned at the current transaction. +When invoked from the error screen, the cursor will be at the error +location (if possible). +.PP \f[C]q\f[] quits the application. .PP Additional screen\-specific keys are described below. diff --git a/hledger-ui/doc/hledger-ui.1.info b/hledger-ui/doc/hledger-ui.1.info index 7b6832c72..7f2a2e323 100644 --- a/hledger-ui/doc/hledger-ui.1.info +++ b/hledger-ui/doc/hledger-ui.1.info @@ -179,6 +179,12 @@ pause.) `a' runs command-line hledger's add command, and reloads the updated file. This allows some basic data entry. + `E' runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default (emacs) on the +journal file. When invoked from the register and transaction screens, +the cursor will be positioned at the current transaction. When invoked +from the error screen, the cursor will be at the error location (if +possible). + `q' quits the application. Additional screen-specific keys are described below. @@ -328,15 +334,15 @@ Node: OPTIONS825 Ref: #options924 Node: KEYS3800 Ref: #keys3897 -Node: SCREENS5098 -Ref: #screens5185 -Node: Accounts screen5275 -Ref: #accounts-screen5405 -Node: Register screen6710 -Ref: #register-screen6867 -Node: Transaction screen8688 -Ref: #transaction-screen8848 -Node: Error screen9715 -Ref: #error-screen9839 +Node: SCREENS5391 +Ref: #screens5478 +Node: Accounts screen5568 +Ref: #accounts-screen5698 +Node: Register screen7003 +Ref: #register-screen7160 +Node: Transaction screen8981 +Ref: #transaction-screen9141 +Node: Error screen10008 +Ref: #error-screen10132  End Tag Table diff --git a/hledger-ui/doc/hledger-ui.1.m4.md b/hledger-ui/doc/hledger-ui.1.m4.md index 9c7d67e18..fb0949bad 100644 --- a/hledger-ui/doc/hledger-ui.1.m4.md +++ b/hledger-ui/doc/hledger-ui.1.m4.md @@ -101,6 +101,10 @@ previous screens. (With large files, there can be a noticeable pause.) `a` runs command-line hledger's add command, and reloads the updated file. This allows some basic data entry. +`E` runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default (emacs) on the journal file. +When invoked from the register and transaction screens, the cursor will be positioned at the current transaction. +When invoked from the error screen, the cursor will be at the error location (if possible). + `q` quits the application. Additional screen-specific keys are described below. diff --git a/hledger-ui/doc/hledger-ui.1.txt b/hledger-ui/doc/hledger-ui.1.txt index 67f1e673b..62cb3e675 100644 --- a/hledger-ui/doc/hledger-ui.1.txt +++ b/hledger-ui/doc/hledger-ui.1.txt @@ -167,6 +167,12 @@ KEYS a runs command-line hledger's add command, and reloads the updated file. This allows some basic data entry. + E runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default (emacs) on the + journal file. When invoked from the register and transaction screens, + the cursor will be positioned at the current transaction. When invoked + from the error screen, the cursor will be at the error location (if + possible). + q quits the application. Additional screen-specific keys are described below.