From f83428f9f3d44d39fae45d39bb1633785ed75df3 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont" <antoine.romain.dumont@gmail.com>
Date: Sat, 11 Jan 2014 19:19:59 +0100
Subject: [PATCH] Add binding `C-c U` for DuckDuckGo search

---
 core/prelude-core.el | 1 +
 core/prelude-mode.el | 1 +
 2 files changed, 2 insertions(+)

diff --git a/core/prelude-core.el b/core/prelude-core.el
index 36b14d7..fa630b3 100644
--- a/core/prelude-core.el
+++ b/core/prelude-core.el
@@ -401,6 +401,7 @@ Doesn't mess with special buffers."
     "Press <C-c g> to search in Google."
     "Press <C-c G> to search in GitHub."
     "Press <C-c y> to search in YouTube."
+    "Press <C-c U> to search in DuckDuckGo."
     "Press <C-c r> to rename the current buffer and file it's visiting."
     "Press <C-c t> to open a terminal in Emacs."
     "Press <C-c k> to kill all the buffers, but the active one."
diff --git a/core/prelude-mode.el b/core/prelude-mode.el
index 2258c0a..bd7a2ff 100644
--- a/core/prelude-mode.el
+++ b/core/prelude-mode.el
@@ -39,6 +39,7 @@
     (define-key map (kbd "C-c g") 'prelude-google)
     (define-key map (kbd "C-c G") 'prelude-github)
     (define-key map (kbd "C-c y") 'prelude-youtube)
+    (define-key map (kbd "C-c U") 'prelude-duckduckgo)
     ;; mimic popular IDEs binding, note that it doesn't work in a terminal session
     (define-key map [(shift return)] 'prelude-smart-open-line)
     (define-key map (kbd "M-o") 'prelude-smart-open-line)