From 21b8518d20ae44e125e1a91459a9e968f86e82bd Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Mon, 7 Dec 2009 01:03:10 +0100 Subject: vimperator: update buftabs for vimperator nightlies --- vimperator/plugin/buftabs.js | 6 +++--- vimperatorrc | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/vimperator/plugin/buftabs.js b/vimperator/plugin/buftabs.js index e0a5087..8dfb6a7 100644 --- a/vimperator/plugin/buftabs.js +++ b/vimperator/plugin/buftabs.js @@ -34,7 +34,7 @@ buftabs = { // Get buftabbar var btabs = document.getElementById("liberator-statusline-buftabs"); var urlWidget = document.getElementById("liberator-statusline-field-url"); - var browsers = tabs.getBrowser().browsers; + var browsers = window.getBrowser().browsers; var position=0, selpos; // Make sure we have an appropriate amount of labels @@ -164,7 +164,7 @@ buftabs = { } /// Attach to events in order to update the tabline -var tabContainer = tabs.getBrowser().mTabContainer; +var tabContainer = window.getBrowser().mTabContainer; buftabs._statusline_updateUrl = statusline.updateUrl; tabContainer.addEventListener("TabMove", function (event) { @@ -184,7 +184,7 @@ tabContainer.addEventListener("TabSelect", function (event) { statusline.updateUrl(); }, false); -tabs.getBrowser().addEventListener("load", function (event) { +window.getBrowser().addEventListener("load", function (event) { if (options.get("buftabs").get()) statusline.updateUrl(); }, false); diff --git a/vimperatorrc b/vimperatorrc index 96c48fd..9bbcd48 100644 --- a/vimperatorrc +++ b/vimperatorrc @@ -213,11 +213,10 @@ map a map q :bmarks map w :bmarks -tags= -" View source with C-c g +" View source with C-c g, and map g gf -" -" or in an external editor -"map g gF +" ... in an editor with C-c e +map e gF " Open picture location with C-c p map p ;i -- cgit v1.2.3