X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=emacs_el%2Fconfiguration%2Fdon-configuration.org;h=a668579a58add428fc670a2f89e8d8b0e1072607;hb=0cb94941bc3f8ad19e08a385e2bdf6b74cc70db5;hp=b755b83f5ed81319292616f3fad7aae9e606b983;hpb=8b6d465be523e939100773a73e4d92311c5fbcd0;p=lib.git diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index b755b83..a668579 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -358,6 +358,7 @@ value, scrolling continues until there is no more output. *** Auto-YASnippet #+BEGIN_SRC emacs-lisp (use-package auto-yasnippet + :ensure t :bind (("H-w" . aya-create) ("H-y" . aya-expand) ) @@ -386,7 +387,7 @@ value, scrolling continues until there is no more output. (bind-key "C-n" #'company-select-next company-active-map) (bind-key "C-p" #'company-select-previous company-active-map) - (bind-key "" #'company-complete company-active-map) + ; (bind-key "" #'company-complete company-active-map) (bind-key "M-?" #'company-show-doc-buffer company-active-map) (bind-key "M-." #'company-show-location company-active-map) (bind-key "M-/" #'company-complete-common org-mode-map) @@ -1404,6 +1405,24 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori (setq-default org-log-done 'time) (setq-default org-agenda-ndays 5) + (setq org-agenda-sticky t) + (defun dla/show-org-agenda () + (interactive) + (let (agendabuffer + '(delq nil + (mapcar (lambda (x) + (and (string-match-p + "\*Org Agenda.*\*" + (buffer-name x)) + x) + ) + (buffer-list)))) + (if agendabuffer + (switch-to-buffer + (buffer-name agendabuffer)) + (org-agenda-list))) + (delete-other-windows)) + ;; agenda configuration ;; Do not dim blocked tasks (setq org-agenda-dim-blocked-tasks nil)