diff options
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index acec309..4ca0680 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -433,6 +433,10 @@ apps are not started from a shell." (setq exec-path (split-string path-from-shell path-separator)))) (set-exec-path-from-shell-PATH) +(defun sudo-find-file (filename) + (interactive "Find file as sudo: ") + (find-file (concat "/sudo::" filename))) + (use-package avy :ensure t :demand t @@ -575,11 +579,20 @@ apps are not started from a shell." (meow-leader-define-key '("t" . vterm-toggle-cd) + + '("bs" . consult-buffer) + '("bk" . kill-buffer) + '("vs" . magit-status) + '("pb" . project-list-buffers) '("pp" . project-switch-project) '("pd" . project-find-dir) - '("pf" . project-find-file)))) + '("pf" . project-find-file) + + '("ff" . find-file) + '("fs" . sudo-find-file) + '("fr" . recentf-open)))) :config (meow-setup) |
