diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-11-22 08:23:04 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-11-22 08:23:04 +0000 |
commit | ee38f8a77f098a8fff29bdba62cc4ae25f57e35d (patch) | |
tree | 2e1c2087693dd55e7a95e35cf2ffa3b08ae9a7aa /init.el | |
parent | e33ad9b8fcd7124ce08e575c2dd1b4b02fe1e002 (diff) |
installed Helm from source with this initial config
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 92 |
1 files changed, 55 insertions, 37 deletions
@@ -178,6 +178,25 @@ ;; PACKAGES +;; emacs-async - for helm +(use-package async + :ensure t) + +;; popup - for helm +(use-package popup + :ensure t) + +;; helm +;; for all the options, look at https://github.com/thierryvolpiatto/emacs-config/blob/main/init-helm.el +(add-to-list 'load-path "/usr/share/emacs/site-lisp/helm/") ; facultative when installed with make install +(use-package helm + :config + (require 'helm-config) + (helm-mode 1)) +(global-set-key (kbd "C-x C-f") 'helm-find-files) +(global-set-key (kbd "C-x b") 'helm-mini) + +;; notmuch (use-package notmuch :defer t :config @@ -407,10 +426,9 @@ If failed try to complete the common part with `company-complete-common'" (use-package ido :config (ido-mode t) - (ido-everywhere t) (setq ido-enable-flex-matching t) (setq ido-create-new-buffer 'always) - (setq ido-everywhere t) + (setq ido-everywhere t) ; nil because incompatible with Helm (setq ido-file-extensions-order '(".org" ".txt" ".py" ".emacs" ".md" ".xml" ".el" ".ini")) (setq ido-enable-flex-matching t)) @@ -445,41 +463,41 @@ If failed try to complete the common part with `company-complete-common'" (setq-local ledger-complete-in-steps t))) :custom (ledger-clear-whole-transactions t)) -(use-package ivy - :diminish - :init - (use-package amx :defer t) - (use-package counsel :diminish :config (counsel-mode 1)) - (use-package swiper :defer t) - (ivy-mode 1) - :bind - (("C-s" . swiper-isearch) - ("C-x C-f" . counsel-find-file) - ("C-x C-m" . counsel-M-x) - ("C-h f" . counsel-describe-function) - ("C-h v" . counsel-describe-variable) - ("C-z s" . counsel-rg) - ("C-x C-r" . counsel-recentf) - ("C-z b" . counsel-buffer-or-recentf) - ("C-z C-b" . counsel-ibuffer) - (:map ivy-minibuffer-map - ("C-r" . ivy-previous-line-or-history) - ("M-RET" . ivy-immediate-done)) - (:map counsel-find-file-map - ("C-~" . counsel-goto-local-home))) - :custom - (ivy-use-virtual-buffers t) - (ivy-height 13) - (ivy-on-del-error-function nil) - (ivy-magic-slash-non-match-action 'ivy-magic-slash-non-match-create) - (ivy-count-format "【%d/%d】") - (ivy-wrap t) - :config - (setq projectile-completion-system 'ivy) - (defun counsel-goto-local-home () - "Go to the $HOME of the local machine." - (interactive) - (ivy--cd "~/"))) +;; (use-package ivy +;; :diminish +;; :init +;; (use-package amx :defer t) +;; (use-package counsel :diminish :config (counsel-mode 1)) +;; (use-package swiper :defer t) +;; (ivy-mode 1) +;; :bind +;; (("C-s" . swiper-isearch) +;; ("C-x C-f" . counsel-find-file) +;; ("C-x C-m" . counsel-M-x) +;; ("C-h f" . counsel-describe-function) +;; ("C-h v" . counsel-describe-variable) +;; ("C-z s" . counsel-rg) +;; ("C-x C-r" . counsel-recentf) +;; ("C-z b" . counsel-buffer-or-recentf) +;; ("C-z C-b" . counsel-ibuffer) +;; (:map ivy-minibuffer-map +;; ("C-r" . ivy-previous-line-or-history) +;; ("M-RET" . ivy-immediate-done)) +;; (:map counsel-find-file-map +;; ("C-~" . counsel-goto-local-home))) +;; :custom +;; (ivy-use-virtual-buffers t) +;; (ivy-height 13) +;; (ivy-on-del-error-function nil) +;; (ivy-magic-slash-non-match-action 'ivy-magic-slash-non-match-create) +;; (ivy-count-format "【%d/%d】") +;; (ivy-wrap t) +;; :config +;; (setq projectile-completion-system 'ivy) +;; (defun counsel-goto-local-home () +;; "Go to the $HOME of the local machine." +;; (interactive) +;; (ivy--cd "~/"))) ;; beacon mode (use-package beacon |