Created
September 4, 2014 14:45
-
-
Save toctan/ac523ef379f14f5486e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; prelude-helm.el --- Helm setup | |
;; | |
;; Copyright © 2011-2014 Bozhidar Batsov | |
;; | |
;; Author: Bozhidar Batsov <[email protected]> | |
;; URL: https://github.com/bbatsov/prelude | |
;; Version: 1.0.0 | |
;; Keywords: convenience | |
;; This file is not part of GNU Emacs. | |
;;; Commentary: | |
;; Basic Helm Configuration. | |
;;; License: | |
;; This program is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU General Public License | |
;; as published by the Free Software Foundation; either version 3 | |
;; of the License, or (at your option) any later version. | |
;; | |
;; This program is distributed in the hope that it will be useful, | |
;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
;; GNU General Public License for more details. | |
;; | |
;; You should have received a copy of the GNU General Public License | |
;; along with GNU Emacs; see the file COPYING. If not, write to the | |
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
;; Boston, MA 02110-1301, USA. | |
;;; Code: | |
(prelude-require-packages '(helm helm-projectile)) | |
(require 'helm) | |
;; The default "C-x c" is quite close to "C-x C-c", which quits Emacs. | |
;; Note: this must be placed before require `helm-config' | |
(defvar helm-command-prefix-key "C-c h") | |
(require 'helm-config) | |
(require 'helm-files) | |
(require 'helm-grep) | |
(require 'helm-projectile) | |
(when (executable-find "curl") | |
(setq helm-google-suggest-use-curl-p t)) | |
(setq helm-quick-update t | |
helm-buffers-fuzzy-matching t | |
helm-move-to-line-cycle-in-source t | |
helm-ff-search-library-in-sexp t | |
helm-ff-file-name-history-use-recentf t) | |
(define-key helm-command-map (kbd "o") 'helm-occur) | |
(define-key helm-command-map (kbd "g") 'helm-do-grep) | |
(define-key helm-command-map (kbd "C-c w") 'helm-wikipedia-suggest) | |
(define-key helm-command-map (kbd "SPC") 'helm-all-mark-rings) | |
(provide 'prelude-helm) | |
;;; prelude-helm.el ends here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment