more helm config
This commit is contained in:
parent
9b375254bb
commit
435f74a7cb
|
@ -4,7 +4,7 @@
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(add-to-list 'package-selected-packages
|
(add-to-list 'package-selected-packages
|
||||||
'(helpful helm dired-rainbow dired-rainbow-listing dired-single dash s origami diminish persp-mode modus-themes transpose-frame use-package)
|
'(helpful helm helm-org helm-ls-git dired-rainbow dired-rainbow-listing dired-single dash s origami diminish persp-mode modus-themes transpose-frame use-package)
|
||||||
)
|
)
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
(dired-rainbow-define xml "#f2d024"
|
(dired-rainbow-define xml "#f2d024"
|
||||||
("xml" "xsd" "xsl" "xslt" "wsdl" "bib" "json" "msg"
|
("xml" "xsd" "xsl" "xslt" "wsdl" "bib" "json" "msg"
|
||||||
"pgn" "rss" "yaml" "yml" "rdata" "sln" "csproj"
|
"pgn" "rss" "yaml" "yml" "rdata" "sln" "csproj"
|
||||||
e "meta" "unity" "tres" "tscn" "import" "godot"))
|
"meta" "unity" "tres" "tscn" "import" "godot"))
|
||||||
(dired-rainbow-define document "#9561e2"
|
(dired-rainbow-define document "#9561e2"
|
||||||
("docm" "doc" "docx" "odb" "odt" "pdb" "pdf" "ps"
|
("docm" "doc" "docx" "odb" "odt" "pdb" "pdf" "ps"
|
||||||
"rtf" "djvu" "epub" "odp" "ppt" "pptx" "xls" "xlsx"
|
"rtf" "djvu" "epub" "odp" "ppt" "pptx" "xls" "xlsx"
|
||||||
|
@ -329,12 +329,15 @@ e "meta" "unity" "tres" "tscn" "import" "godot"))
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; helm
|
; helm
|
||||||
(setq completion-styles '(flex))
|
(setq completion-styles '(flex))
|
||||||
|
|
||||||
(require 'helm-config)
|
(require 'helm-config)
|
||||||
|
(require 'helm-color)
|
||||||
|
(require 'helm-ls-git)
|
||||||
|
(require 'helm-org)
|
||||||
|
|
||||||
(helm-mode 1)
|
(helm-mode 1)
|
||||||
; helm-browse-project
|
(helm-autoresize-mode 1)
|
||||||
; helm-ls-git
|
(global-set-key (kbd "C-x C-d") 'helm-browse-project)
|
||||||
; helm-dabbrev
|
|
||||||
; helm-imenu and helm-imenu-in-all-buffers: provide imenus for current or all buffers
|
|
||||||
(define-key global-map [remap find-file] 'helm-find-files)
|
(define-key global-map [remap find-file] 'helm-find-files)
|
||||||
(define-key global-map [remap occur] 'helm-occur)
|
(define-key global-map [remap occur] 'helm-occur)
|
||||||
(define-key global-map [remap list-buffers] 'helm-buffers-list)
|
(define-key global-map [remap list-buffers] 'helm-buffers-list)
|
||||||
|
@ -346,6 +349,9 @@ e "meta" "unity" "tres" "tscn" "import" "godot"))
|
||||||
(define-key emacs-lisp-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point))
|
(define-key emacs-lisp-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point))
|
||||||
(add-hook 'kill-emacs-hook #'(lambda () (and (file-exists-p "$CONF_FILE") (delete-file "$CONF_FILE"))))
|
(add-hook 'kill-emacs-hook #'(lambda () (and (file-exists-p "$CONF_FILE") (delete-file "$CONF_FILE"))))
|
||||||
|
|
||||||
|
(add-to-list 'helm-completing-read-handlers-alist '(org-capture . helm-org-completing-read-tags))
|
||||||
|
(add-to-list 'helm-completing-read-handlers-alist '(org-set-tags . helm-org-completing-read-tags))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; flyspell
|
; flyspell
|
||||||
;(require 'flyspell)
|
;(require 'flyspell)
|
||||||
|
|
Reference in a new issue