summaryrefslogtreecommitdiff
path: root/vimperatorrc
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-23 21:52:45 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-23 21:53:37 +0200
commit1d7e566395d3ab17dc53804f55b66d5b5ef6438c (patch)
tree3eeb717bf7599a5647b22dc7659bdc51450a8eaf /vimperatorrc
parenta45024f9511fb469198df79c08fdcfc747d319e1 (diff)
downloaddotfiles-1d7e566395d3ab17dc53804f55b66d5b5ef6438c.tar.xz
vimperator: moved bookmark star to the statusbar
Diffstat (limited to 'vimperatorrc')
-rw-r--r--vimperatorrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/vimperatorrc b/vimperatorrc
index 2b2a60c..13d6a1e 100644
--- a/vimperatorrc
+++ b/vimperatorrc
@@ -241,3 +241,15 @@ javascript <<EOF
.insertBefore(feedPanel, document.getElementById("security-button"));
})();
EOF
+
+" Show the bookmark-button in the statusbar
+javascript <<EOF
+(function(){
+ var bookPanel = document.createElement("statusbarpanel");
+ bookPanel.setAttribute("id", "book-panel-clone");
+ bookPanel.appendChild(document.getElementById("star-button"));
+ bookPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
+ document.getElementById("status-bar")
+ .insertBefore(bookPanel, document.getElementById("security-button"));
+})();
+EOF