From 3835a3e300a6a1237af44115092232f309d98490 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Wed, 17 Feb 2021 15:42:43 +0530 Subject: [PATCH] [ido] move config to init.org --- contrapunctus/cp-ido.el | 7 ------- init.org | 21 ++++++++++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/contrapunctus/cp-ido.el b/contrapunctus/cp-ido.el index 4e9d489..8d7f5f7 100644 --- a/contrapunctus/cp-ido.el +++ b/contrapunctus/cp-ido.el @@ -31,13 +31,6 @@ :disabled :bind ("M-x" . smex)) -(use-package ido-mini - :bind (("C-x C-l" . ido-mini) - :map boon-x-map - ("l" . ido-mini)) - :config - (ivy-mode)) - ;; This creates a bug with shell completion if you're using ivy mode. (unless (bound-and-true-p ivy-mode) (setq completion-styles diff --git a/init.org b/init.org index 5ef8d06..d1b11aa 100644 --- a/init.org +++ b/init.org @@ -98,16 +98,13 @@ And =org-babel-tangle= takes nearly 27 seconds to tangle this file, at the time ("\\" . projectile-command-map) ("(" . boon-navigate-backward) (")" . boon-navigate-forward) - ("e r" . swiper-thing-at-point) - ("J" . ido-mini) - ("M" . ido-mini)) + ("e r" . swiper-thing-at-point)) (:map boon-x-map ("w" . 'write-file) ("s" . 'save-buffer) ("d" . 'dired-jump) ("e" . 'eval-last-sexp) ("f" . 'find-file) - ("l" . 'ido-mini) ("c" . 'kill-emacs) ("v" . 'find-alternate-file) ("b" . 'ibuffer) @@ -725,12 +722,22 @@ Ask for confirmation before saving cookies. I'd rather just disallow them all th ;; (add-to-list 'load-path "~/.emacs.d/elisp-git/yafolding.el/") #+END_SRC -** +** ido-mini #+BEGIN_SRC emacs-lisp (add-to-list 'load-path "~/.emacs.d/user/") (add-to-list 'load-path "~/.emacs.d/contrapunctus/") ;; (add-to-list 'load-path "~/.emacs.d/contrapunctus/fin/") -(add-to-list 'load-path "~/.emacs.d/contrapunctus/ido-mini/") + +(use-package ido-mini + :load-path "~/.emacs.d/contrapunctus/ido-mini/" + :bind (("C-x C-l" . ido-mini) + :map boon-command-map + ("J" . ido-mini) + ("M" . ido-mini) + :map boon-x-map + ("l" . ido-mini)) + :config + (ivy-mode)) #+END_SRC ** @@ -1417,7 +1424,7 @@ It'd be really cool to (recenter 3) when you /open/ a section, and (recenter) wh ** #+BEGIN_SRC emacs-lisp -(require 'cp-ido) + ;;;; text size change ;; nicked from wasamasa's init - https://github.com/wasamasa/dotemacs/blob/934d0b37692d62fe9af56b52accac5bcd4445ae3/init.org