From: Daniel Carl Date: Thu, 4 Dec 2014 22:16:44 +0000 (+0100) Subject: Don't put remote command into command history. X-Git-Url: https://git.owens.tech/wrapped.html/wrapped.html/git?a=commitdiff_plain;h=732a56f6b2125706e0cc5e305693d7e3d11465b9;p=vimb.git Don't put remote command into command history. --- diff --git a/src/io.c b/src/io.c index c1095aa..5fbfc29 100644 --- a/src/io.c +++ b/src/io.c @@ -101,9 +101,15 @@ static gboolean fifo_watch(GIOChannel *gio, GIOCondition condition) g_error_free(err); } + /* don't recore remote commands in history */ + vb.state.enable_history = false; + map_handle_string(line, true); g_free(line); + /* reenable history recording */ + vb.state.enable_history = true; + return true; }