Browse Source

Add binding `C-c U` for DuckDuckGo search

custom
Antoine R. Dumont 12 years ago
parent
commit
f83428f9f3
  1. 1
      core/prelude-core.el
  2. 1
      core/prelude-mode.el

1
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."

1
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)

Loading…
Cancel
Save