aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/config/config3
-rw-r--r--examples/data/plugins/bind.py2
-rw-r--r--examples/data/plugins/history.py3
3 files changed, 1 insertions, 7 deletions
diff --git a/examples/config/config b/examples/config/config
index 2fea0d7..c708576 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -200,8 +200,7 @@ set ebind = @mode_bind global,-insert
#@ebind <Ctrl>du = event APPEND_KEYCMD \@uri
#@ebind <Ctrl>dt = event APPEND_KEYCMD \@title
-
-# === Mouse bindings =========================================================
+# --- Mouse bindings ---------------------------------------------------------
# Middle click open in new window
@bind <Button2> = sh 'if [ "$1" ]; then echo "event REQ_NEW_WINDOW $1" > "$UZBL_FIFO"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' '\@SELECTED_URI'
diff --git a/examples/data/plugins/bind.py b/examples/data/plugins/bind.py
index 261dc5d..41f96c5 100644
--- a/examples/data/plugins/bind.py
+++ b/examples/data/plugins/bind.py
@@ -420,8 +420,6 @@ def match_and_exec(uzbl, bind, depth, keylet, bindlet):
if not has_args or on_exec:
del uzbl.config['mode']
bindlet.reset()
- # cleared by keycmd_exec_current, why is this here? breaks history
- #uzbl.clear_current()
return True
diff --git a/examples/data/plugins/history.py b/examples/data/plugins/history.py
index 2ab2ce3..5e9e4e1 100644
--- a/examples/data/plugins/history.py
+++ b/examples/data/plugins/history.py
@@ -42,7 +42,6 @@ class History(object):
self.search_key = None
if self._temporary:
- print 'popping temporary'
return self._temporary.pop()
return ''
@@ -73,8 +72,6 @@ class History(object):
self._temporary.append(cmd)
self.cursor = len(self) - 1
- print 'adding temporary', self
-
def __getitem__(self, i):
if i < len(shared_history[self.prompt]):
return shared_history[self.prompt][i]