Added sudo edit"

This commit is contained in:
qorg11 2020-06-09 14:30:58 +02:00
parent bf1d96e988
commit 4c8bc64e56
No known key found for this signature in database
GPG key ID: 343FC20A4ACA62B9

View file

@ -90,10 +90,16 @@ Including indent-buffer, which should not be called automatically on save."
#+END_SRC #+END_SRC
* Shorcuts * 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 #+BEGIN_SRC emacs-lisp
(global-set-key (kbd "C-c n") 'cleanup-buffer) (global-set-key (kbd "C-c n") 'cleanup-buffer)
(global-set-key (kbd "M-m") 'mark-whole-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 #+END_SRC
* No idea * No idea