1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 15:57:58 +01:00

changed ":help open" to ":help :open"

This commit is contained in:
Martin Stubenschrott
2007-04-29 03:35:34 +00:00
parent 8822a151a5
commit abeafde55f
5 changed files with 73 additions and 54 deletions

View File

@@ -700,7 +700,7 @@ var g_mappings = [/*{{{*/
["h", "<Left>"], ["h", "<Left>"],
["{count}h", "{count}<Left>"], ["{count}h", "{count}<Left>"],
"Scroll document to the left", "Scroll document to the left",
"Count is supported: <code class=mapping>10h</code> will move 10 times as much to the left.", "Count is supported: <code class=mapping>10h</code> will move 10 times as much to the left.<br/>"+
"If the document cannot scroll more, a beep is emmited (unless <code class=setting>'beep'</code> is turned off).", "If the document cannot scroll more, a beep is emmited (unless <code class=setting>'beep'</code> is turned off).",
function(count) { scrollBufferRelative(-1, 0); } function(count) { scrollBufferRelative(-1, 0); }
], ],

View File

@@ -260,23 +260,23 @@ function build_longest_starting_substring(list, filter)/*{{{*/
var filter_length = filter.length; var filter_length = filter.length;
for (var i = 0; i < list.length; i++) for (var i = 0; i < list.length; i++)
{ {
for (var j = 0; j < list[i][0].length; j++) for (var j = 0; j < list[i][COMMANDS].length; j++)
{ {
if (list[i][0][j].indexOf(filter) != 0) if (list[i][0][j].indexOf(filter) != 0)
continue; continue;
if (g_substrings.length == 0) if (g_substrings.length == 0)
{ {
var length = list[i][0][j].length; var length = list[i][COMMANDS][j].length;
for (var k = filter_length; k <= length; k++) for (var k = filter_length; k <= length; k++)
g_substrings.push(list[i][0][j].substring(0, k)); g_substrings.push(list[i][COMMANDS][j].substring(0, k));
} }
else else
{ {
g_substrings = g_substrings.filter(function($_) { g_substrings = g_substrings.filter(function($_) {
return list[i][0][j].indexOf($_) == 0; return list[i][COMMANDS][j].indexOf($_) == 0;
}); });
} }
filtered.push([list[i][0][j], list[i][1]]); filtered.push([list[i][COMMANDS][j], list[i][SHORTHELP]]);
break; break;
} }
} }
@@ -478,12 +478,27 @@ function get_help_completions(filter)/*{{{*/
{ {
var help_array = []; var help_array = [];
g_substrings = []; g_substrings = [];
help_array = help_array.concat(g_commands); help_array = help_array.concat(g_commands.map(function($_) {
help_array = help_array.concat(get_settings_completions(filter, true)); return [
help_array = help_array.concat(g_mappings); $_[COMMANDS].map(function($_) { return ":" + $_; }),
$_[SHORTHELP]
];
}));
settings = get_settings_completions(filter, true);
help_array = help_array.concat(settings.map(function($_) {
return [
$_[COMMANDS].map(function($_) { return "'" + $_ + "'"; }),
$_[1]
];
}));
help_array = help_array.concat(g_mappings.map(function($_) {
return [ $_[COMMANDS], $_[SHORTHELP] ];
}));
if (!filter) return help_array.map(function($_) { if (!filter) return help_array.map(function($_) {
return [$_[COMMANDS][0], $_[SHORTHELP]]; return [$_[COMMANDS][0], $_[1]]; // unfiltered, use the first command
}); });
return build_longest_common_substring(help_array, filter); return build_longest_common_substring(help_array, filter);
}/*}}}*/ }/*}}}*/

View File

@@ -38,35 +38,6 @@ function help(section, easter)
var doc = window.content.document; var doc = window.content.document;
var header = '<h1 align=center>Vimperator</h1>' +
'<p align=center><b>First there was a Navigator, then there was an Explorer.<br/>'+
'Later it was time for a Konqueror. Now it\'s time for an Imperator, the VIMperator :)</b></p>';
var introduction = '<h2>Introduction</h2>' +
'<p><a href="http://vimperator.mozdev.org">Vimperator</a> is a free browser add-on for Firefox, which makes it look and behave like the <a href="http://www.vim.org">Vim</a> text editor.<br/>' +
'It has similar key bindings, and you could call it a modal webbrowser, as key bindings differ according to which mode you are in.</p>' +
'<p><font color=red><b>Warning:</b></font> To provide the most authentic Vim experience, the Firefox menubar and toolbar were hidden.<br/>'+
'If you really need them, type: <code class=command>:set guioptions=mT</code> to get it back.<br>' +
'If you don\'t like Vimperator at all, you can uninstall it by typing <code class=command>:addons</code> and remove/disable it.<br/>' +
'If you like it, but can\'t remember the shortcuts, press <code class=mapping>F1</code> or <code class=command>:help</code> to get this help window back.</p>' +
'<p>Since Vimperator\'s GUI is embedded into a toolbar, it may look too 3D-like with the default theme.<br/>'+
'For best experience, I therefore recommend the <a href=\"https://addons.mozilla.org/firefox/364/\">Whitehart</a> theme.</p>' +
'<p>Vimperator was written by <a href="mailto:stubenschrott@gmx.net">Martin Stubenschrott</a>. If you appreciate my work on Vimperator, you can either<br/>'+
'send me greetings, patches or make a donation: ' +
'<form action="https://www.paypal.com/cgi-bin/webscr" method="post">' +
'<input type="hidden" name="cmd" value="_s-xclick">' +
'<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">' +
'<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">' +
'<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBDDJfc+lXLBSAM9XSWv/ebzG/L7PTqYiIXaWVg8pfinDsfYaAcifcgCTuApg4v/VaZIQ/hLODzQu2EvmjGXP0twErA/Q8G5gx0l197PJSyVXb1sLwd1mgOdLF4t0HmDCdEI9z3H6CMhsb3xVwlfpzllSfCIqzlSpx4QtdzEZGzLDELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI8ZOwn5QkHgaAgZjjtPQxB7Vw2rS7Voap9y+xdVLoczUQ97hw+bOdZLcGykBtfoVjdn76MS51QKjGp1fEmxkqTuQ+Fxv8+OVtHu0QF/qlrhmC3fJBRJ0IFWxKdXS+Wod4615BDaG2X1hzvCL443ffka8XlLSiFTuW43BumQs/O+6Jqsk2hcReP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gV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDMyMTIyMzI1OFowIwYJKoZIhvcNAQkEMRYEFCirrvlwYVHQiNEEbM6ikfx9+Dm5MA0GCSqGSIb3DQEBAQUABIGAtbsR8GdCdURLziozXLSdtY+zJZUPPeQFXXy2V1S/3ldiN+pRvd4HI7xz8mOY1UaKJZpwZnOosy9MflL1/hbiEtEyQ2Dm/s4jnTcJng/NjLIZu+0NYxXRJhB+zMJubnMMMjzNrGlqI4F2HAB/bCA1eOJ5B83Of3dA4rk/T/8GoSQ=-----END PKCS7-----">' +
'</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 :)</p>'
// xxx: for firebug: :js Firebug.toggleBar(true) // xxx: for firebug: :js Firebug.toggleBar(true)
/* commands = array where help information is located /* commands = array where help information is located
@@ -124,7 +95,7 @@ function help(section, easter)
var cmd_name = commands[i][COMMANDS][j]; var cmd_name = commands[i][COMMANDS][j];
cmd_name = cmd_name.replace(/</g, "&lt;"); cmd_name = cmd_name.replace(/</g, "&lt;");
cmd_name = cmd_name.replace(/>/g, "&gt;"); cmd_name = cmd_name.replace(/>/g, "&gt;");
ret += "<code id='" + commands[i][COMMANDS][j] + "'>" +beg+ cmd_name +end+ '</code><br/>'; ret += '<code id="' +beg+ commands[i][COMMANDS][j] +end+ '">' +beg+ cmd_name +end+ '</code><br/>';
} }
ret += '</td></tr>'; ret += '</td></tr>';
@@ -157,6 +128,35 @@ function help(section, easter)
return ret; return ret;
} }
var header = '<h1 align=center>Vimperator</h1>' +
'<p align=center><b>First there was a Navigator, then there was an Explorer.<br/>'+
'Later it was time for a Konqueror. Now it\'s time for an Imperator, the VIMperator :)</b></p>';
var introduction = '<h2>Introduction</h2>' +
'<p><a href="http://vimperator.mozdev.org">Vimperator</a> is a free browser add-on for Firefox, which makes it look and behave like the <a href="http://www.vim.org">Vim</a> text editor.<br/>' +
'It has similar key bindings, and you could call it a modal webbrowser, as key bindings differ according to which mode you are in.</p>' +
'<p><font color=red><b>Warning:</b></font> To provide the most authentic Vim experience, the Firefox menubar and toolbar were hidden.<br/>'+
'If you really need them, type: <code class=command>:set guioptions=mT</code> to get it back.<br>' +
'If you don\'t like Vimperator at all, you can uninstall it by typing <code class=command>:addons</code> and remove/disable it.<br/>' +
'If you like it, but can\'t remember the shortcuts, press <code class=mapping>F1</code> or <code class=command>:help</code> to get this help window back.</p>' +
'<p>Since Vimperator\'s GUI is embedded into a toolbar, it may look too 3D-like with the default theme.<br/>'+
'For best experience, I therefore recommend the <a href=\"https://addons.mozilla.org/firefox/364/\">Whitehart</a> theme.</p>' +
'<p>Vimperator was written by <a href="mailto:stubenschrott@gmx.net">Martin Stubenschrott</a>. If you appreciate my work on Vimperator, you can either<br/>'+
'send me greetings, patches or make a donation: ' +
'<form action="https://www.paypal.com/cgi-bin/webscr" method="post">' +
'<input type="hidden" name="cmd" value="_s-xclick">' +
'<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">' +
'<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"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kxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDMyMTIyMzI1OFowIwYJKoZIhvcNAQkEMRYEFCirrvlwYVHQiNEEbM6ikfx9+Dm5MA0GCSqGSIb3DQEBAQUABIGAtbsR8GdCdURLziozXLSdtY+zJZUPPeQFXXy2V1S/3ldiN+pRvd4HI7xz8mOY1UaKJZpwZnOosy9MflL1/hbiEtEyQ2Dm/s4jnTcJng/NjLIZu+0NYxXRJhB+zMJubnMMMjzNrGlqI4F2HAB/bCA1eOJ5B83Of3dA4rk/T/8GoSQ=-----END PKCS7-----">' +
'</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 :)</p>'
var mappings = '<h2>Mappings</h2>'+ var mappings = '<h2>Mappings</h2>'+
'<p>The denotion of modifier keys is like in Vim, so C- means the Control key, M- the Meta key, A- the Alt key and S- the Shift key.</p>'+ '<p>The denotion of modifier keys is like in Vim, so C- means the Control key, M- the Meta key, A- the Alt key and S- the Shift key.</p>'+
'<p><table class="vimperator mappings">' '<p><table class="vimperator mappings">'
@@ -181,15 +181,14 @@ function help(section, easter)
var fulldoc = '<html><head><title>Vimperator help</title>' + var fulldoc = '<html><head><title>Vimperator help</title>' +
// XXX: stylesheet broken here? Have to add it in the vimperator.xul file // XXX: stylesheet broken here? Have to add it in the vimperator.xul file
'<link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css">'+ '<link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css">'+
'</head><body><pre style="white-space: -moz-pre-wrap !important;">' + // should change that to: white-space: pre-wrap; once CSS3 hits firefox '</head><body><pre style="white-space: -moz-pre-wrap !important;"><table class="main"><tr><td>' + // should change that to: white-space: pre-wrap; once CSS3 hits firefox
header + header +
introduction + introduction +
mappings + mappings +
commands + commands +
settings + settings +
'</pre></body></html>' '</td></tr></table></pre></body></html>'
// fulldoc = '<html><head><title>Vimperator help</title><!--link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css"--></head><body><p class=moo>hallo</p></body></html>';
doc.open(); doc.open();
doc.write(fulldoc); doc.write(fulldoc);
@@ -222,7 +221,7 @@ function help(section, easter)
} }
var pos = cumulativeOffset(element); var pos = cumulativeOffset(element);
// horizontal offset is annyoing, set it to 0 (use pos[0] if you want horizontal offset) // horizontal offset is annyoing, set it to 0 (use pos[0] if you want horizontal offset)
window.content.scrollTo(0, pos[1]); window.content.scrollTo(0, pos[1] - 50); // 50 pixel context lines
} }
} }

View File

@@ -14,12 +14,15 @@ bmdel commands.js /^function bmdel(str)$/;" f
bmshow commands.js /^function bmshow(filter, fullmode)$/;" f bmshow commands.js /^function bmshow(filter, fullmode)$/;" f
buffer_preview_toggle commands.js /^function buffer_preview_toggle()$/;" f buffer_preview_toggle commands.js /^function buffer_preview_toggle()$/;" f
buffer_preview_update commands.js /^function buffer_preview_update(event)$/;" f buffer_preview_update commands.js /^function buffer_preview_update(event)$/;" f
buffer_switch commands.js /^function buffer_switch(string)$/;" f
bufshow commands.js /^function bufshow(filter, in_comp_window)$/;" f bufshow commands.js /^function bufshow(filter, in_comp_window)$/;" f
build_longest_common_substring completion.js /^function build_longest_common_substring(list, filter)\/*{{{*\/$/;" f
build_longest_starting_substring completion.js /^function build_longest_starting_substring(list, filter)\/*{{{*\/$/;" f
changeHintFocus hints.js /^ function changeHintFocus(linkNumString, oldLinkNumString)$/;" f changeHintFocus hints.js /^ function changeHintFocus(linkNumString, oldLinkNumString)$/;" f
completion_add_to_list completion.js /^function completion_add_to_list(completion_item, at_beginning)\/*{{{*\/$/;" f completion_add_to_list completion.js /^function completion_add_to_list(completion_item, at_beginning)\/*{{{*\/$/;" f
completion_fill_list completion.js /^function completion_fill_list(startindex)\/*{{{*\/$/;" f completion_fill_list completion.js /^function completion_fill_list(startindex)\/*{{{*\/$/;" f
completion_select_next_item completion.js /^function completion_select_next_item()\/*{{{*\/$/;" f completion_select_next_item completion.js /^function completion_select_next_item(has_list, has_full, has_longest)\/*{{{*\/$/;" f
completion_select_previous_item completion.js /^function completion_select_previous_item()\/*{{{*\/$/;" f completion_select_previous_item completion.js /^function completion_select_previous_item(has_list, has_full, has_longest)\/*{{{*\/$/;" f
completion_show_list completion.js /^function completion_show_list()\/*{{{*\/$/;" f completion_show_list completion.js /^function completion_show_list()\/*{{{*\/$/;" f
copyToClipboard commands.js /^function copyToClipboard(str)$/;" f copyToClipboard commands.js /^function copyToClipboard(str)$/;" f
createCursorPositionString vimperator.js /^function createCursorPositionString()$/;" f createCursorPositionString vimperator.js /^function createCursorPositionString()$/;" f
@@ -32,7 +35,7 @@ echo commands.js /^function echo(msg)$/;" f
echoerr commands.js /^function echoerr(msg)$/;" f echoerr commands.js /^function echoerr(msg)$/;" f
execute commands.js /^function execute(string)$/;" f execute commands.js /^function execute(string)$/;" f
execute_command commands.js /^function execute_command(count, cmd, special, args, modifiers) \/\/ {{{$/;" f execute_command commands.js /^function execute_command(count, cmd, special, args, modifiers) \/\/ {{{$/;" f
filter_url_array completion.js /^function filter_url_array(urls, filter, use_regex)\/*{{{*\/$/;" f filter_url_array completion.js /^function filter_url_array(urls, filter)\/*{{{*\/$/;" f
focusContent vimperator.js /^function focusContent(clear_command_line, clear_statusline)$/;" f focusContent vimperator.js /^function focusContent(clear_command_line, clear_statusline)$/;" f
focusNextFrame commands.js /^function focusNextFrame()$/;" f focusNextFrame commands.js /^function focusNextFrame()$/;" f
fopen file.js /^function fopen (path, mode, perms, tmp)$/;" f fopen file.js /^function fopen (path, mode, perms, tmp)$/;" f
@@ -49,19 +52,21 @@ getLinkNodes vimperator.js /^function getLinkNodes(doc)$/;" f
getPageLinkNodes vimperator.js /^function getPageLinkNodes()$/;" f getPageLinkNodes vimperator.js /^function getPageLinkNodes()$/;" f
getProperty bookmarks.js /^function getProperty( aInput, aArc, DS )$/;" f getProperty bookmarks.js /^function getProperty( aInput, aArc, DS )$/;" f
get_bookmark_completions completion.js /^function get_bookmark_completions(filter)\/*{{{*\/$/;" f get_bookmark_completions completion.js /^function get_bookmark_completions(filter)\/*{{{*\/$/;" f
get_buffer_completions completion.js /^function get_buffer_completions(filter)$/;" f get_buffer_completions completion.js /^function get_buffer_completions(filter)\/*{{{*\/$/;" f
get_command commands.js /^function get_command(cmd) \/\/ {{{$/;" f get_command commands.js /^function get_command(cmd) \/\/ {{{$/;" f
get_command_completions completion.js /^function get_command_completions(filter)\/*{{{*\/$/;" f get_command_completions completion.js /^function get_command_completions(filter)\/*{{{*\/$/;" f
get_file_completions completion.js /^function get_file_completions(filter)\/*{{{*\/$/;" f get_file_completions completion.js /^function get_file_completions(filter)\/*{{{*\/$/;" f
get_firefox_pref settings.js /^function get_firefox_pref(name, default_value)$/;" f get_firefox_pref settings.js /^function get_firefox_pref(name, default_value)$/;" f
get_help_completions completion.js /^function get_help_completions(filter)$/;" f get_help_completions completion.js /^function get_help_completions(filter)\/*{{{*\/$/;" f
get_history_completions completion.js /^function get_history_completions(filter)\/*{{{*\/$/;" f get_history_completions completion.js /^function get_history_completions(filter)\/*{{{*\/$/;" f
get_longest_substring completion.js /^function get_longest_substring()\/*{{{*\/$/;" f
get_pref settings.js /^function get_pref(name, forced_default)$/;" f get_pref settings.js /^function get_pref(name, forced_default)$/;" f
get_search_completions completion.js /^function get_search_completions(filter)\/*{{{*\/$/;" f get_search_completions completion.js /^function get_search_completions(filter)\/*{{{*\/$/;" f
get_setting settings.js /^function get_setting(cmd)$/;" f get_setting settings.js /^function get_setting(cmd)\/*{{{*\/$/;" f
get_settings_completions completion.js /^function get_settings_completions(filter)\/*{{{*\/$/;" f get_settings_completions completion.js /^function get_settings_completions(filter, unfiltered)\/*{{{*\/$/;" f
get_url_completions completion.js /^function get_url_completions(filter)\/*{{{*\/$/;" f get_url_completions completion.js /^function get_url_completions(filter)\/*{{{*\/$/;" f
get_url_mark commands.js /^function get_url_mark(mark)$/;" f get_url_mark commands.js /^function get_url_mark(mark)$/;" f
goUp commands.js /^function goUp(count)$/;" f
hasMode commands.js /^function hasMode(mode)$/;" f hasMode commands.js /^function hasMode(mode)$/;" f
help help.js /^function help(section, easter)$/;" f help help.js /^function help(section, easter)$/;" f
historyGoToBeginning commands.js /^function historyGoToBeginning()$/;" f historyGoToBeginning commands.js /^function historyGoToBeginning()$/;" f
@@ -71,6 +76,7 @@ hsshow commands.js /^function hsshow(filter, fullmode)$/;" f
init vimperator.js /^function init()$/;" f init vimperator.js /^function init()$/;" f
initDoc hints.js /^ function initDoc(event)$/;" f initDoc hints.js /^ function initDoc(event)$/;" f
invalidateCoords hints.js /^ function invalidateCoords(doc)$/;" f invalidateCoords hints.js /^ function invalidateCoords(doc)$/;" f
isDirectory commands.js /^function isDirectory(url)$/;" f
isFormElemFocused vimperator.js /^function isFormElemFocused()$/;" f isFormElemFocused vimperator.js /^function isFormElemFocused()$/;" f
keyToString vimperator.js /^function keyToString(event)$/;" f keyToString vimperator.js /^function keyToString(event)$/;" f
load_history completion.js /^function load_history()$/;" f load_history completion.js /^function load_history()$/;" f
@@ -91,8 +97,8 @@ openURLsInNewTab commands.js /^function openURLsInNewTab(str, activate)$/;" f
openVimperatorBar vimperator.js /^function openVimperatorBar(str)$/;" f openVimperatorBar vimperator.js /^function openVimperatorBar(str)$/;" f
outputAddonsList commands.js /^function outputAddonsList(aTarget)$/;" f outputAddonsList commands.js /^function outputAddonsList(aTarget)$/;" f
parseBookmarkString bookmarks.js /^function parseBookmarkString(str, res)$/;" f parseBookmarkString bookmarks.js /^function parseBookmarkString(str, res)$/;" f
preview_window_fill completion.js /^function preview_window_fill(completions)$/;" f preview_window_fill completion.js /^function preview_window_fill(completions)\/*{{{*\/$/;" f
preview_window_select completion.js /^function preview_window_select(event)$/;" f preview_window_select completion.js /^function preview_window_select(event)\/*{{{*\/$/;" f
preview_window_show completion.js /^function preview_window_show()\/*{{{*\/$/;" f preview_window_show completion.js /^function preview_window_show()\/*{{{*\/$/;" f
quit commands.js /^function quit(save_session)$/;" f quit commands.js /^function quit(save_session)$/;" f
reload commands.js /^function reload(all_tabs)$/;" f reload commands.js /^function reload(all_tabs)$/;" f

View File

@@ -771,7 +771,6 @@ function onEscape()
if (!hasMode(MODE_ESCAPE_ONE_KEY)) if (!hasMode(MODE_ESCAPE_ONE_KEY))
{ {
setCurrentMode(MODE_NORMAL); setCurrentMode(MODE_NORMAL);
// BrowserStop(); -> moved to <C-c>
hah.disableHahMode(); hah.disableHahMode();
focusContent(true, true); focusContent(true, true);
} }