Updated readme

This commit is contained in:
Leon Mika 2024-10-08 14:11:27 +11:00
parent a1df99860e
commit f271865808
2 changed files with 12 additions and 10 deletions

View file

@ -45,19 +45,21 @@ Editing:
| `e` | Edit cell value | | `e` | Edit cell value |
| `r` | Replace cell value | | `r` | Replace cell value |
| `a` | Insert row below cursor and edit value | | `a` | Insert row below cursor and edit value |
| `O` | Insert column to the right of cursor |
| `D` | Delete current row | | `D` | Delete current row |
Others: Others:
| Key | Action | | Key | Action |
|:-----------|:--------------------| |:----|:--------------------------------------------|
| `{` | Reduce cell width | | `{` | Reduce cell width |
| `}` | Increase cell width | | `}` | Increase cell width |
| `/` | Search for cell matching regular expression | | `/` | Search for cell matching regular expression |
| `n` | Find next cell matching search | | `n` | Find next cell matching search |
| `y` | Copy cell value | | `N` | Find previous cell matching search |
| `p` | Paste cell value | | `y` | Copy cell value |
| `:` | Enter command | | `p` | Paste cell value |
| `:` | Enter command |
## Commands ## Commands

View file

@ -175,7 +175,7 @@ func (cm *CommandMapping) RegisterViewCommands() {
for { for {
cellX-- cellX--
if cellY < 0 { if cellX < 0 {
cellX = width - 1 cellX = width - 1
cellY-- cellY--
if cellY < 0 { if cellY < 0 {