mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium: patch helix so I have W command
This commit is contained in:
parent
35ab47015b
commit
8bb8c71e48
2 changed files with 18 additions and 0 deletions
13
nix/configurations/vanadium/patches/helix/W-as-write.patch
Normal file
13
nix/configurations/vanadium/patches/helix/W-as-write.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
|
||||
index 2013a9d8..e1673e68 100644
|
||||
--- a/helix-term/src/commands/typed.rs
|
||||
+++ b/helix-term/src/commands/typed.rs
|
||||
@@ -2705,7 +2705,7 @@ fn noop(_cx: &mut compositor::Context, _args: Args, _event: PromptEvent) -> anyh
|
||||
},
|
||||
TypableCommand {
|
||||
name: "write",
|
||||
- aliases: &["w"],
|
||||
+ aliases: &["w", "W"], // I type too fast
|
||||
doc: "Write changes to disk. Accepts an optional path (:write some/path.txt)",
|
||||
fun: write,
|
||||
completer: CommandCompleter::positional(&[completers::filename]),
|
||||
Loading…
Add table
Add a link
Reference in a new issue