A well balanced completion framework.
#+begin_src emacs-lisp
(use-package ivy
+ :bind (:map ivy-minibuffer-map
+ ("TAB" . ivy-alt-done))
+ (:map ivy-switch-buffer-map
+ ("M-d" . ivy-switch-buffer-kill))
:config (ivy-mode))
#+end_src
** Ivy-rich
Ivy everywhere.
#+begin_src emacs-lisp
(use-package counsel
+ :bind ("C-M-j" . 'counsel-switch-buffer)
:config (counsel-mode))
#+end_src
** Remember frequent commands
(interactive)
(if (get-buffer "irc.armaanb.net:6696")
(switch-to-buffer "irc.armaanb.net:6696")
- (progn (circe "libera")
+ (progn (switch-to-buffer "*scratch*")
+ (circe "libera")
(circe "oftc")
(circe "tilde"))))
#+end_src
**** Programs
#+begin_src conf :tangle ~/.spectrwm.conf
- program[email] = emacsclient -ce "(mu4e)"
+ program[email] = emacsclient -ce '(progn (switch-to-buffer "*scratch*") (mu4e))'
program[irc] = emacsclient -ce '(acheam-irc)'
program[rss] = emacsclient -ce '(elfeed)'
program[calendar] = emacsclient -ce '(acheam-calendar)'