diff --git a/book/src/generated/static-cmd.md b/book/src/generated/static-cmd.md index da9117d6b..e80672bd7 100644 --- a/book/src/generated/static-cmd.md +++ b/book/src/generated/static-cmd.md @@ -53,9 +53,9 @@ | `extend_prev_char` | Extend to previous occurrence of char | select: `` F `` | | `repeat_last_motion` | Repeat last motion | normal: `` ``, select: `` `` | | `replace` | Replace with new char | normal: `` r ``, select: `` r `` | -| `switch_to_alternate_case` | Switch to aLTERNATE cASE | normal: `` ~ ``, select: `` ~ `` | -| `switch_to_upper_case` | Switch to UPPERCASE | normal: `` `u ``, select: `` `u `` | -| `switch_to_lower_case` | Switch to lowercase | normal: `` `l ``, select: `` `l `` | +| `switch_to_alternate_case` | Switch to aLTERNATE cASE | normal: `` `a ``, select: `` `a `` | +| `switch_to_uppercase` | Switch to UPPERCASE | normal: `` `u ``, select: `` `u `` | +| `switch_to_lowercase` | Switch to lowercase | normal: `` `l ``, select: `` `l `` | | `switch_to_pascal_case` | Switch to PascalCase | normal: `` `p ``, select: `` `p `` | | `switch_to_camel_case` | Switch to camelCase | normal: `` `c ``, select: `` `c `` | | `switch_to_title_case` | Switch to Title Case | normal: `` `t ``, select: `` `t `` | diff --git a/book/src/keymap.md b/book/src/keymap.md index 6c6ed5b0a..a111f4e7e 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -70,7 +70,6 @@ Normal mode is the default mode when you launch helix. You can return to it from | ----- | ----------- | ------- | | `r` | Replace with a character | `replace` | | `R` | Replace with yanked text | `replace_with_yanked` | -| `~` | Switch case of the selected text | `switch_case` | | `i` | Insert before selection | `insert_mode` | | `a` | Insert after selection (append) | `append_mode` | | `I` | Insert at the start of the line | `insert_at_line_start` | @@ -242,13 +241,14 @@ Various commands for changing the case of text in different ways. | Key | Description | Command | | ----- | ----------- | ------- | -| `l` | Switch all text to lowercase | `switch_to_lowercase` | -| `u` | Switch all text to UPPERCASE | `switch_to_uppercase` | +| `l` | Switch text to lowercase | `switch_to_lowercase` | +| `u` | Switch text to UPPERCASE | `switch_to_uppercase` | | `p` | Switch text to Pascal Case | `switch_to_pascal_case` | | `c` | Switch text to camelCase | `switch_to_camel_case` | | `t` | Switch text to Title Case | `switch_to_title_case` | | `s` | Switch text to snake_case | `switch_to_snake_case` | | `k` | Switch text to kebab-case | `switch_to_kebab_case` | +| `a` | Switch text to aLTERNATE cASE | `switch_to_alternate_case` | TODO: Mappings for selecting syntax nodes (a superset of `[`).