From: Daniel Carl Date: Mon, 20 Jun 2016 20:11:17 +0000 (+0200) Subject: Enable registers to continue a search. X-Git-Url: https://git.owens.tech/rss.xml/rss.xml/git?a=commitdiff_plain;h=90afd399fd58f2084fd8c74dcc7de7511f46b02f;p=vimb.git Enable registers to continue a search. --- diff --git a/src/main.c b/src/main.c index 39d8770..bc1496e 100644 --- a/src/main.c +++ b/src/main.c @@ -577,6 +577,8 @@ static Client *client_new(WebKitWebView *webview) /* start client in normal mode */ vb_enter(c, 'n'); + c->state.enable_register = TRUE; + gtk_widget_show_all(c->window); /* Prepend the new client to the queue of clients. */ diff --git a/src/main.h b/src/main.h index 6e91291..c1e925e 100644 --- a/src/main.h +++ b/src/main.h @@ -187,7 +187,6 @@ struct Map { int mappedlen; /* length of the mapped keys string */ char mode; /* mode for which the map is available */ gboolean remap; /* if FALSE do not remap the {rhs} of this map */ - gboolean enable_register; /* indicates if registers are filled */ }; struct Mode {