mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:17:58 +01:00
Merge branch 'master' into vimperator-2.1
This commit is contained in:
@@ -658,7 +658,6 @@ CompletionContext.prototype = {
|
||||
this.tabPressed = false;
|
||||
this.title = ["Completions"];
|
||||
this.updateAsync = false;
|
||||
this.waitingForTab = false;
|
||||
|
||||
this.cancelAll();
|
||||
|
||||
@@ -677,7 +676,6 @@ CompletionContext.prototype = {
|
||||
for each (let context in this.contexts)
|
||||
{
|
||||
context.hasItems = false;
|
||||
context.incomplete = false;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -639,7 +639,7 @@ function Events() //{{{
|
||||
{
|
||||
for (let [,dir] in Iterator(dirs))
|
||||
{
|
||||
liberator.echomsg('Searching for "macros/*" in ' + dir.path.quote(), 2);
|
||||
liberator.echomsg('Searching for "macros/*" in "' + dir.path + '"', 2);
|
||||
|
||||
liberator.log("Sourcing macros directory: " + dir.path + "...", 3);
|
||||
|
||||
|
||||
@@ -245,7 +245,7 @@ function IO() //{{{
|
||||
|
||||
if (!found)
|
||||
{
|
||||
liberator.echoerr("E344: Can't find directory " + arg.quote() + " in cdpath\n"
|
||||
liberator.echoerr("E344: Can't find directory \"" + arg + "\" in cdpath\n"
|
||||
+ "E472: Command failed");
|
||||
}
|
||||
}
|
||||
@@ -278,7 +278,7 @@ function IO() //{{{
|
||||
|
||||
if (file.exists() && !args.bang)
|
||||
{
|
||||
liberator.echoerr("E189: " + filename.quote() + " exists (add ! to override)");
|
||||
liberator.echoerr("E189: \"" + filename + "\" exists (add ! to override)");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ function IO() //{{{
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
liberator.echoerr("E190: Cannot open " + filename.quote() + " for writing");
|
||||
liberator.echoerr("E190: Cannot open \"" + filename + "\" for writing");
|
||||
liberator.log("Could not write to " + file.path + ": " + e.message); // XXX
|
||||
}
|
||||
},
|
||||
@@ -514,7 +514,7 @@ function IO() //{{{
|
||||
|
||||
if (!dir.exists() || !dir.isDirectory())
|
||||
{
|
||||
liberator.echoerr("E344: Can't find directory " + dir.path.quote() + " in path");
|
||||
liberator.echoerr("E344: Can't find directory \"" + dir.path + "\" in path");
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -835,7 +835,7 @@ lookup:
|
||||
let found = false;
|
||||
|
||||
// FIXME: should use original arg string
|
||||
liberator.echomsg("Searching for " + paths.join(" ").quote() + " in " + options["runtimepath"].quote(), 2);
|
||||
liberator.echomsg("Searching for \"" + paths.join(" ") + "\" in \"" + options["runtimepath"] + "\"", 2);
|
||||
|
||||
outer:
|
||||
for (let [,dir] in Iterator(dirs))
|
||||
@@ -844,7 +844,7 @@ lookup:
|
||||
{
|
||||
let file = joinPaths(dir, path);
|
||||
|
||||
liberator.echomsg("Searching for " + file.path.quote(), 3);
|
||||
liberator.echomsg("Searching for \"" + file.path + "\"", 3);
|
||||
|
||||
if (file.exists() && file.isFile() && file.isReadable())
|
||||
{
|
||||
@@ -858,7 +858,7 @@ lookup:
|
||||
}
|
||||
|
||||
if (!found)
|
||||
liberator.echomsg("not found in 'runtimepath': " + paths.join(" ").quote(), 1); // FIXME: should use original arg string
|
||||
liberator.echomsg("not found in 'runtimepath': \"" + paths.join(" ") + "\"", 1); // FIXME: should use original arg string
|
||||
|
||||
return found;
|
||||
},
|
||||
@@ -885,9 +885,9 @@ lookup:
|
||||
if (!silent)
|
||||
{
|
||||
if (file.exists() && file.isDirectory())
|
||||
liberator.echomsg("Cannot source a directory: " + filename.quote(), 0);
|
||||
liberator.echomsg("Cannot source a directory: \"" + filename + "\"", 0);
|
||||
else
|
||||
liberator.echomsg("could not source: " + filename.quote(), 1);
|
||||
liberator.echomsg("could not source: \"" + filename + "\"", 1);
|
||||
|
||||
liberator.echoerr("E484: Can't open file " + filename);
|
||||
}
|
||||
@@ -895,7 +895,7 @@ lookup:
|
||||
return;
|
||||
}
|
||||
|
||||
liberator.echomsg("sourcing " + filename.quote(), 2);
|
||||
liberator.echomsg("sourcing \"" + filename + "\"", 2);
|
||||
|
||||
let str = self.readFile(file);
|
||||
let uri = services.get("io").newFileURI(file);
|
||||
@@ -1005,7 +1005,7 @@ lookup:
|
||||
if (scriptNames.indexOf(file.path) == -1)
|
||||
scriptNames.push(file.path);
|
||||
|
||||
liberator.echomsg("finished sourcing " + filename.quote(), 2);
|
||||
liberator.echomsg("finished sourcing \"" + filename + "\"", 2);
|
||||
|
||||
liberator.log("Sourced: " + filename, 3);
|
||||
}
|
||||
|
||||
@@ -1029,11 +1029,11 @@ const liberator = (function () //{{{
|
||||
return;
|
||||
}
|
||||
|
||||
liberator.echomsg('Searching for "plugin/**/*.{js,vimp}" in '
|
||||
+ [dir.path.replace(/.plugin$/, "") for each (dir in dirs)].join(",").quote(), 2);
|
||||
liberator.echomsg('Searching for "plugin/**/*.{js,vimp}" in "'
|
||||
+ [dir.path.replace(/.plugin$/, "") for each (dir in dirs)].join(",") + '"', 2);
|
||||
|
||||
dirs.forEach(function (dir) {
|
||||
liberator.echomsg("Searching for " + (dir.path + "/**/*.{js,vimp}").quote(), 3);
|
||||
liberator.echomsg("Searching for \"" + (dir.path + "/**/*.{js,vimp}") + "\"", 3);
|
||||
sourceDirectory(dir);
|
||||
});
|
||||
},
|
||||
@@ -1426,16 +1426,24 @@ window.liberator = liberator;
|
||||
// FIXME: Ugly, etc.
|
||||
window.addEventListener("liberatorHelpLink", function (event) {
|
||||
let elem = event.target;
|
||||
|
||||
if (/^(option|mapping|command)$/.test(elem.className))
|
||||
var tag = elem.textContent.replace(/\s.*/, "");
|
||||
if (/^(mapping|command)$/.test(elem.className))
|
||||
tag = tag.replace(/^\d+/, "");
|
||||
if (elem.className == "command")
|
||||
tag = tag.replace(/\[.*?\]/g, "");
|
||||
tag = tag.replace(/\[.*?\]/g, "").replace(/!$/, "");
|
||||
|
||||
if (tag)
|
||||
var page = liberator.findHelp(tag);
|
||||
|
||||
if (page)
|
||||
{
|
||||
elem.href = "chrome://liberator/locale/" + page;
|
||||
},
|
||||
true, true);
|
||||
if (buffer.URL.replace(/#.*/, "") == elem.href.replace(/#.*/, "")) // XXX
|
||||
setTimeout(function () { content.postMessage("fragmentChange", "*"); }, 0);
|
||||
}
|
||||
}, true, true);
|
||||
|
||||
// called when the chrome is fully loaded and before the main window is shown
|
||||
window.addEventListener("load", liberator.startup, false);
|
||||
|
||||
@@ -224,6 +224,7 @@ const template = {
|
||||
return s + <>{str.substr(start)}</>;
|
||||
},
|
||||
|
||||
// FIXME: why is href="#"?
|
||||
highlightURL: function highlightURL(str, force)
|
||||
{
|
||||
if (force || /^[a-zA-Z]+:\/\//.test(str))
|
||||
@@ -263,7 +264,7 @@ const template = {
|
||||
<td class="indicator">{idx == index ? ">" : ""}</td>
|
||||
<td>{Math.abs(idx - index)}</td>
|
||||
<td style="width: 250px; max-width: 500px; overflow: hidden;">{val.title}</td>
|
||||
<td><a href="#" highlight="URL jump-list">{val.URI.spec}</a></td>
|
||||
<td><a href={val.URI.spec} highlight="URL jump-list">{val.URI.spec}</a></td>
|
||||
</tr>)
|
||||
}
|
||||
</table>);
|
||||
|
||||
@@ -1221,7 +1221,7 @@ function CommandLine() //{{{
|
||||
submit: callback,
|
||||
change: extra.onChange,
|
||||
complete: extra.completer,
|
||||
cancel: extra.onCancel,
|
||||
cancel: extra.onCancel
|
||||
};
|
||||
|
||||
modes.push(modes.COMMAND_LINE, modes.PROMPT);
|
||||
@@ -1423,24 +1423,52 @@ function CommandLine() //{{{
|
||||
let closeWindow = false;
|
||||
let passEvent = false;
|
||||
|
||||
function isScrollable() !win.scrollMaxY == 0;
|
||||
function atEnd() win.scrollY / win.scrollMaxY >= 1;
|
||||
let key = events.toString(event);
|
||||
|
||||
if (event.type == "click")
|
||||
// TODO: Wouldn't multiple handlers be cleaner? --djk
|
||||
if (event.type == "click" && event.target instanceof HTMLAnchorElement)
|
||||
{
|
||||
if (event.target instanceof HTMLAnchorElement && event.button < 2)
|
||||
function openLink(where)
|
||||
{
|
||||
event.preventDefault();
|
||||
let target = event.button == 0 ? liberator.CURRENT_TAB : liberator.NEW_TAB;
|
||||
// FIXME: Why is this needed? --djk
|
||||
if (event.target.getAttribute("href") == "#")
|
||||
liberator.open(event.target.textContent, target);
|
||||
liberator.open(event.target.textContent, where);
|
||||
else
|
||||
liberator.open(event.target.href, target);
|
||||
}
|
||||
return;
|
||||
liberator.open(event.target.href, where);
|
||||
}
|
||||
|
||||
let key = events.toString(event);
|
||||
switch (key)
|
||||
{
|
||||
case "<LeftMouse>":
|
||||
// FIXME: the :ls output no longer wraps the buffer URL in an anchor element
|
||||
if (event.originalTarget.getAttributeNS(NS.uri, "highlight") == "URL buffer-list")
|
||||
{
|
||||
event.preventDefault();
|
||||
tabs.select(parseInt(event.originalTarget.parentNode.parentNode.firstChild.textContent, 10) - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
openLink(liberator.CURRENT_TAB);
|
||||
}
|
||||
break;
|
||||
case "<MiddleMouse>":
|
||||
case "<C-LeftMouse>":
|
||||
case "<C-M-LeftMouse>":
|
||||
openLink(liberator.NEW_BACKGROUND_TAB);
|
||||
break;
|
||||
case "<S-MiddleMouse>":
|
||||
case "<C-S-LeftMouse>":
|
||||
case "<C-M-S-LeftMouse>":
|
||||
openLink(liberator.NEW_TAB);
|
||||
break;
|
||||
case "<S-LeftMouse>":
|
||||
openLink(liberator.NEW_WINDOW);
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (startHints)
|
||||
{
|
||||
@@ -1450,6 +1478,9 @@ function CommandLine() //{{{
|
||||
return;
|
||||
}
|
||||
|
||||
function isScrollable() !win.scrollMaxY == 0;
|
||||
function atEnd() win.scrollY / win.scrollMaxY >= 1;
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case "<Esc>":
|
||||
@@ -1499,34 +1530,6 @@ function CommandLine() //{{{
|
||||
break;
|
||||
|
||||
// TODO: <LeftMouse> on the prompt line should scroll one page
|
||||
case "<LeftMouse>":
|
||||
if (event.originalTarget.getAttributeNS(NS.uri, "highlight") == "URL buffer-list")
|
||||
{
|
||||
tabs.select(parseInt(event.originalTarget.parentNode.parentNode.firstChild.textContent, 10) - 1);
|
||||
closeWindow = true;
|
||||
break;
|
||||
}
|
||||
else if (event.originalTarget.localName.toLowerCase() == "a")
|
||||
{
|
||||
liberator.open(event.originalTarget.textContent);
|
||||
break;
|
||||
}
|
||||
case "<A-LeftMouse>": // for those not owning a 3-button mouse
|
||||
case "<MiddleMouse>":
|
||||
if (event.originalTarget.localName.toLowerCase() == "a")
|
||||
{
|
||||
let where = /\btabopen\b/.test(options["activate"]) ?
|
||||
liberator.NEW_TAB : liberator.NEW_BACKGROUND_TAB;
|
||||
liberator.open(event.originalTarget.textContent, where);
|
||||
}
|
||||
break;
|
||||
|
||||
// let Firefox handle those to select table cells or show a context menu
|
||||
case "<C-LeftMouse>":
|
||||
case "<RightMouse>":
|
||||
case "<C-S-LeftMouse>":
|
||||
break;
|
||||
|
||||
// page down
|
||||
case "f":
|
||||
if (options["more"] && isScrollable())
|
||||
@@ -1617,7 +1620,7 @@ function CommandLine() //{{{
|
||||
if (passEvent)
|
||||
events.onKeyPress(event);
|
||||
}
|
||||
else // set update the prompt string
|
||||
else
|
||||
{
|
||||
commandline.updateMorePrompt(showMorePrompt, showMoreHelpPrompt);
|
||||
}
|
||||
@@ -1721,7 +1724,7 @@ function ItemList(id) //{{{
|
||||
if (!iframe)
|
||||
{
|
||||
liberator.log("No iframe with id: " + id + " found, strange things may happen!"); // "The truth is out there..." -- djk
|
||||
return;
|
||||
return; // XXX
|
||||
}
|
||||
|
||||
function dom(xml, map) util.xmlToDom(xml, doc, map);
|
||||
|
||||
@@ -577,7 +577,7 @@ const util = { //{{{
|
||||
*/
|
||||
readFromClipboard: function readFromClipboard()
|
||||
{
|
||||
let url;
|
||||
let str;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -599,12 +599,12 @@ const util = { //{{{
|
||||
if (data)
|
||||
{
|
||||
data = data.value.QueryInterface(Ci.nsISupportsString);
|
||||
url = data.data.substring(0, dataLen.value / 2);
|
||||
str = data.data.substring(0, dataLen.value / 2);
|
||||
}
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
return url;
|
||||
return str;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,10 +2,12 @@ Continuous donations:
|
||||
* Daniel Bainton (web hosting)
|
||||
|
||||
2009:
|
||||
* Gavin Sinclair
|
||||
* Stephen Borchert
|
||||
* Convolution
|
||||
* Brian Hall
|
||||
* Daniel Hahler
|
||||
* Per-Henrik Persson
|
||||
* Per-Henrik Lundblom
|
||||
* David C Foor
|
||||
* Oliver Schaefer
|
||||
* Paul Moss
|
||||
|
||||
@@ -17,15 +17,12 @@ BUGS:
|
||||
- insert abbreviations broken on <space>
|
||||
- :sidebar improvements (:sidebar! Downloads while downloads is open should refocus the sidebar)
|
||||
- ;s saves the page rather than the image
|
||||
- http://cgiirc.blitzed.org?chan=%23debug is unusable after login in
|
||||
- "g<" fails without a trailing escape because both "g<" and "g<C-g>"
|
||||
are mapped. Vimp should recognize "<C-g>" as an atom that should not
|
||||
be matched literally. In fact, typing "g<C-g>" out literally is
|
||||
equivalent to typing "g" and then <C-g>.
|
||||
|
||||
(recent CVS regressions):
|
||||
- :set noflashblock seems broken (= :set fb? afterwards says "fb"), let's see if that's a
|
||||
plugin or a vimp issue.
|
||||
- visual caret mode is broken, requires a manual page focus first anyway or
|
||||
else it chucks, I haven't investigated --djk
|
||||
- messages is still broken in several ways - needs testing.
|
||||
@@ -33,16 +30,13 @@ BUGS:
|
||||
=> it often overwrites the open command line while editing etc.
|
||||
- <tags> and <keyword> autocmd 'keywords' are not available when adding a
|
||||
bookmark - they're being set after the observer triggers the autocmd event.
|
||||
- MOW rendering is broken for multiple commands when open E.g. :ls | ls
|
||||
- completion height is broken, try :a<tab>....<tab>, when it wraps it's totally off.
|
||||
and even if it is not totally off, i had it jump by one pixel when wrapping around.
|
||||
If that's unfixable, i propose reverting the new completion height stuff.
|
||||
- Windows paths have escaped backslashes in messages - presumably due to
|
||||
String#quote change.
|
||||
- MOW rendering is broken for multiple commands when open (E.g. :ls | ls) This
|
||||
appears to be the result of using the Message class when appending multiline
|
||||
output to an open MOW.
|
||||
- :messages is _very_ slow for message history of several thousand lines ->
|
||||
Unresponsive Script: util.js:79 (sometimes xmlToDom() and elsewhere)
|
||||
- :hardcopy! seems to be broken for me
|
||||
- some extended hint commands aren't working in the MOW (;; ;t ;b ;? ;F)
|
||||
- The MOW shouldn't close when executing hints and ;F isn't working.
|
||||
- URLs in :ls output are no longer hyperlinks
|
||||
|
||||
FEATURES:
|
||||
9 finish :help TODOs
|
||||
|
||||
@@ -233,9 +233,12 @@ zoom range (default: 30%--300%). The zoom levels are used by
|
||||
default zoom levels are 30%, 50%, 67%, 80%, 90%, 100%, 110%, 120%, 133%, 150%,
|
||||
170%, 200%, 240%, 300%.
|
||||
|
||||
The available zoom range can be changed by setting the \'zoom.minPercent' and
|
||||
\'zoom.maxPercent' Firefox preferences. The zoom levels can be changed using
|
||||
the \'toolkit.ZoomManager.zoomLevels' preference.
|
||||
The available zoom range can be changed by setting the
|
||||
\'http://kb.mozillazine.org/Zoom.minPercent[zoom.minPercent]' and
|
||||
\'http://kb.mozillazine.org/Zoom.minPercent[zoom.maxPercent]' Firefox
|
||||
preferences. The zoom levels can be changed using the
|
||||
\'http://kb.mozillazine.org/Toolkit.zoomManager.zoomValues[toolkit.ZoomManager.zoomLevels]'
|
||||
preference.
|
||||
|
||||
Note: \'toolkit.ZoomManager.zoomLevels' is specified as a list of values
|
||||
between 0 and 1, not as a percentage.
|
||||
|
||||
@@ -2,8 +2,8 @@ HEADER
|
||||
|
||||
|Command-line-mode| |Command-line| |mode-cmdline| +
|
||||
|
||||
Command-line mode is used to enter Ex commands (":") and text search patterns
|
||||
("/" and "?").
|
||||
Command-line mode is used to enter Ex commands ("[m]:[m]") and text search patterns
|
||||
("[m]/[m]" and "[m]?[m]").
|
||||
|
||||
|:| +
|
||||
||:||
|
||||
|
||||
@@ -6,7 +6,7 @@ function checkFragment()
|
||||
return;
|
||||
let elem = document.evaluate('//*[@class="tag" and text()="' + frag + '"]', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null).snapshotItem(0);
|
||||
if (elem)
|
||||
window.content.scrollTo(0, elem.getBoundingClientRect().top - 10); // 10px context
|
||||
window.content.scrollTo(0, window.content.scrollY + elem.getBoundingClientRect().top - 10); // 10px context
|
||||
}
|
||||
|
||||
document.addEventListener("load", checkFragment, true);
|
||||
|
||||
@@ -20,13 +20,17 @@ are hidden. +
|
||||
If you really need them, type: [c]:set guioptions+=mT[c] to get them back. +
|
||||
If you don't like Vimperator at all, you can uninstall it by typing
|
||||
[c]:addons[c] and remove/disable it. +
|
||||
If you like it but can't remember the shortcuts, then press [m]F1[m] or
|
||||
If you like it but can't remember the shortcuts, then press [m]<F1>[m] or
|
||||
[c]:help[c] to get this help window back.
|
||||
|
||||
|author| |donation| +
|
||||
Vimperator was written by mailto:stubenschrott@gmx.net[Martin Stubenschrott].
|
||||
If you appreciate my work on Vimperator and want to encourage me working on it
|
||||
more, you can either send me greetings, patches or make a donation:
|
||||
Vimperator was initially written by mailto:stubenschrott@gmx.net[Martin
|
||||
Stubenschrott] but has found many other
|
||||
http://vimperator.org/trac/wiki/Vimperator/Authors[contributors] in the
|
||||
meanwhile. If you appreciate the work on Vimperator and want to encourage us
|
||||
working on it more, you can send us greetings, patches, or donations (thanks a
|
||||
lot to http://vimperator.org/trac/wiki/Vimperator/Donors[these people] who
|
||||
already did):
|
||||
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
<!-- the PAYPAL code -->
|
||||
@@ -37,9 +41,11 @@ more, you can either send me greetings, patches or make a donation:
|
||||
</fieldset></form>
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Of course as a believer in free open source software, only make a donation
|
||||
if you really like Vimperator and the money doesn't hurt -- otherwise just use
|
||||
it, recommend it and like it :)
|
||||
If you prefer getting some nice products for your money, you can also support
|
||||
us by buying some cool http://www.zazzle.com/maxauthority*[merchandise] like
|
||||
t-shirts or mugs. Of course, as we believe in free, open source software, only
|
||||
support us financially if you really like Vimperator and the money doesn't hurt
|
||||
- otherwise just use it, recommend it, and like it :)
|
||||
|
||||
section:Help{nbsp}topics[overview]
|
||||
|
||||
@@ -94,7 +100,7 @@ section:Features[features]
|
||||
with support for Firefox keyword bookmarks and search engines
|
||||
* Count supported for many commands ([m]3<C-o>[m] will go back 3 pages)
|
||||
* Beep on errors
|
||||
* Marks support ([m]ma[m] to set mark a on a web page, [m]'a[m] to go there)
|
||||
* Marks support ([m]m[m][a]a[a] to set mark a on a web page, [m]'[m][a]a[a] to go there)
|
||||
* QuickMarks support (quickly go to previously marked web pages with [m]go[m][a]\\{a-zA-Z0-9\\}[a])
|
||||
* [c]:map[c] and [c]:command[c] support (and feedkeys() for script writers)
|
||||
* [c]:time[c] support for profiling
|
||||
@@ -106,10 +112,13 @@ section:Features[features]
|
||||
|
||||
section:Contact[contact]
|
||||
|
||||
Please send comments/bug reports/patches to the mailing list, where I will
|
||||
properly answer any questions. You can also join the #vimperator IRC channel
|
||||
on irc.freenode.net or check the Wiki for frequently asked questions. Make
|
||||
sure, you have read the TODO file first, as I am aware of many things which
|
||||
can be improved when I find time for it or get patches.
|
||||
Please send comments/bug reports/patches to the mailing list, where we will
|
||||
properly answer any questions. You can also join the
|
||||
+++<a href="irc://irc.freenode.net/vimperator">#vimperator</a>+++ IRC channel
|
||||
on http://www.freenode.net/[Freenode] or check the
|
||||
http://vimperator.org/trac/wiki/Vimperator/Wiki[Wiki] for
|
||||
http://vimperator.org/trac/wiki/Vimperator/FAQ[frequently asked questions
|
||||
(FAQ)]. Make sure, you have read the TODO file first, as we are aware of many
|
||||
things which can be improved when we find time for it or receive patches.
|
||||
|
||||
// vim: set filetype=asciidoc:
|
||||
|
||||
@@ -8,7 +8,7 @@ The key mapping commands can be used to either redefine the standard key
|
||||
bindings or define new ones. A mapping consists of a key, or sequence of keys,
|
||||
which are translated to a string of characters. Example:
|
||||
|
||||
:map <F2> :echo new Date().toDateString()<CR>
|
||||
\{nbsp}[c]:map <F2> :echo new Date().toDateString()<CR>[c]
|
||||
|
||||
will echo the current date to the command line when [m]<F2>[m] is pressed.
|
||||
|
||||
@@ -209,7 +209,7 @@ ________________________________________________________________________________
|
||||
||:ca[bbrev] {lhs}|| +
|
||||
||:ca[bbrev]||
|
||||
________________________________________________________________________________
|
||||
Abbreviate a key sequence for Command-line mode. Same as [c]:ab[reviate][c],
|
||||
Abbreviate a key sequence for Command-line mode. Same as [c]:ab[breviate][c],
|
||||
but for Command-line mode only.
|
||||
________________________________________________________________________________
|
||||
|
||||
@@ -406,7 +406,7 @@ section:Examples[command-examples]
|
||||
|
||||
Add a :Google command to search via google:
|
||||
|
||||
:command -nargs=* Google open google <args>
|
||||
\{nbsp}[c]:command -nargs=* Google open google <args>[c]
|
||||
|
||||
// TODO: add decent examples
|
||||
|
||||
|
||||
@@ -189,10 +189,10 @@ they can be changed to a different value in your RC file using
|
||||
|
||||
The following preferences are set:
|
||||
|
||||
* browser.startup.page
|
||||
* dom.popup_allowed_events
|
||||
* accessibility.typeaheadfind.autostart
|
||||
* accessibility.typeaheadfind
|
||||
* http://kb.mozillazine.org/Browser.startup.page[browser.startup.page]
|
||||
* http://kb.mozillazine.org/Dom.popup_allowed_events[dom.popup_allowed_events]
|
||||
* http://kb.mozillazine.org/Accessibility.typeaheadfind.autostart[accessibility.typeaheadfind.autostart]
|
||||
* http://kb.mozillazine.org/Accessibility.typeaheadfind[accessibility.typeaheadfind]
|
||||
|
||||
// TODO: others?
|
||||
|
||||
@@ -233,11 +233,15 @@ Items which are completed at the [c]:[tab]open[c] prompt. Available items:
|
||||
*f* Local files
|
||||
*l* Firefox location bar entries (bookmarks and history sorted in an intelligent way)
|
||||
*b* Bookmarks
|
||||
*h* History
|
||||
*S* Suggest engines
|
||||
-------------------------------------------------------------------------------------
|
||||
|
||||
The order is important, so [c]:set complete=bs[c] would list bookmarks first,
|
||||
and then any available quick searches.
|
||||
|
||||
Warning: Using *b* and *h* can make completion very slow if there are many
|
||||
items.
|
||||
____
|
||||
|
||||
|
||||
@@ -738,6 +742,9 @@ ____
|
||||
____
|
||||
Use visual bell instead of beeping on errors. The visual bell style is
|
||||
controlled by [c]:hi Bell[c].
|
||||
|
||||
To disable both the audible and visual bells use [c]:set visualbell[c] and
|
||||
[c]:hi Bell display: none;[c]
|
||||
____
|
||||
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ ________________________________________________________________________________
|
||||
Add CSS styles to the browser or to web pages. {filter} is a comma
|
||||
separated list of URLs to match. URLs ending with *\** are matched as
|
||||
prefixes, URLs not containing any *:* or */* characters are
|
||||
matched as domains. If {name} (short option: [c]-n[c]) is provided, any
|
||||
matched as domains. If {name} (short option: *-n*) is provided, any
|
||||
existing style with the same name is overridden, and the style may later
|
||||
be deleted using {name}. If *-append* (short option: *-a*) is provided
|
||||
along with *-name*, {css} and {filter} are appended to its current
|
||||
@@ -118,9 +118,9 @@ ________________________________________________________________________________
|
||||
||:dels[tyle] [-name={name}] [-index={index}] [{filter}] [{css}]|| +
|
||||
________________________________________________________________________________
|
||||
Delete any matching styles. If {filter} is provided, only matching elements of
|
||||
the filter are disabled. For instance, a filter [c]mozilla.org[c], given a
|
||||
style for [c]www.google.com,mozilla.org[c], will result in a style for
|
||||
[c]www.google.com[c]. The available options are:
|
||||
the filter are disabled. For instance, a filter [a]mozilla.org[a], given a
|
||||
style for [a]www.google.com,mozilla.org[a], will result in a style for
|
||||
[a]www.google.com[a]. The available options are:
|
||||
|
||||
* *-name*: The name provided to [c]:style[c] (short option: *-n*)
|
||||
* *-index*: For unnamed styles, the index listed by [c]:style[c]
|
||||
|
||||
@@ -22,8 +22,8 @@ If you're a veteran Vim user, this may look familiar. It should.
|
||||
|
||||
However, in this author's opinion, the best way to get familiar with
|
||||
Vimperator is to leave these disabled for now. (The above action can be
|
||||
reversed with [c]:set go=<CR>[c]) You can look at the entry for
|
||||
[o]guioptions[o] in help:options[options.html] for more information on this.
|
||||
reversed with [c]:set go=<CR>[c]) You can look at the entry for 'guioptions' in
|
||||
help:options[options.html] for more information on this.
|
||||
|
||||
section:Vimperator's{nbsp}modal{nbsp}interface[modal]
|
||||
|
||||
@@ -36,8 +36,8 @@ When Vimperator starts, it is in Normal mode by default. This is probably where
|
||||
you will spend the majority of your time.
|
||||
|
||||
The other core mode of Vimperator, Command-line mode, can be entered from
|
||||
Normal mode by typing a \':' (colon). You will frequently see Vimperator
|
||||
commands start with a \':', indicating that what follows is a command.
|
||||
Normal mode by typing a \'[m]:[m]' (colon). You will frequently see Vimperator
|
||||
commands start with a \'[m]:[m]', indicating that what follows is a command.
|
||||
|
||||
To return to Normal mode from Command-line mode, type [m]<Esc>[m]. Pressing
|
||||
[m]<Esc>[m] will also return you to Normal mode from most other modes in
|
||||
@@ -142,7 +142,7 @@ type uniquely identifies any given link, Vimperator will follow that link
|
||||
immediately without any further user input.
|
||||
|
||||
Whichever way you choose to indicate your target link, once Vimperator has
|
||||
highlighted the link you want, simply hit <Enter> to open it.
|
||||
highlighted the link you want, simply hit [m]<Enter>[m] to open it.
|
||||
|
||||
The most common hint mode is called help:QuickHint{nbsp}mode[various.html,f].
|
||||
To activate QuickHint mode, press either [m]f[m] or [m]F[m]. The lower-case
|
||||
|
||||
Reference in New Issue
Block a user