commit b6893593090d72eb89f6dcb5af0cf21b1e6f48f6 parent 0f30fd03a96a619148d81331c3bee5fa2a012815 Author: michaelneuper <michael@michaelneuper.com> Date: Mon, 12 May 2025 22:18:28 +0200 add dirvish quick access directories Diffstat:
| M | config.org | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/config.org b/config.org @@ -330,17 +330,18 @@ See [[https://protesilaos.com/emacs/spacious-padding]] for configuration options ** :emacs *** dired Set =quick-access-entries= for =dirvish=. -Ensure the following programs are installed for previews: -https://github.com/alexluigit/dirvish/blob/main/docs/CUSTOMIZING.org#install-dependencies-for-an-enhanced-preview-experience +Ensure [[https://github.com/alexluigit/dirvish/blob/main/docs/CUSTOMIZING.org#install-dependencies-for-an-enhanced-preview-experience][these]] programs are installed to file previews. #+begin_src emacs-lisp (after! dirvish (setq! dirvish-quick-access-entries - `(("h" "~/" "Home") - ("e" ,doom-user-dir "Doom config") + `(("h" "~/" "Home") ("c" "~/Developer/" "Code") ("d" "~/Downloads/" "Downloads") - ("g" "~/GitHub/" "GitHub") - ("t" "~/.Trash/" "Trash")))) + ("g" "~/GitHub/" "GitHub") + ("t" "~/.Trash/" "Trash") + ("o" "~/OneDrive - Stellenbosch University/" "OneDrive") + ("n" "/scpx:NARGA:" "NARGA")))) ; `scp` ensures large files are transferred out of band via `scp` rather than encoded in the shell session + ; `x` ensures the session is opened with `/bin/sh -i` via `-o RemoteCommand` (map! :leader :prefix "o"