diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-01-07 12:20:52 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-02-14 20:38:16 -0700 |
commit | a159bc7c3f437857f3684959caeeee9e33972598 (patch) | |
tree | 7c866297f5a821e1c4eadd48deb61fdd9fca274c | |
parent | 42ead959c23fdaacb530744139be2bb94600be3d (diff) |
tidying after the history branch merge
-rw-r--r-- | examples/config/config | 3 | ||||
-rw-r--r-- | examples/data/plugins/bind.py | 2 | ||||
-rw-r--r-- | examples/data/plugins/history.py | 3 |
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] |