Skip to content

Commit

Permalink
[docs] minor points
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Aug 20, 2018
1 parent 006e306 commit 07d8e72
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 22 deletions.
8 changes: 4 additions & 4 deletions visidata/man/vd.1
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ view sheet of commands and keybindings
abort program immediately
.It Ic " ^C"
cancel user input or abort all async threads on current sheet
.It Ic "z^C gz^C"
abort async threads for current/selected row(s)
.It Ic " q"
quit current sheet
.It Ic "gq"
Expand Down Expand Up @@ -526,6 +524,8 @@ add row to reference a new blank sheet
.No open Sy Describe Sheet No with all columns from selected sheets
.It Ic "g^R"
.No reload all selected sheets
.It Ic "z^C gz^C"
abort async threads for current/selected sheets(s)
.It Ic " &" Ar jointype
.No merge selected sheets with visible columns from all, keeping rows according to Ar jointype Ns :
.El
Expand All @@ -539,9 +539,9 @@ add row to reference a new blank sheet
.It Sy "\&."
.Sy diff No " keep only rows NOT in all sheets"
.It Sy "\&."
.Sy extend No "keep all rows and retain SheetType from first selected sheet"
.It Sy "\&."
.Sy append No "keep all rows from all sheets (concatenation)"
.It Sy "\&."
.Sy extend No "copy first selected sheet, keeping all rows and sheet type, and extend with columns from other sheets"
.El
.
.Ss Options Sheet (Shift+O)
Expand Down
8 changes: 4 additions & 4 deletions visidata/man/vd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ view sheet of commands and keybindings
abort program immediately
.It Ic " ^C"
cancel user input or abort all async threads on current sheet
.It Ic "z^C gz^C"
abort async threads for current/selected row(s)
.It Ic " q"
quit current sheet
.It Ic "gq"
Expand Down Expand Up @@ -526,6 +524,8 @@ add row to reference a new blank sheet
.No open Sy Describe Sheet No with all columns from selected sheets
.It Ic "g^R"
.No reload all selected sheets
.It Ic "z^C gz^C"
abort async threads for current/selected sheets(s)
.It Ic " &" Ar jointype
.No merge selected sheets with visible columns from all, keeping rows according to Ar jointype Ns :
.El
Expand All @@ -539,9 +539,9 @@ add row to reference a new blank sheet
.It Sy "\&."
.Sy diff No " keep only rows NOT in all sheets"
.It Sy "\&."
.Sy extend No "keep all rows and retain SheetType from first selected sheet"
.It Sy "\&."
.Sy append No "keep all rows from all sheets (concatenation)"
.It Sy "\&."
.Sy extend No "copy first selected sheet, keeping all rows and sheet type, and extend with columns from other sheets"
.El
.
.Ss Options Sheet (Shift+O)
Expand Down
2 changes: 1 addition & 1 deletion www/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* How to sort rows
* [Columns](/docs/columns)
* How to manipulate columns
* How to hide (remove) and unhide (return) columns
* How to hide (remove) and unhide columns
* How to specify column types
* How to split a column
* How to create derivative columns
Expand Down
7 changes: 4 additions & 3 deletions www/docs/columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

Commands(s) Operation
------------ -----------
`!` pins the **current** column on the left as a key column
`H` `L` slides the **current** column one position to the left/right
`gH` `gL` slides the **current** column all the way to the left/right of the sheet
`!` pins the current column on the left as a key column
`H` `L` slides the current column **one position** to the left/right
`gH` `gL` slides the current column **all the way** to the left/right of the sheet

---

Expand Down Expand Up @@ -47,6 +47,7 @@ Command Type
` $` currency
` @` date
`z#` len
`z~` anytype

Columns usually begin as untyped. Odd results while working with numerical or datetime data is usually due to values being considered as strings, and the problem is solved by setting the correct type.

Expand Down
8 changes: 4 additions & 4 deletions www/docs/edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ For a summary of all editing commands, see the [man page](/man#edit).

Command Operation
-------- ----------
`e` edits contents of **current** cell
`ge` *text* sets contents of **current** column for **selected** rows to *text*
`e` edit contents of **current cell**
`ge` *text* set contents of **current column for selected rows** to *text*

While in editing mode, or anytime VisiData expects input (with e.g. `=`, `;`), these are some commands which become available:
While in editing mode, or anytime VisiData expects input (with e.g. `=`, `;`), typical readline commands become available:

Command Operation
-------- ----------
`Enter` accepts input
`^C` Esc aborts input
`^C` `Esc` aborts input
`^O` opens external $EDITOR to edit contents
`^R` reloads initial value
`^A` `^E` moves to beginning/end of line
Expand Down
12 changes: 6 additions & 6 deletions www/docs/navigate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
Command(s) Operation
-------------- ---------------
`` `` `` `` move as expected
` h` ` j` ` k` ` l` move cursor left/down/up/right (like in vim)
` h` ` j` ` k` ` l` move cursor **one cell** left/down/up/right (like in vim)
`gh` `gj` `gk` `gl` move **all the way** to the left/bottom/top/right of sheet
` <` ` >` move up/down the **current** column to the next value which differs from **current** cell
` {` ` }` move up/down the **current** column to the next [selected](/docs/rows#subset) row.
` <` ` >` move up/down the current column to the next **value which differs from current cell**
` {` ` }` move up/down the current column to the next **[selected](/docs/rows#subset) row**


---
Expand All @@ -23,7 +23,7 @@ Command(s) Operation
` /` ` ?` *regex* search for *regex* matches up/down the **current** column
`g/` `g?` *regex* search for *regex* matches up/down over **all visible** columns
` n` ` N` move to next/previous *regex* match from last search
`z/` `z?` *expr* search by Python *expr* up/down in **current** column (with column names as variables)
`z/` `z?` *expr* search by Python *expr* up/down (with column names as variables)

The following example uses [sample.tsv](https://raw.githubusercontent.com/saulpw/visidata/stable/sample_data/sample.tsv).

Expand All @@ -35,7 +35,7 @@ The following example uses [sample.tsv](https://raw.githubusercontent.com/saulpw
**Question** What is the **longname** for `gk`?

1. Press `z^H` to open the **Commands sheet**.
2. Type `z/` followed by `'gk' in keystrokes`.
2. Type `/` followed by `'gk' in keystrokes`.
3. Press `c` followed by `longname` to move the cursor to the **longname** column.

---
Expand All @@ -55,6 +55,6 @@ Command(s) Operation
`Ctrl+^` jump to the previous sheet, without closing the current one
`q` quit the current sheet (closes it)

**Note**: When sheets are 'closed', they will cease to be referenced by the **Sheets sheet**. Press `gS` to access them again through the **Sheets graveyard**.
**Note**: When sheets are 'closed', they are no longer referenced by the **Sheets sheet**. Press `gS` to find them again through the **Sheets graveyard**.

---

0 comments on commit 07d8e72

Please sign in to comment.