Add binding C-c U for DuckDuckGo search

This commit is contained in:
Antoine R. Dumont 2014-01-11 19:19:59 +01:00
parent 7cca7f718e
commit f83428f9f3
2 changed files with 2 additions and 0 deletions

View file

@ -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 Google."
"Press <C-c G> to search in GitHub." "Press <C-c G> to search in GitHub."
"Press <C-c y> to search in YouTube." "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 r> to rename the current buffer and file it's visiting."
"Press <C-c t> to open a terminal in Emacs." "Press <C-c t> to open a terminal in Emacs."
"Press <C-c k> to kill all the buffers, but the active one." "Press <C-c k> to kill all the buffers, but the active one."

View file

@ -39,6 +39,7 @@
(define-key map (kbd "C-c g") 'prelude-google) (define-key map (kbd "C-c g") 'prelude-google)
(define-key map (kbd "C-c G") 'prelude-github) (define-key map (kbd "C-c G") 'prelude-github)
(define-key map (kbd "C-c y") 'prelude-youtube) (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 ;; 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 [(shift return)] 'prelude-smart-open-line)
(define-key map (kbd "M-o") 'prelude-smart-open-line) (define-key map (kbd "M-o") 'prelude-smart-open-line)