Move crux out, use crux sudo-edit

This commit is contained in:
Ivan Malison 2016-06-10 14:02:49 -07:00
parent 514b7eb27d
commit a5a4c80667

View File

@ -1584,6 +1584,11 @@ I use helm for almost all emacs completion
("c" term-projectile-create-new) ("c" term-projectile-create-new)
("d" imalison:term-hydra-default-directory/body :exit t)))) ("d" imalison:term-hydra-default-directory/body :exit t))))
#+END_SRC #+END_SRC
*** crux
#+BEGIN_SRC emacs-lisp
(use-package crux
:bind (("C-c C-s" . crux-sudo-edit)))
#+END_SRC
** Other ** Other
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar imalison:packages-to-install (defvar imalison:packages-to-install
@ -1669,8 +1674,6 @@ I use helm for almost all emacs completion
:config :config
(beacon-mode 1)) (beacon-mode 1))
(use-package crux)
(use-package discover-my-major) (use-package discover-my-major)
(use-package which-key (use-package which-key
@ -2409,7 +2412,6 @@ I use helm for almost all emacs completion
* Keybindings * Keybindings
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(bind-key "M-q" 'fill-or-unfill-paragraph) (bind-key "M-q" 'fill-or-unfill-paragraph)
(bind-key "C-c C-s" 'sudo-edit)
(bind-key "C-c SPC" 'imalison:mark-ring) (bind-key "C-c SPC" 'imalison:mark-ring)
(bind-key "C-c e" 'os-copy) (bind-key "C-c e" 'os-copy)
(bind-key "C-x p" 'pop-to-mark-command) (bind-key "C-x p" 'pop-to-mark-command)