diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-31 16:02:21 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-31 16:02:21 +0100 |
commit | 17348abe78e05702acaff25d6abefa96ff87b43d (patch) | |
tree | 041a980f534cbe7a10e352612f3e540417cc4280 /Doom/.config/doom/modules/private/completion | |
parent | 046e0b9f0123a3c4bd8aa32431b72de486c60671 (diff) | |
parent | fdef946d6555b01b33fe496cdcd6fb293ae11eab (diff) | |
download | dotfiles-17348abe78e05702acaff25d6abefa96ff87b43d.tar.gz dotfiles-17348abe78e05702acaff25d6abefa96ff87b43d.tar.bz2 dotfiles-17348abe78e05702acaff25d6abefa96ff87b43d.zip |
Merge remote-tracking branch 'origin/master'
For desktop
Diffstat (limited to 'Doom/.config/doom/modules/private/completion')
-rw-r--r-- | Doom/.config/doom/modules/private/completion/config.el | 49 | ||||
-rw-r--r-- | Doom/.config/doom/modules/private/completion/packages.el | 8 |
2 files changed, 0 insertions, 57 deletions
diff --git a/Doom/.config/doom/modules/private/completion/config.el b/Doom/.config/doom/modules/private/completion/config.el deleted file mode 100644 index 633ac96..0000000 --- a/Doom/.config/doom/modules/private/completion/config.el +++ /dev/null @@ -1,49 +0,0 @@ -;;; private/completion/config.el -*- lexical-binding: t; -*- - -(use-package! ido - :hook (doom-first-input . ido-mode) - :hook (ido-mode . recentf-mode) - :hook (ido-mode . ido-everywhere) - :hook (ido-mode . ido-ubiquitous-mode) - - :preface - (defadvice! +ido-run-hooks-a (&rest _) - :after #'ido-mode - (run-hooks 'ido-mode-hook)) - - :init - (setq ido-save-directory-list-file nil) - (setq ido-save-directory-list-file nil) - (setq ido-ignore-buffers '("\\` " "^\\*ESS\\*" "^\\*[Hh]elp" "^\\*.*Completions\\*$" "^\\*tramp" "^\\*cvs-" "^*Ido")) - (setq ido-separator "\n") - - :config - (defun +completion/recentf() - (interactive) - (find-file (completing-read "Recentf: " recentf-list))) - - (define-key! - [remap recentf-open-files] #'+completion/recentf - [remap completing-read] #'ido-completing-read) - - (map! - :map (ido-common-completion-map ido-file-completion-map ido-buffer-completion-map) - "C-k" #'ido-prev-match - "C-j" #'ido-next-match - "TAB" #'ido-exit-minibuffer - :map ido-file-completion-map - "~" (cmd! (if (looking-back "/" (point-min)) - (insert "~/") - (call-interactively #'self-insert-command))))) - - -(use-package! ido-sort-mtime - :hook (ido-mode . ido-sort-mtime-mode)) - - -(use-package! crm-custom - :hook (ido-mode . crm-custom-mode)) - - -(use-package! flx-ido - :hook (ido-mode . flx-ido-mode)) diff --git a/Doom/.config/doom/modules/private/completion/packages.el b/Doom/.config/doom/modules/private/completion/packages.el deleted file mode 100644 index 39f4472..0000000 --- a/Doom/.config/doom/modules/private/completion/packages.el +++ /dev/null @@ -1,8 +0,0 @@ -;; -*- no-byte-compile: t; -*- -;;; private/completion/packages.el - - -(package! flx-ido) -(package! ido-completing-read+) -(package! ido-sort-mtime) -(package! crm-custom) |