diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 4303c21a..5750216d 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -597,7 +597,8 @@ var g_mappings = [/*{{{*/ "Start AlwaysHint mode", "In AlwaysHint mode, every hintable item (according to the 'hinttags' XPath query) is assigned a label.
"+ "If you then press the keys for a label, it is followed as soon as it can be uniquely identified. Labels stay active after following a hint in this mode, press <Esc> to stop this mode.
"+ - "This hint mode is especially useful for browsing large sites like Forums as hints are automatically regenerated when switching to a new document.", + "This hint mode is especially useful for browsing large sites like Forums as hints are automatically regenerated when switching to a new document.
"+ + "Also, most Ctrl-prefixed shortcut keys are available in this mode for navigation.", function(count) { hah.enableHahMode(HINT_MODE_ALWAYS); } ], [ @@ -771,12 +772,15 @@ var g_hint_mappings = [ /*{{{*/ ["", "tab_go(0)", true, true], // same as gt, but no count supported ["", "tab_go(-1)", true, true], /* navigation */ + ["", "stepInHistory(g_count > 0 ? -1 * g_count : -1);", false, true], + ["", "stepInHistory(g_count > 0 ? g_count : 1);", false, true], ["", "stepInHistory(g_count > 0 ? -1 * g_count : -1);", false, true], ["", "stepInHistory(g_count > 0 ? g_count : 1);", false, true], ["", "tab_remove(g_count, false, 0);", true, true], /* cancel hint mode keys */ ["", "", true, true], ["", "", true, true], + ["", "", true, true], ["", "", true, true] ]; /*}}}*/ @@ -789,7 +793,8 @@ var g_searchengines = [ /*{{{*/ ["imdb", "http://www.imdb.com/find?s=all&q=%s"], ["leo", "http://dict.leo.org/ende?search=%s"], ["wien", "http://members.aon.at/flole/vienna.html?UserQuery=%s&ResUser=1024&WidthUser=2000"], - ["wiki", "http://en.wikipedia.org/wiki/%s"] + ["wiki", "http://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go"], + ["vim", "http://www.google.com/custom?q=%s&sa=Google+Search&cof=LW%3A125%3BL%3Ahttp%3A%2F%2Fvim.sf.net%2Fimages%2Fvim.gif%3BLH%3A60%3BAH%3Acenter%3BGL%3A0%3BS%3Ahttp%3A%2F%2Fwww.vim.org%3BAWFID%3A057fa53529d52655%3B&domains=vim.sourceforge.net%3Bwww.vim.org%3Bvimdoc.sourceforge.net&sitesearch=vim.sourceforge.net"] ];/*}}}*/ diff --git a/chrome/content/vimperator/settings.js b/chrome/content/vimperator/settings.js index c5204b60..05fd32ed 100644 --- a/chrome/content/vimperator/settings.js +++ b/chrome/content/vimperator/settings.js @@ -88,11 +88,11 @@ var g_settings = [/*{{{*/ [ ["focusedhintstyle", "fhs"], "CSS specification of focused hints appearance", - null, + "The font (and size) is inherited from Firefox's prefences for Monospaced fonts. Change them in the GUI prefernce panel if necessary.", function(value) { set_pref("focusedhintstyle", value); }, function() { return get_pref("focusedhintstyle"); }, "string", - "z-index:500;font:normal normal normal x-small monospace;color:ButtonText;background-color:ButtonShadow;border-color:ButtonShadow;border-width:1px;border-style:solid;padding:0px 1px 0px 1px;position:absolute;", + "z-index:500;font-family:monospace;font-size:12;color:ButtonText;background-color:ButtonShadow;border-color:ButtonShadow;border-width:1px;border-style:solid;padding:0px 1px 0px 1px;position:absolute;", null, null ], @@ -132,11 +132,11 @@ var g_settings = [/*{{{*/ [ ["hintstyle", "hs"], "CSS specification of unfocused hints appearance", - null, + "The font (and size) is inherited from Firefox's prefences for Monospaced fonts. Change them in the GUI prefernce panel if necessary.", function(value) { set_pref("hintstyle", value); }, function() { return get_pref("hintstyle"); }, "string", - "z-index:500;font:normal normal normal x-small monospace;color:black;background-color:yellow;border-color:ButtonShadow;border-width:0px;border-style:solid;padding:0px 0px 0px 0px;position:absolute;", + "z-index:500;font-family:monospace;font-size:12;color:black;background-color:yellow;border-color:ButtonShadow;border-width:0px;border-style:solid;padding:0px 0px 0px 0px;position:absolute;", null, null ],