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.
40 lines
1.1 KiB
40 lines
1.1 KiB
;;; plugin-counsel --- Summary
|
|
; Beschreibung zur Funktion etc.
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
(use-package ivy
|
|
:ensure t
|
|
:diminish
|
|
(ivy-mode . "") ;; does not display ivy in the modeline
|
|
:init
|
|
(ivy-mode 1) ;; ivy wird global beim Start aktiviert
|
|
:bind
|
|
("C-c C-r" . ivy-resume)
|
|
:config
|
|
(setq ivy-use-virtual-buffers t) ;;recent files and bookmarks im ivy-switch-buffer
|
|
(setq ivy-height 20) ;; Höhe des ivy-Fensters
|
|
(setq ivy-count-format "%d/%d ")) ;;current and total number
|
|
|
|
(use-package counsel
|
|
:ensure t
|
|
:bind* ;; load counsel when pressed
|
|
(("M-x" . counsel-M-x)
|
|
("C-x C-f" . counsel-find-file)
|
|
("C-c h f" . counsel-describe-function)
|
|
("C-c h v" . counsel-describe-variable)
|
|
("M-i" . counsel-imenu)))
|
|
|
|
;; swiper benötigt ivy
|
|
(use-package swiper
|
|
:ensure t
|
|
:bind
|
|
(("C-s" . swiper)
|
|
;; ("C-c C-r" . ivy-resume)
|
|
))
|
|
;; :config
|
|
;; (ivy-mode 1))
|
|
|
|
(provide 'plugin-counsel)
|
|
;;; plugin-counsel ends here
|