From 4c8bc64e56403cb9cc4aee74801698835c998e1a Mon Sep 17 00:00:00 2001 From: qorg11 Date: Tue, 9 Jun 2020 14:30:58 +0200 Subject: [PATCH] Added sudo edit" --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index 85651e5..aa2e64a 100644 --- a/config.org +++ b/config.org @@ -90,10 +90,16 @@ Including indent-buffer, which should not be called automatically on save." #+END_SRC * Shorcuts + Probably this overwrites another keybinding. But since I overwrited + it. I don't think i'd ever use the overwritten. #+BEGIN_SRC emacs-lisp (global-set-key (kbd "C-c n") 'cleanup-buffer) (global-set-key (kbd "M-m") 'mark-whole-buffer) +(use-package sudo-edit +:ensure t +:init +(global-set-key (kbd "C-x C-r") 'sudo-edit-find-file)) #+END_SRC * No idea