Skip to content

Commit

Permalink
commands: change Alt modifier for rotate commands
Browse files Browse the repository at this point in the history
  • Loading branch information
71 committed Jun 14, 2022
1 parent d719077 commit d7fc7e4
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/api/keybindings/built-in.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions src/commands/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/commands/selections.rotate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ declare module "./selections.rotate";
/**
* Rotate selections clockwise.
*
* @keys `(` (normal)
* @keys `a-(` (normal)
*
* The following keybinding is also available:
*
* | Title | Identifier | Keybinding | Command |
* | ----------------------------------- | -------------- | ------------ | ------------------------------------------------ |
* | Rotate selections counter-clockwise | `both.reverse` | `)` (normal) | `[".selections.rotate.both", { reverse: true }]` |
* | Title | Identifier | Keybinding | Command |
* | ----------------------------------- | -------------- | -------------- | ------------------------------------------------ |
* | Rotate selections counter-clockwise | `both.reverse` | `a-)` (normal) | `[".selections.rotate.both", { reverse: true }]` |
*/
export function both(_: Context, repetitions: number, reverse: Argument<boolean> = false) {
if (reverse) {
Expand Down Expand Up @@ -45,13 +45,13 @@ export function contents(_: Context, repetitions: number, reverse: Argument<bool
/**
* Rotate selections clockwise (selections only).
*
* @keys `a-(` (normal)
* @keys `(` (normal)
*
* The following keybinding is also available:
*
* | Title | Identifier | Keybinding | Command |
* | ----------------------------------------------------- | -------------------- | -------------- | ------------------------------------------------------ |
* | Rotate selections counter-clockwise (selections only) | `selections.reverse` | `a-)` (normal) | `[".selections.rotate.selections", { reverse: true }]` |
* | Title | Identifier | Keybinding | Command |
* | ----------------------------------------------------- | -------------------- | ------------ | ------------------------------------------------------ |
* | Rotate selections counter-clockwise (selections only) | `selections.reverse` | `)` (normal) | `[".selections.rotate.selections", { reverse: true }]` |
*/
export function selections(_: Context, repetitions: number, reverse: Argument<boolean> = false) {
if (reverse) {
Expand Down

0 comments on commit d7fc7e4

Please sign in to comment.