mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 22:17:59 +01:00
changed '|' to ', ' as a url separator
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<pre>
|
||||
2007-07-02:
|
||||
* version ???
|
||||
* Changed "|" to ", " as a url seperator in :open
|
||||
* Ctrl-^ mapping for selecting the alternate tab/buffer
|
||||
* QuickMarks support (new commands :qmarks/:qmarkadd/:qmarkdel and
|
||||
mappings go{a-z}, gn{a-z} and M{a-z}
|
||||
|
||||
@@ -569,8 +569,8 @@ function Commands() //{{{
|
||||
{
|
||||
usage: ["o[pen] [url] [| url]"],
|
||||
short_help: "Open one or more URLs in the current tab",
|
||||
help: "Multiple URLs can be separated with the | character.<br/>" +
|
||||
"Each |-separated token is analyzed and in this order:<br/>" +
|
||||
help: "Multiple URLs can be separated with \", \". Note that the space after the comma is required.<br/>" +
|
||||
"Each token is analyzed and in this order:<br/>" +
|
||||
"<ol>" +
|
||||
"<li>Transformed to a relative URL of the current location if it starts with . or .. or ...;<br/>" +
|
||||
"... is special and moves up the directory hierarchy as far as possible." +
|
||||
@@ -581,7 +581,7 @@ function Commands() //{{{
|
||||
"will open the wikipedia entry for linux torvalds).</li>" +
|
||||
" <li>Opened with the default search engine or keyword (specified with the <code class=\"option\">'defsearch'</code> option) " +
|
||||
"if the first word is no search engine (<code class=\"command\">:open linus torvalds</code> will open a google search for linux torvalds).</li>" +
|
||||
" <li>Passed directly to Firefox in all other cases (<code class=\"command\">:open www.osnews.com | www.slashdot.org</code> will " +
|
||||
" <li>Passed directly to Firefox in all other cases (<code class=\"command\">:open www.osnews.com, www.slashdot.org</code> will " +
|
||||
"open OSNews in the current, and Slashdot in a new background tab).</li>" +
|
||||
"</ol>" +
|
||||
"You WILL be able to use <code class=\"command\">:open [-T \"linux\"] torvalds<Tab></code> to complete bookmarks " +
|
||||
@@ -1088,7 +1088,7 @@ function openURLsInNewTab(str, activate)
|
||||
*/
|
||||
function stringToURLs(str)
|
||||
{
|
||||
var urls = str.split(/\s*\|\s*/);
|
||||
var urls = str.split(/\s*\,\s+/);
|
||||
begin: for (var url = 0; url < urls.length; url++)
|
||||
{
|
||||
// check for ./ and ../ (or even .../) to go to a file in the upper directory
|
||||
|
||||
@@ -466,6 +466,7 @@ function Events() //{{{
|
||||
// return false;
|
||||
// vimperator.logObject(event);
|
||||
var key = event.toString()
|
||||
// alert(key);
|
||||
if (!key)
|
||||
return false;
|
||||
// event.stopPropagation();
|
||||
|
||||
@@ -108,6 +108,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
||||
<keyset id="mainKeyset">
|
||||
<key id="key_open_vimbar" key=":" oncommand="vimperator.commandline.open(':', '', MODE_EX);" modifiers=""/>
|
||||
<key id="key_stop" keycode="VK_ESCAPE" oncommand="vimperator.events.onEscape();"/>
|
||||
<!--key id="key_a" key="a" oncommand="alert('a'); scrollBufferRelative(0, 1);"!/-->
|
||||
<!-- other keys are handled inside vimperator.js event loop -->
|
||||
</keyset>
|
||||
</window>
|
||||
|
||||
Reference in New Issue
Block a user