Renamed command-hist-* command to hist-*.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 25 Mar 2013 20:48:27 +0000 (21:48 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 25 Mar 2013 20:48:27 +0000 (21:48 +0100)
doc/vimb.1.txt
src/command.c
src/config.h

index 85d1598..3442804 100644 (file)
@@ -287,16 +287,14 @@ Zoom \fIN\fP steps in or out of the current page \- effecting all elements.
 .TP
 .B zoomreset
 Reset the zoomlevel to the default value.
-.SS Command-History
-.TP
-.BI [ N "]command-hist-prev, [" N "]command-hist-next"
-Prints the previous or next cammand from history into inputbox. If there is
-already text in the input box this will be used to get history items. A
-command is not a internal command, but every string entered into inputbox that
-begins with \fI[:/?]\fP. So the history contains real commands and search queries.
-.br
-Note that the history distinguishes between '/query' and '?query' what's not
-what the vim editor does.
+.SS History
+.TP
+.BI [ N "]hist-prev, [" N "]hist-next"
+Prints the previous or next cammand or search query from history into
+inputbox. If there is already text in the input box this will be used to get
+history items. A command is not a internal command, but every string entered
+into inputbox that begins with \fI[:/?]\fP. So the history contains real
+commands and search queries.
 .SS Misc
 .TP
 .BI [ N "]search-forward, [" N "]search-backward"
index 09c5766..7a185aa 100644 (file)
@@ -94,8 +94,8 @@ static CommandInfo cmd_list[] = {
     {"zoominfull",          command_zoom,        {COMMAND_ZOOM_IN | COMMAND_ZOOM_FULL}},
     {"zoomoutfull",         command_zoom,        {COMMAND_ZOOM_OUT | COMMAND_ZOOM_FULL}},
     {"zoomreset",           command_zoom,        {COMMAND_ZOOM_RESET}},
-    {"command-hist-next",   command_history,     {VB_SEARCH_FORWARD}},
-    {"command-hist-prev",   command_history,     {VB_SEARCH_BACKWARD}},
+    {"hist-next",           command_history,     {VB_SEARCH_FORWARD}},
+    {"hist-prev",           command_history,     {VB_SEARCH_BACKWARD}},
 };
 
 static void command_write_input(const char* str);
index 16853dd..2242721 100644 (file)
@@ -88,8 +88,8 @@ const struct {
     {"nmap zz=zoomreset"},
     {"cmap <tab>=complete"},
     {"cmap <shift-tab>=complete-back"},
-    {"cmap <ctrl-p>=command-hist-prev"},
-    {"cmap <ctrl-n>=command-hist-next"},
+    {"cmap <ctrl-p>=hist-prev"},
+    {"cmap <ctrl-n>=hist-next"},
     {"hmap <tab>=hint-focus-next"},
     {"hmap <shift-tab>=hint-focus-prev"},
     {"searchengine-add dl=https://duckduckgo.com/lite/?q=%s"},