creating new files and dirs possile, dedicated update screen key
This commit is contained in:
9
config.h
9
config.h
@@ -18,8 +18,14 @@ static mimetype mimetype_default_cmd[] = {
|
||||
|
||||
static binding key_binding[] = {
|
||||
/*key action */
|
||||
/*you cannot add bindings that include other bindings in its entirety
|
||||
* possible: mk, mf
|
||||
* not possible: gg, ggg
|
||||
* trying to use ggg will always fail as it will execute gg first instead, resetting the input buffer, thus never
|
||||
* reaching ggg */
|
||||
{ "q", quit_program },
|
||||
{ " ", toggle_selection }, /* on hovered file/directory */
|
||||
{ "u", update }, /* executes the entire backend and redrawing of the screen */
|
||||
|
||||
{ "h", move_right }, /* moves one dir up */
|
||||
{ "t", move_down },
|
||||
@@ -34,6 +40,9 @@ static binding key_binding[] = {
|
||||
{ "gg", jump_top },
|
||||
{ "G", jump_bottom },
|
||||
|
||||
{ "mk", makedir },
|
||||
{ "mf", makefile },
|
||||
|
||||
{ "a", toggle_hidden_files },
|
||||
};
|
||||
static unsigned long binding_count = sizeof(key_binding) / sizeof(binding);
|
||||
|
Reference in New Issue
Block a user