X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;ds=sidebyside;f=emacs.d%2Fconfig.org;h=84e80fd925b1ced9bdd68b023adccf1142b33102;hb=2d6be42dad6be7123612f5d46a85c00bcefb1dab;hp=596e4f7c1d2e361c3a577fba56cb937958ec935e;hpb=da1f2d26662d650f98d4d5576a01f153628411d2;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index 596e4f7..84e80fd 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -657,7 +657,8 @@ Always indents header, and hide header leading starts so that no need type =#+ST (setq org-src-tab-acts-natively t) (setq org-confirm-babel-evaluate nil) (setq org-use-speed-commands t) - (setq org-completion-use-ido t)) + (setq org-completion-use-ido t) + (setq org-startup-with-inline-images t)) (org-babel-do-load-languages 'org-babel-load-languages @@ -717,18 +718,10 @@ In =worf-mode=, it is mapping =[=, =]= as =worf-backward= and =worf-forward= in cause we cannot input =[= and =]=, so here I unset this mappings. And redifined this two to =M-[= and =M-]=. see this [[https://github.com/abo-abo/worf/issues/19#issuecomment-223756599][issue]] #+BEGIN_SRC emacs-lisp :tangle yes :results silent - (use-package worf :ensure t :commands worf-mode - :init (add-hook 'org-mode-hook 'worf-mode) - ;; :config - ;; (define-key worf-mode-map "[" nil) - ;; (define-key worf-mode-map "]" nil) - ;; (define-key worf-mode-map (kbd "M-[") 'worf-backward) - ;; (define-key worf-mode-map (kbd "M-]") 'worf-forward) - ) - + :init (add-hook 'org-mode-hook 'worf-mode)) #+END_SRC ** Get Things Done @@ -752,12 +745,9 @@ Replace the list bullet =-=, =+=, with =•=, a litter change based [[https://g #+END_SRC *** Todo Keywords - refer to [[http://coldnew.github.io/coldnew-emacs/#orgheadline94][fancy todo states]], - To track TODO state changes, the =!= is to insert a timetamp, =@= is to insert a note with timestamp for the state change. - #+BEGIN_SRC emacs-lisp :tangle yes :results silent ;; (setq org-todo-keywords ;; '((sequence "☛ TODO(t)" "|" "✔ DONE(d)") @@ -1114,7 +1104,6 @@ Toggle an eshell in split window below, refer [[http://www.howardism.org/Technic #+END_SRC * Misc Settings - ** [[https://github.com/abo-abo/hydra][Hydra]] *** hydra install #+BEGIN_SRC emacs-lisp :tangle yes :results silent @@ -1514,7 +1503,7 @@ brew install the-silver-searcher (interactive) (dired-why) (message - "Δ: d-delete, u-ndelete, x-punge, f-ind, o-ther window, R-ename, C-opy, c-create, +new dir, r-evert, /-filter, h-summary, ?-help")) + "Δ: d-delete, u-ndelete, x-punge, f-ind, o-ther window, R-ename, C-opy, c-create, +new dir, r-evert, /-filter, v-iew, l-ist, z-Size, h-summary, ?-help")) (defun sd/dired-high-level-dir () "Go to higher level directory" @@ -2483,9 +2472,8 @@ Most use =C-o C-o= to switch buffers; =C-o x, v= to split window; =C-o o= to del ("r" (progn (winner-redo) (setq this-command 'winner-redo)) "redo") ;; ibuffer, dired, eshell, bookmarks - ;; ("C-o" ido-switch-buffer nil :exit t) - ("C-b" ido-switch-buffer nil :exit t) ;; ("C-i" other-window nil :exit t) + ("C-b" ido-switch-buffer nil :exit t) ("C-f" projectile-find-file nil :exit t) ("C-p" persp-switch :exit t)