You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
991 B

  1. ;;; plugin-counsel --- Summary
  2. ; Beschreibung zur Funktion etc.
  3. ;;; Commentary:
  4. ;;; Code:
  5. (use-package ivy
  6. :ensure t
  7. :diminish
  8. (ify-mode . "") ;; does not display ivy in the modeline
  9. :init
  10. (ivy-mode 1) ;; ivy wird global beim Start aktiviert
  11. :bind
  12. ("C-c C-r" . ivy-resume)
  13. :config
  14. (setq ivy-use-virtual-buffers t) ;;recent files and bookmarks im ivy-switch-buffer
  15. (setq ivy-height 20) ;; Höhe des ivy-Fensters
  16. (setq ivy-count-format "%d/%d ")) ;;current and total number
  17. (use-package counsel
  18. :ensure t
  19. :bind* ;; load counsel when pressed
  20. (("M-x" . counsel-M-x)
  21. ("C-x C-f" . counsel-find-file)
  22. ("C-c h f" . counsel-describe-function)
  23. ("C-c h v" . counsel-describe-variable)
  24. ("M-i" . counsel-imenu)))
  25. (use-package swiper
  26. :ensure t
  27. :bind
  28. (("C-s" . swiper)))
  29. (provide 'plugin-counsel)
  30. ;;; plugin-counsel ends here