From f136521c1986ed86b6037890d9baa73d232cd9fc Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Wed, 26 May 2021 01:38:18 +0300 Subject: [PATCH] selectrum: sudo-edit -> doom/sudo-find-file... doom doesn't use `sudo-edit` also update TODO with subsequent marginalia tasks --- modules/completion/selectrum/TODO.org | 5 +++++ modules/completion/selectrum/config.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/completion/selectrum/TODO.org b/modules/completion/selectrum/TODO.org index 3bc625025..851366689 100644 --- a/modules/completion/selectrum/TODO.org +++ b/modules/completion/selectrum/TODO.org @@ -102,6 +102,11 @@ straightforward. *** TODO =C-RET= on minibuffer? *** TODO pass module *** TODO ~+ivy/jump-list~ analogue +*** TODO marginalia stuff +**** TODO (buffer) clearly mark files opened with ~doom/sudo-find-file~ (remote?) with a different color +- including remote path in parens maybe +**** TODO (buffer) have a project column and use relative paths from that +**** TODO better colors? *** WAIT lookup module - ~dash-docs~ backend (needs to be created) - ~+lookup--online..~ functionality diff --git a/modules/completion/selectrum/config.el b/modules/completion/selectrum/config.el index eff84c263..6c7c12c3d 100644 --- a/modules/completion/selectrum/config.el +++ b/modules/completion/selectrum/config.el @@ -130,7 +130,7 @@ (map! :map embark-file-map :desc "Open Dired on target" "j" #'ffap-dired - :desc "Open target with sudo" "s" #'sudo-edit + :desc "Open target with sudo" "s" #'doom/sudo-find-file :desc "Open target with vlf" "l" #'vlf) (set-popup-rule! "^\\*Embark Export" :size 0.35 :ttl 0 :quit nil) (set-popup-rule! "^\\*Embark Collect" :size 0.35 :ttl 0 :quit nil))