implemented delete and rename
This commit is contained in:
4
config.h
4
config.h
@@ -19,6 +19,8 @@ static mimetype mimetype_default_cmd[] = {
|
||||
static binding key_binding[] = {
|
||||
/*key action */
|
||||
{ "q", quit_program },
|
||||
{ " ", toggle_selection }, /* on hovered file/directory */
|
||||
|
||||
{ "h", move_right }, /* moves one dir up */
|
||||
{ "t", move_down },
|
||||
{ "n", move_up },
|
||||
@@ -26,6 +28,8 @@ static binding key_binding[] = {
|
||||
|
||||
{ "\n", open_with }, /* opens the hovered file with an arbitrary command */
|
||||
{ "r", rename_hovered }, /* renames currently hovered file/directory */
|
||||
{ "d", delete }, /* deletes currently hovered OR selected file/directory
|
||||
* this means that it does not delete the hovered files if files are already selected */
|
||||
|
||||
{ "gg", jump_top },
|
||||
{ "G", jump_bottom },
|
||||
|
Reference in New Issue
Block a user