#+BEGIN_SRC emacs-lisp
(use-package ledger-mode
:ensure t
- :defer t
:bind
((:map ledger-mode-map ("C-c s" . ledger-sort-buffer))))
#+END_SRC
*** expand-region
Seldom used, but nothing else does it.
#+BEGIN_SRC emacs-lisp
-(use-package expand-region :ensure t)
-(keymap-global-set "C-=" 'er/expand-region)
+(use-package expand-region
+ :ensure t
+ :bind
+ (("C-=" . 'er/expand-region)))
#+END_SRC
*** magit
#+BEGIN_SRC emacs-lisp
(use-package magit
:ensure t
- :defer t
:config
(message "Magit Loaded")
:bind
#+BEGIN_SRC emacs-lisp
(use-package openwith
:ensure t
+ :defer t
:config
- (openwith-mode t))
-
-(setq openwith-associations (list
- (list (openwith-make-extension-regexp
- '("xls" "xlsx" "doc" "docx"
- "ppt" "odt" "ods" "odg" "odp"))
- "LibreOffice"
- '(file))
- (list (openwith-make-extension-regexp
- '("adpro"))
- "ProductivitySuite"
- '(file))))
-
+ (openwith-mode t)
+ :custom
+ (openwith-associations (list
+ (list (openwith-make-extension-regexp
+ '("xls" "xlsx" "doc" "docx"
+ "ppt" "odt" "ods" "odg" "odp"))
+ "LibreOffice"
+ '(file))
+ (list (openwith-make-extension-regexp
+ '("adpro"))
+ "ProductivitySuite"
+ '(file)))))
#+END_SRC
*** acme-mouse
#+BEGIN_SRC emacs-lisp
(let ((slime-help "~/quicklisp/slime-helper.el"))
(when (file-exists-p slime-help)
- (load (expand-file-name slime-help))
- (setq inferior-lisp-program "sbcl")
(use-package slime
:ensure t
:defer t
+ :init
+ (load (expand-file-name slime-help))
+ :config
+ (setq inferior-lisp-program "sbcl")
:custom
(slime-net-coding-system 'utf-8-unix))
(when (file-exists-p "~/lisp/sbcl.core-for-slime")