Add helm package, configure helm-surfraw new function.

- quicker hotkey for searching using ddg only
This commit is contained in:
jowj 2019-04-27 11:03:55 -05:00
parent 5f8bea7a99
commit 1de896d7d3
2 changed files with 19 additions and 1 deletions

View File

@ -19,6 +19,7 @@
cargo cargo
flycheck-rust flycheck-rust
racer racer
helm
;;company-mode ;;company-mode
org2blog org2blog
pylint pylint
@ -39,6 +40,7 @@
myPackages) myPackages)
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-misc.el") (load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-misc.el")
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-helm.el")
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-org.el") (load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-org.el")
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-python.el") (load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-python.el")
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-rust.el") (load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-rust.el")
@ -60,8 +62,18 @@
'(org-modules '(org-modules
'(org-bbdb org-bibtex org-docview org-gnus org-habit org-info org-irc org-mhe org-rmail org-w3m)) '(org-bbdb org-bibtex org-docview org-gnus org-habit org-info org-irc org-mhe org-rmail org-w3m))
'(package-selected-packages '(package-selected-packages
'(racer flycheck-rust rust-mode color-theme-sanityinc-tomorrow org2blog multiple-cursors flymake-python-pyflakes pdf-tools weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode))) '(helm racer flycheck-rust rust-mode color-theme-sanityinc-tomorrow org2blog multiple-cursors flymake-python-pyflakes pdf-tools weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode)))
;;;; run emacs as server (connect to it with `emacsclient`) ;;;; run emacs as server (connect to it with `emacsclient`)
(server-start) (server-start)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-level-1 ((t (:inherit outline-1 :height 1.3))))
'(org-level-2 ((t (:inherit outline-2 :height 1.2))))
'(org-level-3 ((t (:inherit outline-3 :height 1.1))))
'(org-level-4 ((t (:inherit outline-4 :height 1.1))))
'(org-level-5 ((t (:inherit outline-5 :height 1.1)))))

View File

@ -0,0 +1,6 @@
(defun helm-surfraw-duck (x)
"Search duckduckgo in default browser"
(interactive "sSEARCH:")
(helm-surfraw x "duckduckgo" ))
(global-set-key (kbd "C-c s") 'helm-surfraw-duck)