Skip to content

Commit

Permalink
main cursor to primary cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
ksdrar authored and postsolar committed Apr 4, 2024
1 parent 59d73d6 commit cf8d0a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ Helix provides several variables that can be used when typing commands or creati
| `%{filename}` | The absolute path of the currently focused file. |
| `%{dirname}` | The absolute path of the parent directory of the currently focused file. |
| `%{cwd}` | The absolute path of the current working directory of Helix. |
| `%{linenumber}` | The line number where the main cursor is positioned. |
| `%{selection}` | The text selected by the main cursor. |
| `%{linenumber}` | The line number where the primary cursor is positioned. |
| `%{selection}` | The text selected by the primary cursor. |
| `%sh{cmd}` | Executes `cmd` with the default shell and returns the command output, if any. |

### Example
Expand Down

0 comments on commit cf8d0a8

Please sign in to comment.