[Github-comments] [geany/geany-plugins] vimode: Separate command and search history (#848)

Jiří Techet notifications at xxxxx
Mon May 6 04:33:18 UTC 2019


techee commented on this pull request.



>  
-			if (link)
-			{
-				g_free(link->data);
-				history = g_list_remove_link(history, link);
-			}
-			if (g_strcmp0(text, ":") != 0)
-				history = g_list_prepend(history, g_strdup(text));
+			if (g_ptr_array_find_with_equal_func(history, text + 1, g_str_equal, &index))

Ah, OK, I didn't notice the checks failed. I'll add some additional commits to this pull request so the command line behaves more like vim.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/848#discussion_r281060277
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190505/9475f709/attachment.html>


More information about the Github-comments mailing list