+bindings to leader for variety of packages
Application launches using infix a Search at s Projectile at p
This commit is contained in:
@@ -293,8 +293,7 @@ Along with that, set the help function and variable functions to their helpful c
|
|||||||
:defer t
|
:defer t
|
||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
:infix "s"
|
"ss" #'counsel-grep-or-swiper)
|
||||||
"s" #'counsel-grep-or-swiper)
|
|
||||||
:init
|
:init
|
||||||
(general-def
|
(general-def
|
||||||
[remap describe-function] #'counsel-describe-function
|
[remap describe-function] #'counsel-describe-function
|
||||||
@@ -316,7 +315,8 @@ I already have a function defined [[*Generate tags][here]] to generate the tags,
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package counsel-etags
|
(use-package counsel-etags
|
||||||
:after counsel
|
:after counsel
|
||||||
:bind ("M-s t" . counsel-etags-find-tag))
|
:general
|
||||||
|
(leader "st" #'counsel-etags-find-tag))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Avy
|
* Avy
|
||||||
Setup avy with leader.
|
Setup avy with leader.
|
||||||
@@ -336,6 +336,8 @@ Also bind "C-c C-p" to the projectile command map for quick access.
|
|||||||
(use-package projectile
|
(use-package projectile
|
||||||
:after evil
|
:after evil
|
||||||
:hook (prog-mode . projectile-mode)
|
:hook (prog-mode . projectile-mode)
|
||||||
|
:general
|
||||||
|
(leader "p" #'projectile-command-map)
|
||||||
:init
|
:init
|
||||||
(setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\"")
|
(setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\"")
|
||||||
:config
|
:config
|
||||||
@@ -355,6 +357,8 @@ Counsel projectile provides the ivy interface to projectile commands, which is r
|
|||||||
(setq +mail/signature "---------------\nAryadev Chavali")
|
(setq +mail/signature "---------------\nAryadev Chavali")
|
||||||
(use-package notmuch
|
(use-package notmuch
|
||||||
:commands notmuch
|
:commands notmuch
|
||||||
|
:general
|
||||||
|
(leader "am" #'notmuch)
|
||||||
:custom
|
:custom
|
||||||
((notmuch-show-logo nil)
|
((notmuch-show-logo nil)
|
||||||
(message-signature +mail/signature)
|
(message-signature +mail/signature)
|
||||||
@@ -448,7 +452,7 @@ Basic setup, will be fully integrated in counsel.
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package helpful
|
(use-package helpful
|
||||||
:commands (helpful-callable helpful-variable)
|
:commands (helpful-callable helpful-variable)
|
||||||
:init
|
:config
|
||||||
(evil-define-key 'normal helpful-mode-map "q" #'quit-window))
|
(evil-define-key 'normal helpful-mode-map "q" #'quit-window))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Which-key
|
* Which-key
|
||||||
@@ -497,7 +501,8 @@ Though [[*Ivy][ivy]] comes with =counsel-rg= using it makes me dependent on the
|
|||||||
(leader "r" #'rg)
|
(leader "r" #'rg)
|
||||||
(:keymaps 'rg-mode-map
|
(:keymaps 'rg-mode-map
|
||||||
"]]" #'rg-next-file
|
"]]" #'rg-next-file
|
||||||
"[[" #'rg-prev-file)
|
"[[" #'rg-prev-file
|
||||||
|
"q" #'quit-window)
|
||||||
:init
|
:init
|
||||||
(setq rg-group-result t
|
(setq rg-group-result t
|
||||||
rg-hide-command t
|
rg-hide-command t
|
||||||
@@ -536,6 +541,8 @@ I've got a set of feeds that I use for a large variety of stuff, mostly media an
|
|||||||
I've also bound "C-c r" to elfeed for loading the system.
|
I've also bound "C-c r" to elfeed for loading the system.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
|
:general
|
||||||
|
(leader "ar" #'elfeed)
|
||||||
:init
|
:init
|
||||||
(setq +rss/feed-urls
|
(setq +rss/feed-urls
|
||||||
'(("Arch Linux" "https://www.archlinux.org/feeds/news/" Linux)
|
'(("Arch Linux" "https://www.archlinux.org/feeds/news/" Linux)
|
||||||
|
|||||||
Reference in New Issue
Block a user