summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c
index 472271ab..edf37282 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -32,6 +32,7 @@
#include "scripts.h"
#include "editor.h"
#include "dom.h"
+#include "application.h"
/* commands.h {{{*/
/* commands_simple_command(keyMap *km) {{{*/
@@ -1089,3 +1090,8 @@ commands_tabdo(KeyMap *km, Arg *arg)
dwb_focus_view(current, "tabdo");
return STATUS_OK;
}
+DwbStatus
+commands_set_as_default(KeyMap *km, Arg *arg)
+{
+ return application_set_default(arg->p);
+}