Merge evil-collection-ivy into completion/ivy
Disables evil-collection-ivy. Another step toward the removal of evil-collection from Doom.
This commit is contained in:
parent
1f5dae9176
commit
183ccbb8f1
3 changed files with 71 additions and 15 deletions
|
@ -223,3 +223,69 @@ immediately runs it on the current candidate (ending the ivy session)."
|
||||||
(counsel-grep-or-swiper . ivy--regex-plus)
|
(counsel-grep-or-swiper . ivy--regex-plus)
|
||||||
(t . ivy--regex-fuzzy))
|
(t . ivy--regex-fuzzy))
|
||||||
ivy-initial-inputs-alist nil))
|
ivy-initial-inputs-alist nil))
|
||||||
|
|
||||||
|
|
||||||
|
;;
|
||||||
|
;; Evil key fixes
|
||||||
|
;;
|
||||||
|
|
||||||
|
(map! :when (featurep! :feature evil +everywhere)
|
||||||
|
:after ivy
|
||||||
|
:map ivy-occur-mode-map
|
||||||
|
:n [mouse-1] #'ivy-occur-click
|
||||||
|
:n "<return>" #'ivy-occur-press-and-switch
|
||||||
|
:m "j" #'ivy-occur-next-line
|
||||||
|
:m "k" #'ivy-occur-previous-line
|
||||||
|
:m "h" #'evil-backward-char
|
||||||
|
:m "l" #'evil-forward-char
|
||||||
|
:m "g" nil
|
||||||
|
:m "gg" #'evil-goto-first-line
|
||||||
|
:n "gf" #'ivy-occur-press
|
||||||
|
:n "ga" #'ivy-occur-read-action
|
||||||
|
:n "go" #'ivy-occur-dispatch
|
||||||
|
:n "gc" #'ivy-occur-toggle-calling
|
||||||
|
:n "gr" #'ivy-occur-revert-buffer
|
||||||
|
:n "q" #'quit-window
|
||||||
|
|
||||||
|
:map ivy-occur-grep-mode-map
|
||||||
|
:v "j" #'evil-next-line
|
||||||
|
:v "k" #'evil-previous-line
|
||||||
|
:n "D" #'ivy-occur-delete-candidate
|
||||||
|
:n "C-d" #'evil-scroll-down
|
||||||
|
:n "d" #'ivy-occur-delete-candidate
|
||||||
|
:n "C-x C-q" #'ivy-wgrep-change-to-wgrep-mode
|
||||||
|
:n "i" #'ivy-wgrep-change-to-wgrep-mode
|
||||||
|
:n "gd" #'ivy-occur-delete-candidate
|
||||||
|
:n [mouse-1] #'ivy-occur-click
|
||||||
|
:n "<return>" #'ivy-occur-press-and-switch
|
||||||
|
:m "j" #'ivy-occur-next-line
|
||||||
|
:m "k" #'ivy-occur-previous-line
|
||||||
|
:m "h" #'evil-backward-char
|
||||||
|
:m "l" #'evil-forward-char
|
||||||
|
:m "g" nil
|
||||||
|
:m "gg" #'evil-goto-first-line
|
||||||
|
:n "gf" #'ivy-occur-press
|
||||||
|
:n "gr" #'ivy-occur-revert-buffer
|
||||||
|
:n "ga" #'ivy-occur-read-action
|
||||||
|
:n "go" #'ivy-occur-dispatch
|
||||||
|
:n "gc" #'ivy-occur-toggle-calling
|
||||||
|
;; quit
|
||||||
|
:n "q" #'quit-window
|
||||||
|
|
||||||
|
:map ivy-minibuffer-map
|
||||||
|
[escape] #'abort-recursive-edit
|
||||||
|
[return] #'exit-minibuffer
|
||||||
|
[backspace] #'ivy-backward-delete-char
|
||||||
|
"C-m" #'ivy-done
|
||||||
|
"C-j" #'ivy-next-line
|
||||||
|
"C-k" #'ivy-previous-line
|
||||||
|
"C-l" #'ivy-alt-done
|
||||||
|
"C-A-k" #'ivy-scroll-down-command
|
||||||
|
"C-A-j" #'ivy-scroll-up-command
|
||||||
|
"C-r" #'ivy-reverse-i-search
|
||||||
|
"C-n" #'ivy-next-line
|
||||||
|
"C-p" #'ivy-previous-line
|
||||||
|
"C-w" #'ivy-backward-kill-word
|
||||||
|
"C-u" #'ivy-kill-line
|
||||||
|
"C-b" #'backward-word
|
||||||
|
"C-f" #'forward-word)
|
||||||
|
|
|
@ -608,21 +608,10 @@
|
||||||
;; ivy
|
;; ivy
|
||||||
(:after ivy
|
(:after ivy
|
||||||
:map ivy-minibuffer-map
|
:map ivy-minibuffer-map
|
||||||
[escape] #'keyboard-escape-quit
|
"C-SPC" #'ivy-call-and-recenter ; preview file
|
||||||
"C-SPC" #'ivy-call-and-recenter
|
|
||||||
"M-z" #'undo
|
"M-z" #'undo
|
||||||
"M-v" #'yank
|
"M-v" #'yank
|
||||||
"C-v" #'yank
|
"C-v" #'yank)
|
||||||
"C-r" #'evil-paste-from-register
|
|
||||||
"C-k" #'ivy-previous-line
|
|
||||||
"C-j" #'ivy-next-line
|
|
||||||
"C-A-k" #'ivy-scroll-down-command
|
|
||||||
"C-A-j" #'ivy-scroll-up-command
|
|
||||||
"C-l" #'ivy-alt-done
|
|
||||||
"C-w" #'ivy-backward-kill-word
|
|
||||||
"C-u" #'ivy-kill-line
|
|
||||||
"C-b" #'backward-word
|
|
||||||
"C-f" #'forward-word)
|
|
||||||
|
|
||||||
;; neotree
|
;; neotree
|
||||||
(:after neotree
|
(:after neotree
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
(defvar +evil-collection-disabled-list
|
(defvar +evil-collection-disabled-list
|
||||||
'(kotlin-mode ; doesn't do anything useful
|
'(kotlin-mode ; doesn't do anything useful
|
||||||
simple
|
simple
|
||||||
|
ivy
|
||||||
anaconda-mode) ; we'll do it ourselves
|
anaconda-mode) ; we'll do it ourselves
|
||||||
"A list of `evil-collection' modules to disable. See the definition of this
|
"A list of `evil-collection' modules to disable. See the definition of this
|
||||||
variable for an explanation of the defaults (in comments). See
|
variable for an explanation of the defaults (in comments). See
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue