Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[guide] Add a basic ModifyGuide #2537

Merged
merged 7 commits into from
Sep 30, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions visidata/guides/ModifyGuide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Adding, Editing, Deleting Rows

In addition to cutting and pasting (see **Clipboard Guide**), rows can be created from scratch, edited and deleted.

- {help.commands.add-row}
- {help.commands.add-rows}

- {help.commands.delete-row}
- {help.commands.delete-selected}

- {help.commands.sysedit-selected}
- {help.commands.edit_cell}

While editing a cell, press `Ctrl+G` to cycle through the sidebar guides to see the **Input Keystroke Help**.

A sample of available commands:
- [:code]Ctrl+O[/] to edit the cell in a text editor.
- [:code]Tab[/] to finish editing and go to the next cell
- [:code]Shift+Tab[/] to finish editing and go to the previous cell

Modifying a sheet displays a `[M]` in the lower right status.

- {help.options.quitguard}

## Deferred Sheets

Some sheet types support *deferred* saving. Examples include **SQLiteSheet** and **Dir Sheet**. Modifications are colored: green for added rows, red for deleted rows, and yellow for modified cells.

Commit the sheet to reflect changes on the filesystem.

- {help.commands.commit_sheet}
Loading