on master help sign in
make `:u` alias `:update` (#6835)
228a4afAtticus Sebastiani
book/src/generated/typable-cmd.md+1−1
@@ -46,7 +46,7 @@
46| `:character-info`, `:char` | Get info about the character under the primary cursor. |
46| `:character-info`, `:char` | Get info about the character under the primary cursor. |
47| `:reload` | Discard changes and reload from the source file. |
47| `:reload` | Discard changes and reload from the source file. |
48| `:reload-all` | Discard changes and reload all documents from the source files. |
48| `:reload-all` | Discard changes and reload all documents from the source files. |
49−| `:update` | Write changes only if the file has been modified. |
49+| `:update`, `:u` | Write changes only if the file has been modified. |
50| `:lsp-workspace-command` | Open workspace command picker |
50| `:lsp-workspace-command` | Open workspace command picker |
51| `:lsp-restart` | Restarts the Language Server that is in use by the current doc |
51| `:lsp-restart` | Restarts the Language Server that is in use by the current doc |
52| `:lsp-stop` | Stops the Language Server that is in use by the current doc |
52| `:lsp-stop` | Stops the Language Server that is in use by the current doc |
helix-term/src/commands/typed.rs+1−1
@@ -2497,7 +2497,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
2497 },
2497 },
2498 TypableCommand {
2498 TypableCommand {
2499 name: "update",
2499 name: "update",
2500− aliases: &[],
2500+ aliases: &["u"],
2501 doc: "Write changes only if the file has been modified.",
2501 doc: "Write changes only if the file has been modified.",
2502 fun: update,
2502 fun: update,
2503 signature: CommandSignature::none(),
2503 signature: CommandSignature::none(),