Move counsel+helpful integration to ivy module

This commit is contained in:
Henrik Lissner 2018-08-17 03:37:07 +02:00
parent 4a4b012b5d
commit 7a578eb242
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 9 additions and 13 deletions

View file

@ -103,6 +103,8 @@ immediately runs it on the current candidate (ending the ivy session)."
(set-popup-rule! "^\\*ivy-occur" :size 0.35 :ttl 0 :quit nil)
(setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)"
counsel-describe-function-function #'helpful-callable
counsel-describe-variable-function #'helpful-variable
;; Add smart-casing and compressed archive searching (-zS) to default
;; command arguments:
counsel-rg-base-command "rg -zS --no-heading --line-number --color never %s ."