hij1nx/cdir — pull request #11 by st-luke (2012-04-27 01:02:55+00:00)
Title: Search mode duplication

I noticed that if you're in search mode and you have a previous search term in the parentheses

```(term) /```

Pressing slash again will cause duplicates:

```(term) /(term) /(term) /(term) /(term) /```

I imagine use cases for functionality like this, but in this case pressing slash in search mode activates search mode again in addition to preventing '/' from being searchable.

Checking to see if searchmode is already active takes care of this.