Browse Source

Update re-builder alist to ignore spaces

master
10sr 5 years ago
parent
commit
21055c8bf7
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el View File

@@ -2358,7 +2358,11 @@ Any output will be written to current buffer."
(when (require 'counsel nil t)
(defvar ivy-re-builders-alist)
(set-variable 'ivy-re-builders-alist
'((t . ivy--regex-fuzzy)))
'((t . (lambda (s)
;; Ignore whitespace
(ivy--regex-fuzzy (replace-regexp-in-string (rx space)
""
s))))))
(define-key esc-map "x" 'counsel-M-x)
;; (counsel-mode 1)
;; counsel-fzf executes fzf -f QUERY for each input


Loading…
Cancel
Save