updated for version 7.4.449
Problem: Can't easily close the help window. (Chris Gaal)
Solution: Add ":helpclose". (Christian Brabandt)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 2a81eb7..4ae996c 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5899,6 +5899,24 @@
vim_free(tag);
}
+/*
+ * ":helpclose": Close the help window
+ */
+ void
+ex_helpclose(eap)
+ exarg_T *eap UNUSED;
+{
+ win_T *win;
+
+ FOR_ALL_WINDOWS(win)
+ {
+ if (win->w_buffer->b_help)
+ {
+ win_close(win, FALSE);
+ break;
+ }
+ }
+}
#if defined(FEAT_MULTI_LANG) || defined(PROTO)
/*