summaryrefslogtreecommitdiff
path: root/gramscii.1
diff options
context:
space:
mode:
Diffstat (limited to 'gramscii.1')
-rw-r--r--gramscii.164
1 files changed, 35 insertions, 29 deletions
diff --git a/gramscii.1 b/gramscii.1
index 96dfb47..22e8074 100644
--- a/gramscii.1
+++ b/gramscii.1
@@ -69,20 +69,52 @@ General commands available in
.B move
mode:
.TP 5m
-.BI R
-Redraw the screen
-.TP 5m
.BI C
Crop chart to the largest non-blank region. The first line and the first
column of the cropped chart will contain the first non-blank line and
the first non-blank column of the original chart, respectively.
.TP 5m
+.BI e
+Load (edit) an existing file from disk. gramscii asks the user if they
+want to save the current screen (only if the screen has been modified
+since the
+last
+.BI w
+command).
+.TP 5m
+.BI E
+Load (edit) an existing file from disk, discarding any change to the
+current screen.
+.TP 5m
+.BI N
+Start a new empty screen. If the current screen has been modified since
+the last
+.BI w
+command, gramscii will ask the user if they want to save the current
+screen before creating a new one.
+.TP 5m
.BI p
Paste the content of the yank buffer at the cursor position. The yank
buffer contains the rectangle yanked/cut in
.B visual
mode.
.TP 5m
+.BI q
+Quit gramscii, and prompt for a filename if the current screen contains
+unsaved changes.
+.TP 5m
+.BI Q
+Quit gramscii and discard any change to the current screen.
+.TP 5m
+.BI r
+Read a file at the current cursor position. gramscii will prompt for the
+name of the file to read. If the first non-blank character of the name
+given is a '!', gramscii will run the command specified after '!' in a
+shell, and will import its standard output.
+.TP 5m
+.BI R
+Redraw the screen
+.TP 5m
.BI u
Undo the last change. gramscii supports an undo history of indefinite
length. The command
@@ -103,13 +135,6 @@ moves to the following change, if possible. For instance, the sequence
will go back two changes, and then forward one, effectively resetting
the state of the screen to what it was before the last change occurred.
.TP 5m
-.BI q
-Quit gramscii, and prompt for a filename if the current screen contains
-unsaved changes.
-.TP 5m
-.BI Q
-Quit gramscii and discard any change to the current screen.
-.TP 5m
.BI w
Write the current screen to a file. If the current screen has already
been associated to a file, use the same filename. Otherwise, the user is
@@ -119,25 +144,6 @@ prompted for a filename to save the screen to.
Write the current screen to a new file. This commands acts like
.B w
but always prompts for a file name to use.
-.TP 5m
-.BI e
-Load (edit) an existing file from disk. gramscii asks the user if they
-want to save the current screen (only if the screen has been modified
-since the
-last
-.BI w
-command).
-.TP 5m
-.BI E
-Load (edit) an existing file from disk, discarding any change to the
-current screen.
-.TP 5m
-.BI N
-Start a new empty screen. If the current screen has been modified since
-the last
-.BI w
-command, gramscii will ask the user if they want to save the current
-screen before creating a new one.
.SS MOVEMENTS
The following movement commands are available in any mode where cursor