updated config.h, see previous commit
This commit is contained in:
24
config.h
24
config.h
@ -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);
|
||||||
|
Reference in New Issue
Block a user