emacs add helm

This commit is contained in:
Gabriel Ebner 2023-03-30 20:38:05 -07:00
parent e8c6967897
commit 142f2cb9f8
1 changed files with 13 additions and 0 deletions

View File

@ -99,6 +99,19 @@
(install-package-if-missing 'evil-commentary) (install-package-if-missing 'evil-commentary)
(evil-commentary-mode) (evil-commentary-mode)
;; Helm
(install-package-if-missing 'helm)
(install-package-if-missing 'helm-projectile)
(install-package-if-missing 'helm-rg)
(global-set-key (kbd "M-x") #'helm-M-x)
(global-set-key (kbd "C-x C-f") #'helm-find-files)
(global-set-key (kbd "C-x C-b") #'helm-buffers-list)
(evil-define-key '(visual normal) 'global
(kbd "SPC f g") 'helm-projectile-rg
(kbd "C-p") 'helm-projectile-find-file)
(define-key helm-map (kbd "<left>") 'backward-char)
(define-key helm-map (kbd "<right>") 'forward-char)
;;; Color Themes ;;; Color Themes
(install-package-if-missing 'color-theme-sanityinc-tomorrow) (install-package-if-missing 'color-theme-sanityinc-tomorrow)
(load-theme 'sanityinc-tomorrow-bright t) (load-theme 'sanityinc-tomorrow-bright t)