aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-03-09 16:03:58 -0800
committerCarl Worth <cworth@cworth.org>2010-03-09 16:03:58 -0800
commite3046c688be7a28e7dcfbce5fa54074917fd9904 (patch)
tree439f3c1ea4ca7a15c5e18bd57dee54bd205d7c46 /lib
parentbbda0a015629d0a760d98b8d23888f50c9297a12 (diff)
Add is:<tag> as a synonym for tag:<tag> in search terms.
I like the readability of this, it provides compatibility with people trained in this syntax by sup, and it even saves one character.
Diffstat (limited to 'lib')
-rw-r--r--lib/database.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc
index 88c85ed..c91e97c 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -147,6 +147,7 @@ prefix_t BOOLEAN_PREFIX_INTERNAL[] = {
prefix_t BOOLEAN_PREFIX_EXTERNAL[] = {
{ "thread", "G" },
{ "tag", "K" },
+ { "is", "K" },
{ "id", "Q" }
};