ed

[hare] The standard editor
Log | Files | Refs | README | LICENSE

commit dd7980bdc8f1655b894817e23578bc2d0dfce278
parent ee9142b75de70786fd811b355eaa9307c823e6b1
Author: Byron Torres <b@torresjrjr.com>
Date:   Thu, 11 Jan 2024 09:06:26 +0000

rename invglobal -> vglobal

Diffstat:
Mcommand.ha | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/command.ha b/command.ha @@ -101,8 +101,8 @@ fn lookupcmd(name: rune) CommandFn = { case 's' => return &cmd_substitute; case 't' => return &cmd_copy; case 'u' => return &cmd_undo; - case 'v' => return &cmd_invglobal; - case 'V' => return &cmd_invglobal_ia; + case 'v' => return &cmd_vglobal; + case 'V' => return &cmd_vglobal_ia; case 'w' => return &cmd_write; case '=' => return &cmd_linenumber; case '!' => return &cmd_shellescape; @@ -549,11 +549,11 @@ fn cmd_copy(s: *Session, cmd: *Command) (void | Error) = { fn cmd_undo(s: *Session, cmd: *Command) (void | Error) = void; -fn cmd_invglobal(s: *Session, cmd: *Command) (void | Error) = { +fn cmd_vglobal(s: *Session, cmd: *Command) (void | Error) = { global(s, cmd, false)?; }; -fn cmd_invglobal_ia(s: *Session, cmd: *Command) (void | Error) = { +fn cmd_vglobal_ia(s: *Session, cmd: *Command) (void | Error) = { global_ia(s, cmd, false)?; };