From 75c54da6ba62daac44dcc04c79a1bdf828e401fb Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 1 Sep 2020 20:48:04 +0200 Subject: Space is now entered in URL fields instead of triggering file completion, old behavior can be toggled via options --- rc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rc.c') diff --git a/rc.c b/rc.c index a44c5c8..423e008 100644 --- a/rc.c +++ b/rc.c @@ -131,6 +131,7 @@ static int OptionEncode = FALSE; #define CMT_USE_MARK N_("Enable mark operations") #endif #define CMT_EMACS_LIKE_LINEEDIT N_("Enable Emacs-style line editing") +#define CMT_SPACE_AUTOCOMPLETE N_("Space key triggers file completion while editing URLs") #define CMT_VI_PREC_NUM N_("Enable vi-like numeric prefix") #define CMT_LABEL_TOPLINE N_("Move cursor to top line when going to label") #define CMT_NEXTPAGE_TOPLINE N_("Move cursor to top line when moving to next page") @@ -485,6 +486,8 @@ struct param_ptr params3[] = { #endif {"emacs_like_lineedit", P_INT, PI_ONOFF, (void *)&emacs_like_lineedit, CMT_EMACS_LIKE_LINEEDIT, NULL}, + {"space_autocomplete", P_INT, PI_ONOFF, (void *)&space_autocomplete, + CMT_SPACE_AUTOCOMPLETE, NULL}, {"vi_prec_num", P_INT, PI_ONOFF, (void *)&vi_prec_num, CMT_VI_PREC_NUM, NULL}, {"mark_all_pages", P_INT, PI_ONOFF, (void *)&MarkAllPages, -- cgit v1.2.3