Skip to content

Commit

Permalink
update shortcut :r to :rnm
Browse files Browse the repository at this point in the history
  • Loading branch information
grv07 committed Oct 29, 2022
1 parent 735e600 commit 9c711c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/typable-cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| `:buffer-close-all!`, `:bca!`, `:bcloseall!` | Force close all buffers ignoring unsaved changes without quitting. |
| `:buffer-next`, `:bn`, `:bnext` | Goto next buffer. |
| `:buffer-previous`, `:bp`, `:bprev` | Goto previous buffer. |
| `:rename`, `:r` | Rename file. Accepts a file name arg (:rename new_name.txt) |
| `:rename`, `:rnm` | Rename file. Accepts a file name arg (:rename new_name.txt) |
| `:write`, `:w` | Write changes to disk. Accepts an optional path (:write some/path.txt) |
| `:write!`, `:w!` | Force write changes to disk creating necessary subdirectories. Accepts an optional path (:write some/path.txt) |
| `:new`, `:n` | Create a new scratch buffer. |
Expand Down
2 changes: 1 addition & 1 deletion helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
},
TypableCommand {
name: "rename",
aliases: &["r"],
aliases: &["rnm"],
doc: "Rename file. Accepts a file name arg (:rename new_name.txt)",
fun: rename,
completer: Some(completers::filename),
Expand Down

0 comments on commit 9c711c8

Please sign in to comment.