[boon/ido] fix "failed to define function ido-mini" error
This commit is contained in:
parent
8b7f07a993
commit
5caab2fd5e
38
init.el
38
init.el
|
@ -44,6 +44,21 @@
|
|||
:config
|
||||
(setq ag-highlight-search t))
|
||||
|
||||
(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/")
|
||||
|
||||
(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))
|
||||
:config
|
||||
(ivy-mode))
|
||||
(load "cp")
|
||||
|
||||
;; (if (not (server-running-p)) (server-start))
|
||||
(server-start)
|
||||
(use-package boon
|
||||
:ensure t
|
||||
:commands (boon-mode)
|
||||
|
@ -69,7 +84,9 @@
|
|||
("\\" . projectile-command-map)
|
||||
("(" . boon-navigate-backward)
|
||||
(")" . boon-navigate-forward)
|
||||
("e r" . swiper-thing-at-point))
|
||||
("e r" . swiper-thing-at-point)
|
||||
("M" . ido-mini)
|
||||
("J" . ido-mini))
|
||||
(:map boon-x-map
|
||||
("w" . 'write-file)
|
||||
("s" . 'save-buffer)
|
||||
|
@ -90,7 +107,7 @@
|
|||
(add-to-list 'boon-special-mode-list mode))
|
||||
'(emms-playlist-mode
|
||||
emms-browser-mode
|
||||
edebug-mode
|
||||
edebug-mode
|
||||
sldb-mode
|
||||
macrostep-mode
|
||||
view-mode
|
||||
|
@ -590,20 +607,6 @@ Return nil (and run `magit-status') if the user answers no."
|
|||
;; (toggle-debug-on-error)
|
||||
;; ;; (toggle-debug-on-quit)
|
||||
;; (add-to-list 'load-path "~/.emacs.d/elisp-git/yafolding.el/")
|
||||
(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/")
|
||||
|
||||
(use-package ido-mini
|
||||
:commands (ido-mini)
|
||||
:load-path "~/.emacs.d/contrapunctus/ido-mini/"
|
||||
:bind (("C-x C-l" . ido-mini))
|
||||
:config
|
||||
(ivy-mode))
|
||||
(load "cp")
|
||||
|
||||
;; (if (not (server-running-p)) (server-start))
|
||||
(server-start)
|
||||
(use-package general
|
||||
:commands general-define-key)
|
||||
|
||||
|
@ -713,6 +716,7 @@ Return nil (and run `magit-status') if the user answers no."
|
|||
(setq scroll-conservatively 10000
|
||||
scroll-preserve-screen-position t
|
||||
auto-window-vscroll nil)
|
||||
|
||||
(add-hook 'isearch-mode-hook 'recenter)
|
||||
(add-hook 'isearch-update-post-hook 'recenter)
|
||||
(defadvice isearch-repeat-forward
|
||||
|
@ -884,6 +888,7 @@ and eval it."
|
|||
:config
|
||||
(setq ivy-re-builders-alist
|
||||
'((t . ivy--regex-ignore-order))))
|
||||
|
||||
(use-package magit
|
||||
:bind (("<f5> m" . #'magit-status)
|
||||
:map magit-revision-mode-map
|
||||
|
@ -1169,7 +1174,6 @@ and eval it."
|
|||
(require 'cp-fm)
|
||||
(require 'cp-lily)
|
||||
(require 'cp-sfz)
|
||||
(require 'cp-prog)
|
||||
(require 'cp-lisp)
|
||||
(require 'cp-nav)
|
||||
|
||||
|
|
54
init.org
54
init.org
|
@ -78,6 +78,30 @@ And =org-babel-tangle= takes nearly 27 seconds to tangle this file, at the time
|
|||
(setq ag-highlight-search t))
|
||||
|
||||
#+END_SRC
|
||||
** ido-mini
|
||||
This needs to be before =boon=, or you get a "failed to define function ido-mini" error when you press the keybinding.
|
||||
#+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/")
|
||||
|
||||
(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))
|
||||
:config
|
||||
(ivy-mode))
|
||||
#+END_SRC
|
||||
|
||||
**
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(load "cp")
|
||||
|
||||
;; (if (not (server-running-p)) (server-start))
|
||||
(server-start)
|
||||
#+END_SRC
|
||||
|
||||
** modal editing
|
||||
*** active boon config
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
@ -106,7 +130,9 @@ 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))
|
||||
("e r" . swiper-thing-at-point)
|
||||
("M" . ido-mini)
|
||||
("J" . ido-mini))
|
||||
(:map boon-x-map
|
||||
("w" . 'write-file)
|
||||
("s" . 'save-buffer)
|
||||
|
@ -127,7 +153,7 @@ And =org-babel-tangle= takes nearly 27 seconds to tangle this file, at the time
|
|||
(add-to-list 'boon-special-mode-list mode))
|
||||
'(emms-playlist-mode
|
||||
emms-browser-mode
|
||||
edebug-mode
|
||||
edebug-mode
|
||||
sldb-mode
|
||||
macrostep-mode
|
||||
view-mode
|
||||
|
@ -778,28 +804,6 @@ 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/")
|
||||
|
||||
(use-package ido-mini
|
||||
:commands (ido-mini)
|
||||
:load-path "~/.emacs.d/contrapunctus/ido-mini/"
|
||||
:bind (("C-x C-l" . ido-mini))
|
||||
:config
|
||||
(ivy-mode))
|
||||
#+END_SRC
|
||||
|
||||
**
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(load "cp")
|
||||
|
||||
;; (if (not (server-running-p)) (server-start))
|
||||
(server-start)
|
||||
#+END_SRC
|
||||
|
||||
** general (keybindings)
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package general
|
||||
|
@ -949,6 +953,7 @@ Ask for confirmation before saving cookies. I'd rather just disallow them all th
|
|||
(setq scroll-conservatively 10000
|
||||
scroll-preserve-screen-position t
|
||||
auto-window-vscroll nil)
|
||||
|
||||
#+END_SRC
|
||||
** Recenter screen on isearch matches
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
@ -1191,6 +1196,7 @@ SLIME opens CLHS links in Firefox, but I'd rather open them in Tor Browser; Tor
|
|||
:config
|
||||
(setq ivy-re-builders-alist
|
||||
'((t . ivy--regex-ignore-order))))
|
||||
|
||||
#+END_SRC
|
||||
** WISH magit
|
||||
It'd be really cool to (recenter 3) when you /open/ a section, and (recenter) when you close a section
|
||||
|
|
Loading…
Reference in New Issue