Skip to content

Commit

Permalink
Add Vv as alias for 'V v'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Dec 13, 2024
1 parent 19ff772 commit abb7ff2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions librz/core/cmd/cmd_interactive.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ RZ_IPI RzCmdStatus rz_interactive_visual_disas_handler(RzCore *core, int argc, c
return RZ_CMD_STATUS_OK;
}

RZ_IPI RzCmdStatus rz_interactive_visual_management_handler(RzCore *core, int argc, const char **argv) {
rz_core_visual(core, "v");
return RZ_CMD_STATUS_OK;
}

RZ_IPI RzCmdStatus rz_interactive_visual_emu_handler(RzCore *core, int argc, const char **argv) {
rz_core_visual(core, "pp");
return RZ_CMD_STATUS_OK;
Expand Down
4 changes: 4 additions & 0 deletions librz/core/cmd_descs/cmd_interactive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ commands:
cname: interactive_visual_emu
summary: Enter interactive visual mode and select the mode after next (alias for 'V pp').
args: []
- name: Vv
cname: interactive_visual_management
summary: Enter interactive visual mode and select the view management (alias for 'V v').
args: []

0 comments on commit abb7ff2

Please sign in to comment.