Enable registers to continue a search.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 20 Jun 2016 20:11:17 +0000 (22:11 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 20 Jun 2016 20:11:17 +0000 (22:11 +0200)
src/main.c
src/main.h

index 39d8770..bc1496e 100644 (file)
@@ -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. */
index 6e91291..c1e925e 100644 (file)
@@ -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 {