Yasnippet testing
This commit is contained in:
parent
004b3f66d0
commit
0c667fa51e
38
config.org
38
config.org
|
|
@ -306,7 +306,9 @@ Install Projectile:
|
|||
(use-package ivy
|
||||
:ensure t
|
||||
:init
|
||||
(ivy-mode 1))
|
||||
(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
|
||||
|
|
|
|||
Loading…
Reference in New Issue