From d7afd52eb024f1c79cdda8d3492f528158d87b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 15 Feb 2019 17:21:29 -0500 Subject: minor fix --- modules/init-helm.el | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/init-helm.el (limited to 'modules/init-helm.el') diff --git a/modules/init-helm.el b/modules/init-helm.el new file mode 100644 index 0000000..d498a5c --- /dev/null +++ b/modules/init-helm.el @@ -0,0 +1,34 @@ +;;; init-helm.el --- .Emacs Configuration -*- lexical-binding: t -*- +;;; Commentary: +;; + +;;; Code: +(use-package helm + :ensure t + :bind (("M-x" . helm-M-x) + ("C-x b" . helm-buffers-list) + ("C-x r b" . helm-filtered-bookmarks) + ("M-y" . helm-show-kill-ring) + ("C-x C-f" . helm-find-files) + :map helm-map + ("" . helm-execute-persistent-action) + ("C-i" . helm-execute-persistent-action) + ("C-z" . helm-select-action)) + + :config + (setq helm-autoresize-mode t) ;; default 40% + (setq helm-split-window-inside-p t) + (setq helm-autoresize-max-height 50) + (setq helm-autoresize-min-height 20) + + ;; colors + (set-face-attribute 'helm-selection nil + :background "gold" + :foreground "black")) + +(provide 'init-helm) + +;; Local Variables: +;; byte-compile-warnings: (not free-vars) +;; End: +;;; init-helm.el ends here -- cgit v1.2.3