updated config.h, see previous commit

This commit is contained in:
nova
2025-06-15 20:17:11 +02:00
parent 7c9af0d340
commit c1f2f7602a

View File

@ -1,7 +1,23 @@
#include "defines.h" #include "defines.h"
#include "interactions.h"
static mimetype mimetype_default_cmd[] = {
static file_preview file_previews[] = { /* mimetype shell command */
{ "c", "&a" }, { "text", "$EDITOR" }
{ ".c", "&ueberzug" },
}; };
static binding key_binding[] = {
/*key action */
{ 'q', quit_program },
{ 'h', move_right },
{ 't', move_down },
{ 'n', move_up },
{ 's', move_left },
{ 'g', jump_top },
{ 'G', jump_bottom },
{ 'a', toggle_hidden_files },
};
static unsigned long binding_count = sizeof(key_binding) / sizeof(binding);
static unsigned long mimetype_default_count = sizeof(mimetype_default_cmd) / sizeof(mimetype);