Make find-file-in-project faster in large projects
This commit is contained in:
parent
6e764ade2b
commit
d02d78c3fa
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ results buffer.")
|
|||
[remap persp-switch-to-buffer] #'+ivy/switch-workspace-buffer
|
||||
[remap evil-show-jumps] #'+ivy/jump-list)
|
||||
:config
|
||||
;; The default sorter is much to slow and the default for `ivy-sort-max-size'
|
||||
;; is way too big (30,000). Turn it down so big repos affect project
|
||||
;; navigation less.
|
||||
(setq ivy-sort-max-size 7500)
|
||||
|
||||
;; Counsel changes a lot of ivy's state at startup; to control for that, we
|
||||
;; need to load it as early as possible. Some packages (like `ivy-prescient')
|
||||
;; require this.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue