Renamed queue related commands.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 1 Aug 2013 16:22:49 +0000 (18:22 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 1 Aug 2013 16:22:49 +0000 (18:22 +0200)
For later commands and possible more commands for the queue the commands are
now prefixed with 'queue-'.

doc/vimb.1
src/command.c
src/default.h

index a4a00a7..f9733a7 100644 (file)
@@ -239,7 +239,7 @@ Start hinting to open inputboxes or textareas with external editor.
 .BI "hint-save [" QUERY "]"
 Start hinting to download hinted links into configured download directory.
 .TP
-.BI "hint-push [" QUERY "]"
+.BI "hint-queue-push [" QUERY "]"
 Start hinting to push hinted URI into the read it later queue. If PROJECT hab
 been compiled with QUEUE feature.
 
@@ -334,11 +334,11 @@ The queue allows to mark URLs for later reding (something like a read it later
 list). This list is shared between the single instances of PROJECT. Only
 available if PROJECT has been compiled with QUEUE feature.
 .TP
-.BI "push [" URI ]
+.BI "queue-push [" URI ]
 Push \fIURI\fP or if not given
 current URI into the queue.
 .TP
-.B pop
+.B queue-pop
 Open the oldest queue entry
 in current browser window and remove it from the queue.
 
@@ -680,8 +680,8 @@ Holds the bookmarks saved with command `bookmark-add'.
 .RE
 .I $XDG_CONFIG_HOME/PROJECT/queue
 .RS
-Holds the read it later queue filled by `hint-push' or `push' if PROJECT has
-been compiled with QUEUE feature.
+Holds the read it later queue filled by `hint-queue-push' or `queue-push' if
+PROJECT has been compiled with QUEUE feature.
 .RE
 .I $XDG_CONFIG_HOME/PROJECT/scripts.js
 .RS
index 4f7997e..be89c19 100644 (file)
@@ -95,7 +95,7 @@ static CommandInfo cmd_list[] = {
     {"hint-editor",               NULL,    command_hints,                {HINTS_TYPE_EDITABLE}},
     {"hint-save",                 NULL,    command_hints,                {HINTS_TYPE_LINK | HINTS_PROCESS_SAVE}},
 #ifdef FEATURE_QUEUE
-    {"hint-push",                 NULL,    command_hints,                {HINTS_TYPE_LINK | HINTS_PROCESS_PUSH}},
+    {"hint-queue-push",           NULL,    command_hints,                {HINTS_TYPE_LINK | HINTS_PROCESS_PUSH}},
 #endif
     {"yank-uri",                  "yu",    command_yank,                 {VB_CLIPBOARD_PRIMARY | VB_CLIPBOARD_SECONDARY | COMMAND_YANK_URI}},
     {"yank-selection",            "ys",    command_yank,                 {VB_CLIPBOARD_PRIMARY | VB_CLIPBOARD_SECONDARY | COMMAND_YANK_SELECTION}},
@@ -125,8 +125,8 @@ static CommandInfo cmd_list[] = {
     {"save",                      NULL,    command_save,                 {COMMAND_SAVE_CURRENT}},
     {"shellcmd",                  NULL,    command_shellcmd,             {0}},
 #ifdef FEATURE_QUEUE
-    {"push",                      NULL,    command_queue,                {COMMAND_QUEUE_PUSH}},
-    {"pop",                       NULL,    command_queue,                {COMMAND_QUEUE_POP}},
+    {"queue-push",                NULL,    command_queue,                {COMMAND_QUEUE_PUSH}},
+    {"queue-pop",                 NULL,    command_queue,                {COMMAND_QUEUE_POP}},
 #endif
 };
 
index 0604b75..39b0edf 100644 (file)
@@ -68,8 +68,8 @@ static char *default_config[] = {
     "nmap ;e=hint-editor",
     "nmap ;s=hint-save",
 #ifdef FEATURE_QUEUE
-    "nmap ;p=hint-push",
-    "nmap <ctrl-p>=pop",
+    "nmap ;p=hint-queue-push",
+    "nmap <ctrl-p>=queue-pop",
 #endif
     "nmap y=yank-uri",
     "nmap Y=yank-selection",