Autocompletion using (helm-)company
This commit is contained in:
parent
66dbbcbd6a
commit
ab3cf506a6
2 changed files with 11 additions and 0 deletions
6
custom/setup-autocompletion.el
Normal file
6
custom/setup-autocompletion.el
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
(eval-after-load 'company
|
||||||
|
'(progn
|
||||||
|
(define-key company-mode-map (kbd "C-:") 'helm-company)
|
||||||
|
(define-key company-active-map (kbd "C-:") 'helm-company)))
|
||||||
|
|
||||||
|
(provide 'setup-autocompletion)
|
||||||
5
init.el
5
init.el
|
|
@ -42,9 +42,11 @@
|
||||||
comment-dwim-2
|
comment-dwim-2
|
||||||
yasnippet
|
yasnippet
|
||||||
sr-speedbar
|
sr-speedbar
|
||||||
|
company
|
||||||
helm
|
helm
|
||||||
helm-gtags
|
helm-gtags
|
||||||
helm-swoop
|
helm-swoop
|
||||||
|
helm-company
|
||||||
))
|
))
|
||||||
|
|
||||||
;; function to install new packages
|
;; function to install new packages
|
||||||
|
|
@ -71,6 +73,9 @@
|
||||||
;; setup speedbar
|
;; setup speedbar
|
||||||
(require 'setup-speedbar)
|
(require 'setup-speedbar)
|
||||||
|
|
||||||
|
;; setup autocompletion
|
||||||
|
(require 'setup-autocompletion)
|
||||||
|
|
||||||
;; Package zygospore --- revert C-x 1 by pressing C-x 1 again
|
;; Package zygospore --- revert C-x 1 by pressing C-x 1 again
|
||||||
(global-set-key (kbd "C-x 1") 'zygospore-toggle-delete-other-windows)
|
(global-set-key (kbd "C-x 1") 'zygospore-toggle-delete-other-windows)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue