fixed completion stuff

This commit is contained in:
2023-05-17 18:43:44 +02:00
parent c95520c79d
commit 5ea488e4fa
6 changed files with 30 additions and 22 deletions

View File

@@ -8,7 +8,7 @@
;; Hint: Use C-f during file selection to switch to regular find-file
;; Basic config
(ido-mode t)
;; (ido-mode t)
(ido-everywhere nil)
(use-package ido-completing-read+)
@@ -85,7 +85,8 @@
(progn
(ido-set-current-directory "/ssh:")
(ido-reread-directory))
(call-interactively 'self-insert-command))))))
(call-interactively 'self-insert-command))))
(define-key ido-file-completion-map (kbd "C-.") 'embark-act)))
;; by howardism: [re]open non-writable file with sudo
(defadvice ido-find-file (after find-file-sudo activate)