Yasnippet testing
This commit is contained in:
parent
004b3f66d0
commit
0c667fa51e
44
config.org
44
config.org
|
|
@ -303,10 +303,12 @@ Install Projectile:
|
||||||
** Auto Completion
|
** Auto Completion
|
||||||
*** Ivy
|
*** Ivy
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package ivy
|
(use-package ivy
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(ivy-mode 1))
|
(ivy-mode 1)
|
||||||
|
:bind
|
||||||
|
("C-s" . swiper))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Ivy Configuration :
|
Ivy Configuration :
|
||||||
|
|
@ -314,9 +316,6 @@ Ivy Configuration :
|
||||||
(setq ivy-use-virtual-buffers t)
|
(setq ivy-use-virtual-buffers t)
|
||||||
(setq enable-recursive-minibuffers t)
|
(setq enable-recursive-minibuffers t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
#+END_SRC
|
|
||||||
*** Counsel
|
*** Counsel
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package counsel
|
(use-package counsel
|
||||||
|
|
@ -337,7 +336,7 @@ Counsel for Projectile
|
||||||
(use-package company
|
(use-package company
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(global-company-mode 1))
|
(add-hook 'prog-mode-hook 'company-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Configuration :
|
Configuration :
|
||||||
|
|
@ -363,8 +362,18 @@ Configuration :
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(company-quickhelp-mode))
|
(company-quickhelp-mode))
|
||||||
|
|
||||||
#+END_SRC
|
#+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
|
**** Company-Jedi Python
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package company-jedi
|
(use-package company-jedi
|
||||||
|
|
@ -395,6 +404,23 @@ Set Company-Jedi to run on Python buffers. :
|
||||||
:init
|
:init
|
||||||
(setq flyspell-correct-interface #'flyspell-correct-ivy))
|
(setq flyspell-correct-interface #'flyspell-correct-ivy))
|
||||||
#+END_SRC
|
#+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
|
** Rainbow Delimiters
|
||||||
This Minor Mode will mark pairs of brackets with colours.
|
This Minor Mode will mark pairs of brackets with colours.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue