completion/ivy: major refactor of file-search commands
This commit is contained in:
parent
83211cd74c
commit
9e62898d92
4 changed files with 245 additions and 175 deletions
|
@ -116,10 +116,12 @@
|
|||
:desc "Spelling correction" :n "S" #'flyspell-correct-word-generic)
|
||||
|
||||
(:desc "search" :prefix "/"
|
||||
:desc "Swiper" :nv "/" #'swiper
|
||||
:desc "Imenu" :nv "i" #'imenu
|
||||
:desc "Imenu across buffers" :nv "I" #'imenu-anywhere
|
||||
:desc "Online providers" :nv "o" #'+lookup/online-select)
|
||||
:desc "Project" :nv "p" #'+ivy/project-search
|
||||
:desc "Directory" :nv "d" (λ! (+ivy/project-search t))
|
||||
:desc "Buffer" :nv "b" #'swiper
|
||||
:desc "Symbols" :nv "i" #'imenu
|
||||
:desc "Symbols across buffers" :nv "I" #'imenu-anywhere
|
||||
:desc "Online providers" :nv "o" #'+lookup/online-select)
|
||||
|
||||
(:desc "workspace" :prefix "TAB"
|
||||
:desc "Display tab bar" :n "TAB" #'+workspace/display
|
||||
|
|
|
@ -82,11 +82,13 @@
|
|||
(ex! "pwd" #'doom:pwd)
|
||||
(cond ((featurep! :completion ivy)
|
||||
(ex! "ag" #'+ivy:ag)
|
||||
(ex! "agc[wd]" #'+ivy:ag-cwd)
|
||||
(ex! "agc[wd]" #'+ivy:ag-from-cwd)
|
||||
(ex! "rg" #'+ivy:rg)
|
||||
(ex! "rgc[wd]" #'+ivy:rg-cwd)
|
||||
(ex! "rgc[wd]" #'+ivy:rg-from-cwd)
|
||||
(ex! "pt" #'+ivy:pt)
|
||||
(ex! "ptc[wd]" #'+ivy:pt-from-cwd)
|
||||
(ex! "grep" #'+ivy:grep)
|
||||
(ex! "grepc[wd]" #'+ivy:grep-cwd)
|
||||
(ex! "grepc[wd]" #'+ivy:grep-from-cwd)
|
||||
(ex! "sw[iper]" #'+ivy:swiper)
|
||||
(ex! "todo" #'+ivy:todo))
|
||||
((featurep! :completion helm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue