Skip to content

Commit 62fdcc8

Browse files
committed
Shorten typed command descriptions
1 parent f65ceb8 commit 62fdcc8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

helix-term/src/commands/typed.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
15281528
TypableCommand {
15291529
name: "quit!",
15301530
aliases: &["q!"],
1531-
doc: "Close the current view forcefully (ignoring unsaved changes).",
1531+
doc: "Force close the current view, ignoring unsaved changes.",
15321532
fun: force_quit,
15331533
completer: None,
15341534
},
@@ -1549,7 +1549,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
15491549
TypableCommand {
15501550
name: "buffer-close!",
15511551
aliases: &["bc!", "bclose!"],
1552-
doc: "Close the current buffer forcefully (ignoring unsaved changes).",
1552+
doc: "Close the current buffer forcefully, ignoring unsaved changes.",
15531553
fun: force_buffer_close,
15541554
completer: Some(completers::buffer),
15551555
},
@@ -1563,35 +1563,35 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
15631563
TypableCommand {
15641564
name: "buffer-close-others!",
15651565
aliases: &["bco!", "bcloseother!"],
1566-
doc: "Close all buffers but the currently focused one.",
1566+
doc: "Force close all buffers but the currently focused one.",
15671567
fun: force_buffer_close_others,
15681568
completer: None,
15691569
},
15701570
TypableCommand {
15711571
name: "buffer-close-all",
15721572
aliases: &["bca", "bcloseall"],
1573-
doc: "Close all buffers, without quitting.",
1573+
doc: "Close all buffers without quitting.",
15741574
fun: buffer_close_all,
15751575
completer: None,
15761576
},
15771577
TypableCommand {
15781578
name: "buffer-close-all!",
15791579
aliases: &["bca!", "bcloseall!"],
1580-
doc: "Close all buffers forcefully (ignoring unsaved changes), without quitting.",
1580+
doc: "Force close all buffers ignoring unsaved changes without quitting.",
15811581
fun: force_buffer_close_all,
15821582
completer: None,
15831583
},
15841584
TypableCommand {
15851585
name: "buffer-next",
15861586
aliases: &["bn", "bnext"],
1587-
doc: "Go to next buffer.",
1587+
doc: "Goto next buffer.",
15881588
fun: buffer_next,
15891589
completer: None,
15901590
},
15911591
TypableCommand {
15921592
name: "buffer-previous",
15931593
aliases: &["bp", "bprev"],
1594-
doc: "Go to previous buffer.",
1594+
doc: "Goto previous buffer.",
15951595
fun: buffer_previous,
15961596
completer: None,
15971597
},
@@ -1605,7 +1605,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
16051605
TypableCommand {
16061606
name: "write!",
16071607
aliases: &["w!"],
1608-
doc: "Write changes to disk forcefully (creating necessary subdirectories). Accepts an optional path (:write some/path.txt)",
1608+
doc: "Force write changes to disk creating necessary subdirectories. Accepts an optional path (:write some/path.txt)",
16091609
fun: force_write,
16101610
completer: Some(completers::filename),
16111611
},
@@ -1699,7 +1699,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
16991699
TypableCommand {
17001700
name: "quit-all!",
17011701
aliases: &["qa!"],
1702-
doc: "Close all views forcefully (ignoring unsaved changes).",
1702+
doc: "Force close all views ignoring unsaved changes.",
17031703
fun: force_quit_all,
17041704
completer: None,
17051705
},
@@ -1713,7 +1713,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
17131713
TypableCommand {
17141714
name: "cquit!",
17151715
aliases: &["cq!"],
1716-
doc: "Quit with exit code (default 1) forcefully (ignoring unsaved changes). Accepts an optional integer exit code (:cq! 2).",
1716+
doc: "Force quit with exit code (default 1) ignoring unsaved changes. Accepts an optional integer exit code (:cq! 2).",
17171717
fun: force_cquit,
17181718
completer: None,
17191719
},
@@ -1818,7 +1818,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
18181818
TypableCommand {
18191819
name: "encoding",
18201820
aliases: &[],
1821-
doc: "Set encoding based on `https://encoding.spec.whatwg.org`",
1821+
doc: "Set encoding. Based on `https://encoding.spec.whatwg.org`.",
18221822
fun: set_encoding,
18231823
completer: None,
18241824
},
@@ -1895,7 +1895,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
18951895
TypableCommand {
18961896
name: "goto",
18971897
aliases: &["g"],
1898-
doc: "Go to line number.",
1898+
doc: "Goto line number.",
18991899
fun: goto_line_number,
19001900
completer: None,
19011901
},
@@ -1951,14 +1951,14 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
19511951
TypableCommand {
19521952
name: "config-reload",
19531953
aliases: &[],
1954-
doc: "Refreshes helix's config.",
1954+
doc: "Refresh user config.",
19551955
fun: refresh_config,
19561956
completer: None,
19571957
},
19581958
TypableCommand {
19591959
name: "config-open",
19601960
aliases: &[],
1961-
doc: "Open the helix config.toml file.",
1961+
doc: "Open the user config.toml file.",
19621962
fun: open_config,
19631963
completer: None,
19641964
},

0 commit comments

Comments
 (0)