emacs - fix bug, move paradox under use-package
[dotfiles.git] / emacs.d / config.org
index cbe96af..046bcb8 100644 (file)
@@ -110,11 +110,6 @@ Make a temp directory for all cache/history files
 
 * Package Management Tools
 
-** paradox
-#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-  (use-package paradox
-    :ensure t)
-#+END_SRC
 ** Use-package
 Using [[https://github.com/jwiegley/use-package][use-package]] to manage emacs packages
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
@@ -135,6 +130,12 @@ Check out [[http://tapoueh.org/emacs/el-get.html][el-get]].
     (add-to-list 'load-path "~/.emacs.d/el-get"))
 #+END_SRC
 
+** paradox
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+  (use-package paradox
+    :ensure t)
+#+END_SRC
+
 * Color and Fonts Settings
 
 ** highlight current line
@@ -1412,6 +1413,7 @@ Color for Man-mode
 #+END_SRC
 
 * dired
+** Dired config
 =C-o= is defined as a global key for window operation, here unset it in dired mode
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
   (use-package dired
@@ -1426,7 +1428,7 @@ Color for Man-mode
                                  (dired-omit-mode))))
 #+END_SRC
 
-Dired+
+** Dired+
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
   (use-package dired+
     :ensure t
@@ -1438,7 +1440,7 @@ Dired+
     (define-key dired-mode-map (kbd "g") 'dired-goto-file))
 #+END_SRC
 
-dired-hacks
+** dired-hacks
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
   (use-package dired-hacks-utils
     :ensure t)
@@ -2148,7 +2150,7 @@ Most use =C-o C-o= to switch buffers; =C-o x, v= to split window; =C-o o= to del
     ("m" bookmark-jump-other-window nil :exit t)
     ("M" bookmark-set nil :exit t)
     ("g" magit-status nil :exit t)
-    ("p" package-list-packages nil :exit t)
+    ("p" paradox-list-packages nil :exit t)
 
     ;; quit
     ("q" nil "cancel")
@@ -2522,8 +2524,9 @@ stolen from [[https://github.com/mariolong/emacs.d/blob/f6a061594ef1b5d1f4750e9d
     (back-to-indentation)
     (set-mark (line-end-position)))
 
-  (defhydra sd/expand-selected (:color pink :columns nil
-                                       :post (deactivate-mark))
+  (defhydra sd/expand-selected (:color red :columns nil
+                                       ;; :post (deactivate-mark)
+                                       )
     "Selected"
     ;; select
     ;; ("e"  er/expand-region "+")
@@ -2567,7 +2570,7 @@ stolen from [[https://github.com/mariolong/emacs.d/blob/f6a061594ef1b5d1f4750e9d
     ("d" kill-region "delete" :exit t)
 
     ("y" kill-ring-save "yank" :exit t)
-    ("M-SPC" nil "quit" :exit t)
+    ;; ("M-SPC" nil "quit" :exit t)
     ("C-SPC" nil "quit" :exit t)
     ("q" nil "quit" :exit t))