mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-09 10:06:20 -05:00
add unicode-input to search
This commit is contained in:
parent
9f9c1e11e2
commit
7b3d7bf1f1
3 changed files with 6 additions and 3 deletions
1
config.c
1
config.c
|
|
@ -201,6 +201,7 @@ static const char *const vimode_search_binding_action_map[] = {
|
|||
[BIND_ACTION_VIMODE_SEARCH_DELETE_PREV_CHAR] = "vimode-search-delete-prev",
|
||||
[BIND_ACTION_VIMODE_SEARCH_LEFT] = "vimode-search-left",
|
||||
[BIND_ACTION_VIMODE_SEARCH_RIGHT] = "vimode-search-right",
|
||||
[BIND_ACTION_VIMODE_SEARCH_UNICODE_INPUT] = "vimode-search-unicode-input",
|
||||
[BIND_ACTION_VIMODE_SEARCH_CLIPBOARD_PASTE] = "vimode-search-clipboard-paste",
|
||||
[BIND_ACTION_VIMODE_SEARCH_PRIMARY_PASTE] = "vimode-search-primary-paste",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ enum bind_action_vimode_search {
|
|||
BIND_ACTION_VIMODE_SEARCH_DELETE_PREV_CHAR,
|
||||
BIND_ACTION_VIMODE_SEARCH_LEFT,
|
||||
BIND_ACTION_VIMODE_SEARCH_RIGHT,
|
||||
BIND_ACTION_VIMODE_SEARCH_UNICODE_INPUT,
|
||||
BIND_ACTION_VIMODE_SEARCH_CLIPBOARD_PASTE,
|
||||
BIND_ACTION_VIMODE_SEARCH_PRIMARY_PASTE,
|
||||
|
||||
|
|
|
|||
7
vimode.c
7
vimode.c
|
|
@ -12,6 +12,7 @@
|
|||
#include "log.h"
|
||||
#include "render.h"
|
||||
#include "selection.h"
|
||||
#include "unicode-mode.h"
|
||||
#include "util.h"
|
||||
#include "vimode.h"
|
||||
#include "xmalloc.h"
|
||||
|
|
@ -1504,9 +1505,9 @@ static void execute_vimode_search_binding(struct seat *seat,
|
|||
term);
|
||||
break;
|
||||
|
||||
// case BIND_ACTION_VIMODE_SEARCH_UNICODE_INPUT:
|
||||
// unicode_mode_activate(term);
|
||||
// break;
|
||||
case BIND_ACTION_VIMODE_SEARCH_UNICODE_INPUT:
|
||||
unicode_mode_activate(term);
|
||||
break;
|
||||
|
||||
case BIND_ACTION_VIMODE_COUNT:
|
||||
BUG("Invalid action type");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue