implemented rename_hovered, custom input string loop

This commit is contained in:
nova
2025-06-22 01:28:59 +02:00
parent e07ec0b413
commit 3eb1c0f93e
5 changed files with 103 additions and 25 deletions

View File

@ -15,7 +15,9 @@ static binding key_binding[] = {
{ "t", move_down },
{ "n", move_up },
{ "s", move_left }, /* if a dir is hovered, cd into it, if a file is selected, see mimetype_default_cmd */
{ "\n", open_with }, /* enter/return/new line/whatever you call it */
{ "\n", open_with }, /* opens the hovered file with an arbitrary command */
{ "r", rename_hovered }, /* renames currently hovered file/directory */
{ "gg", jump_top },
{ "G", jump_bottom },