("org" . "https://orgmode.org/elpa/"))
package-load-list
'(;; GNU ELPA
- (ivy "0.13.1")
- (counsel "0.13.1")
- (swiper "0.13.1")
(debbugs "0.26")
(delight "1.7")
(ebdb "0.6.19")
;; (add-to-list 'recentf-keep #'file-remote-p)
(recentf-mode))
-;; needed for history for counsel
-(csetq amx-save-file (b/var "amx-save.el"))
-(add-to-list 'load-path (b/lisp "s"))
-(add-to-list 'load-path (b/lisp "amx"))
-(run-with-idle-timer 0.3 nil #'require 'amx)
-(with-eval-after-load 'amx
- (amx-mode))
-
-(require 'bandali-ivy)
+(fido-mode 1)
(require 'bandali-eshell)
(delight 'auto-fill-function " f" "simple")
(delight 'abbrev-mode "" "abbrev")
(delight 'page-break-lines-mode "" "page-break-lines")
- (delight 'ivy-mode "" "ivy")
- (delight 'counsel-mode "" "counsel")
(delight 'mml-mode " mml" "mml")
(delight 'yas-minor-mode "" "yasnippet"))
+++ /dev/null
-;;; bandali-ivy.el --- bandali's Ivy setup -*- lexical-binding: t; -*-
-
-;; Copyright (C) 2018-2020 Amin Bandali
-
-;; Author: Amin Bandali <bandali@gnu.org>
-;; Keywords: matching
-
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
-
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <https://www.gnu.org/licenses/>.
-
-;;; Commentary:
-
-;; My configuration for Ivy and family.
-
-;;; Code:
-
-(run-with-idle-timer 0.3 nil #'require 'ivy)
-(with-eval-after-load 'ivy
- ;; ivy
- (csetq ivy-wrap t
- ;; ivy-height 14
- ivy-use-virtual-buffers t
- ivy-virtual-abbreviate 'abbreviate
- ivy-count-format "%d/%d ")
-
- (defvar b/ivy-ignore-buffer-modes
- '(;; dired-mode
- ;; magit-mode
- erc-mode))
- (defun b/ivy-ignore-buffer-p (str)
- "Return non-nil if str names a buffer with a major mode
-derived from one of `b/ivy-ignore-buffer-modes'.
-
-This function is intended for use with `ivy-ignore-buffers'."
- (let* ((buf (get-buffer str))
- (mode (and buf (buffer-local-value 'major-mode buf))))
- (and mode
- (apply #'provided-mode-derived-p mode b/ivy-ignore-buffer-modes))))
- (add-to-list 'ivy-ignore-buffers #'b/ivy-ignore-buffer-p)
-
- (define-key ivy-minibuffer-map [escape] #'keyboard-escape-quit)
- (define-key ivy-minibuffer-map [S-up]
- #'ivy-previous-history-element)
- (define-key ivy-minibuffer-map [S-down]
- #'ivy-next-history-element)
- (define-key ivy-minibuffer-map (kbd "DEL")
- #'ivy-backward-delete-char)
-
- (ido-mode -1)
- (ivy-mode 1)
-
- ;; swiper
- (require 'swiper)
- (global-set-key (kbd "C-S-s") #'swiper-isearch)
-
- ;; counsel
- (require 'counsel)
- (counsel-mode 1)
- (defalias 'locate #'counsel-locate)
- (global-set-key (kbd "C-c f r") #'counsel-recentf)
- (define-key minibuffer-local-map
- (kbd "C-r") #'counsel-minibuffer-history))
-
-(provide 'bandali-ivy)
-;;; bandali-ivy.el ends here
[submodule "alloy-mode"]
path = .emacs.d/lisp/alloy-mode
url = https://github.com/dwwmmn/alloy-mode.git
-[submodule "amx"]
- path = .emacs.d/lisp/amx
- url = https://github.com/DarwinAwardWinner/amx.git
[submodule "boxquote"]
path = .emacs.d/lisp/boxquote
url = https://github.com/davep/boxquote.el.git
[submodule "page-break-lines"]
path = .emacs.d/lisp/page-break-lines
url = https://github.com/purcell/page-break-lines.git
-[submodule "s"]
- path = .emacs.d/lisp/s
- url = https://github.com/magnars/s.el.git
[submodule "scpaste"]
path = .emacs.d/lisp/scpaste
url = https://git.sr.ht/~technomancy/scpaste