чување 3ea1520f4ad9b6dbb8c0f5da186069079f20694e
родитељ 80b0c5529c0f11b3b5c69bf65e2163fde05bfb60
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 9 May 2024 19:07:14 +0200
sled.1.in: Convert tables to .Bd -column
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
| M | sled.1.in | | | 138 | ++++++++++++++++++++++++++++++++++++++----------------------------------------- |
измењених датотека: 1, додавања: 66(+), брисања: 72(-)
diff --git a/sled.1.in b/sled.1.in
@@ -59,43 +59,40 @@ that alter text instead delete the selection and exit selection mode.
.
.Ss Global key bindings
These are active in all modes, and are as follows:
-.TS
-box tab(@);
-l l.
-\fBKey\fR@\fBAction\fR
-_
-\f[CR]Esc\fR@Close dialog, clear error, cancel selection
-\f[CR]F1\fR@Show help dialog
-\f[CR]F3\fR@Go to next found match
-\f[CR]S-F3\fR@Go to previous found match
-\f[CR]F4\fR@Show search, then replace dialog
-\f[CR]F7\fR@Show only search dialog
-\f[CR]Home\fR or \f[CR]C-A\fR@Go to start of line
-\f[CR]PgUp\fR or \f[CR]C-B\fR@Go to previous page
-\f[CR]Backspace\fR@Erase character before cursor
-\f[CR]C-\\\fR@Toggle command mode
-\f[CR]C-C\fR@Yank to paste buffer
-\f[CR]Delete\fR or \f[CR]C-D\fR@Erase character under cursor
-\f[CR]End\fR or \f[CR]C-E\fR@Go to end of line
-\f[CR]Insert\fR@Toggle overwrite
-\f[CR]PgDown\fR or \f[CR]C-F\fR@Go to next page
-\f[CR]C-K\fR@Erase to end of line
-\f[CR]C-L\fR@Show Go to line dialog
-\f[CR]C-N\fR@Go to next found match
-\f[CR]C-O\fR@Reread (reopen) file
-\f[CR]C-P\fR@Go to previous found match
-\f[CR]C-Q\fR@Quit
-\f[CR]C-R\fR@Go to previous word
-\f[CR]C-S\fR@Write (save) file
-\f[CR]C-Space\fR@Toggle selection mode
-\f[CR]C-T\fR@Go to next word
-\f[CR]C-U\fR@Erase to start of line
-\f[CR]C-V\fR@Paste from paste buffer
-\f[CR]C-X\fR@Cut to paste buffer
-\f[CR]C-Y\fR@Erase the entire current line
-\f[CR]C-Z\fR@Suspend
-\f[CR]C-W\fR@Erase previous word
-.TE
+.Bl -column -offset Ds "Delete or C-D"
+.It Sy Key Ta Sy Action
+.It \f[CR]Esc\fR Ta Close dialog, clear error, cancel selection
+.It \f[CR]F1\fR Ta Show help dialog
+.It \f[CR]F3\fR Ta Go to next found match
+.It \f[CR]S-F3\fR Ta Go to previous found match
+.It \f[CR]F4\fR Ta Show search, then replace dialog
+.It \f[CR]F7\fR Ta Show only search dialog
+.It \f[CR]Home\fR or \f[CR]C-A\fR Ta Go to start of line
+.It \f[CR]PgUp\fR or \f[CR]C-B\fR Ta Go to previous page
+.It \f[CR]Backspace\fR Ta Erase character before cursor
+.It \f[CR]C-\e\fR Ta Toggle command mode
+.It \f[CR]C-C\fR Ta Yank to paste buffer
+.It \f[CR]Delete\fR or \f[CR]C-D\fR Ta Erase character under cursor
+.It \f[CR]End\fR or \f[CR]C-E\fR Ta Go to end of line
+.It \f[CR]Insert\fR Ta Toggle overwrite
+.It \f[CR]PgDown\fR or \f[CR]C-F\fR Ta Go to next page
+.It \f[CR]C-K\fR Ta Erase to end of line
+.It \f[CR]C-L\fR Ta Show Go to line dialog
+.It \f[CR]C-N\fR Ta Go to next found match
+.It \f[CR]C-O\fR Ta Reread (reopen) file
+.It \f[CR]C-P\fR Ta Go to previous found match
+.It \f[CR]C-Q\fR Ta Quit
+.It \f[CR]C-R\fR Ta Go to previous word
+.It \f[CR]C-S\fR Ta Write (save) file
+.It \f[CR]C-Space\fR Ta Toggle selection mode
+.It \f[CR]C-T\fR Ta Go to next word
+.It \f[CR]C-U\fR Ta Erase to start of line
+.It \f[CR]C-V\fR Ta Paste from paste buffer
+.It \f[CR]C-X\fR Ta Cut to paste buffer
+.It \f[CR]C-Y\fR Ta Erase the entire current line
+.It \f[CR]C-Z\fR Ta Suspend
+.It \f[CR]C-W\fR Ta Erase previous word
+.El
.
.Ss Insert and overwrite mode key bindings
In
@@ -113,41 +110,38 @@ In
the following
.Nm vi Ns \-like
keys are in effect:
-.TS
-box tab(@);
-l l.
-\fBKey\fR@\fBAction\fR
-_
-\f[CR]/\fR@Show only search dialog
-\f[CR]\\\fR@Show search, then replace dialog
-\f[CR]:\fR@Show Go to line dialog
-\f[CR]0\fR@Go to start of line
-\f[CR]$\fR@Go to end of line
-\f[CR]d\fR@Erase the entire current line
-\f[CR]G\fR@Go to last line in the file
-\f[CR]g\fR@Go to first line in the file
-\f[CR]H\fR@Go to first line on the screen
-\f[CR]h\fR@Go to previous character
-\f[CR]J\fR@Join lines in selection/line and next line
-\f[CR]j\fR@Go to next line
-\f[CR]k\fR@Go to previous line
-\f[CR]L\fR@Go to last line on the screen
-\f[CR]l\fR@Go to next character
-\f[CR]M\fR@Go to middle line on the screen
-\f[CR]N\fR@Go to previous found match
-\f[CR]n\fR@Go to next found match
-\f[CR]P\fR@Paste from paste buffer
-\f[CR]q\fR@Quit
-\f[CR]R\fR@Toggle overwrite mode
-\f[CR]r\fR@Reread (reopen) file
-\f[CR]v\fR@Toggle selection mode
-\f[CR]W\fR@Go to previous word
-\f[CR]w\fR@Go to next word
-\f[CR]X\fR@Cut to paste buffer
-\f[CR]x\fR@Erase character under cursor
-\f[CR]y\fR@Yank to paste buffer
-\f[CR]Z\fR@Write (save) file
-.TE
+.Bl -column -offset Ds "W"
+.It Sy Key Ta Sy Action
+.It \f[CR]/\fR Ta Show only search dialog
+.It \f[CR]\e\fR Ta Show search, then replace dialog
+.It \f[CR]:\fR Ta Show Go to line dialog
+.It \f[CR]0\fR Ta Go to start of line
+.It \f[CR]$\fR Ta Go to end of line
+.It \f[CR]d\fR Ta Erase the entire current line
+.It \f[CR]G\fR Ta Go to last line in the file
+.It \f[CR]g\fR Ta Go to first line in the file
+.It \f[CR]H\fR Ta Go to first line on the screen
+.It \f[CR]h\fR Ta Go to previous character
+.It \f[CR]J\fR Ta Join lines in selection/line and next line
+.It \f[CR]j\fR Ta Go to next line
+.It \f[CR]k\fR Ta Go to previous line
+.It \f[CR]L\fR Ta Go to last line on the screen
+.It \f[CR]l\fR Ta Go to next character
+.It \f[CR]M\fR Ta Go to middle line on the screen
+.It \f[CR]N\fR Ta Go to previous found match
+.It \f[CR]n\fR Ta Go to next found match
+.It \f[CR]P\fR Ta Paste from paste buffer
+.It \f[CR]q\fR Ta Quit
+.It \f[CR]R\fR Ta Toggle overwrite mode
+.It \f[CR]r\fR Ta Reread (reopen) file
+.It \f[CR]v\fR Ta Toggle selection mode
+.It \f[CR]W\fR Ta Go to previous word
+.It \f[CR]w\fR Ta Go to next word
+.It \f[CR]X\fR Ta Cut to paste buffer
+.It \f[CR]x\fR Ta Erase character under cursor
+.It \f[CR]y\fR Ta Yank to paste buffer
+.It \f[CR]Z\fR Ta Write (save) file
+.El
.
.Ss Selection mode key bindings
If