Skip to content

Instantly share code, notes, and snippets.

@igaiga igaiga/helm_config.el Secret
Created Dec 13, 2013

Embed
What would you like to do?
(require 'helm-config)
(helm-descbinds-mode) ; replace descbinds by helm UI
(require 'helm-migemo)
(setq helm-use-migemo t)
(setq helm-for-files-preferred-list
(quote
(helm-c-source-buffers-list
helm-c-source-recentf
helm-c-source-bookmarks
helm-c-source-file-cache
helm-c-source-files-in-current-dir
helm-c-source-buffer-not-found)))
;; ミニバッファで C-k 入力時にカーソル以降を削除する(C-u C-k でも同様の動きをする)
(setq helm-delete-minibuffer-contents-from-point t)
;; helm define-key sample
;;(define-key helm-map (kbd "C-o") nil)
(define-key helm-map (kbd "C-j") 'helm-next-line)
(define-key helm-map (kbd "C-k") 'helm-previous-line)
(define-key helm-map (kbd "C-n") 'helm-exit-minibuffer)
;; prefix key
;(custom-set-variables '(helm-command-prefix-key "C-;"))
;; color
(custom-set-faces
'(helm-action ((((class color) (min-colors 88) (background dark)) (:foreground "wheat1"))))
'(helm-selection ((t (:background "wheat1" :foreground "black" :weight bold))))
'(helm-source-header ((t (:background "RosyBrown1" :foreground "black" :weight bold :height 1.3))))
'(helm-candidate-number ((t (:background "wheat1" :foreground "gray24" ))))
'(helm-ff-file ((t (:foreground "white"))))
'(helm-ff-symlink ((t (:foreground "wheat3"))))
'(helm-ff-executable ((t (:background "RosyBrown1" :foreground "gray24"))))
'(helm-ff-directory ((t (:background "RosyBrown1" :foreground "gray24")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.