diff --git a/config.org b/config.org index b65cf5c..2ffffc6 100644 --- a/config.org +++ b/config.org @@ -303,10 +303,12 @@ Install Projectile: ** Auto Completion *** Ivy #+BEGIN_SRC emacs-lisp - (use-package ivy - :ensure t - :init - (ivy-mode 1)) + (use-package ivy + :ensure t + :init + (ivy-mode 1) + :bind + ("C-s" . swiper)) #+END_SRC Ivy Configuration : @@ -314,9 +316,6 @@ Ivy Configuration : (setq ivy-use-virtual-buffers t) (setq enable-recursive-minibuffers t) #+END_SRC - - -#+END_SRC *** Counsel #+BEGIN_SRC emacs-lisp (use-package counsel @@ -337,7 +336,7 @@ Counsel for Projectile (use-package company :ensure t :init - (global-company-mode 1)) + (add-hook 'prog-mode-hook 'company-mode)) #+END_SRC Configuration : @@ -363,8 +362,18 @@ Configuration : :ensure t :init (company-quickhelp-mode)) - #+END_SRC +**** Company + Yasnippet ++BEGIN_SRC emacs-lisp + (use-package yasnippet + :ensure t + :config + (use-package yasnippet-snippets + :ensure t) + (yas-reload-all)) + (add-hook 'prog-mode-hook 'yas-minor-mode) + (add-to-list 'company-backends 'company-yasnippet) ++END_SRC **** Company-Jedi Python #+BEGIN_SRC emacs-lisp (use-package company-jedi @@ -395,6 +404,23 @@ Set Company-Jedi to run on Python buffers. : :init (setq flyspell-correct-interface #'flyspell-correct-ivy)) #+END_SRC +** Multiple Cursors +#+BEGIN_SRC emacs-lisp + (use-package multiple-cursors + :ensure t + :bind + ("C-c m" . 'mc/mark-next-like-this) + :bind + ("C-c C-m" . 'mc/mark-all-like-this)) +#+END_SRC +** Expand Region +Auto selects a region of text/code. +#+BEGIN_SRC emacs-lisp + (use-package expand-region + :ensure t + :bind + ("C-c e" . 'er/expand-region)) +#+END_SRC ** Rainbow Delimiters This Minor Mode will mark pairs of brackets with colours. #+BEGIN_SRC emacs-lisp