From c3859ea08d3f9e919c433fa1ca95ad7ec174e659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 18 Dec 2020 16:46:24 +0100 Subject: [PATCH] Updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .emacs.d/init.el | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index a191e64..28553c8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -116,12 +116,19 @@ (global-set-key (kbd "M-") 'move-text-up) (global-set-key (kbd "M-") 'move-text-down) -;; AutoComlete -(use-package auto-complete +;;; AutoComlete +;;;(use-package auto-complete +;;; :ensure t +;;; ) +;;;(ac-config-default) +;;;(global-auto-complete-mode) + +(use-package company :ensure t ) -(ac-config-default) -(global-auto-complete-mode 0) + +(require 'company) +(global-company-mode) ;; Shell (add-hook 'sh-mode-hook 'company-mode) @@ -144,15 +151,10 @@ ; '(define-key inf-ruby-mode-map (kbd "TAB") 'auto-complete)) ;; Theme -;(use-package dracula-theme -; :ensure t -; :config -; (load-theme 'dracula t)) - -(use-package nord-theme +(use-package dracula-theme :ensure t :config - (load-theme 'nord t)) + (load-theme 'dracula t)) ;; Sitebar dirred (use-package dired-sidebar @@ -180,6 +182,13 @@ :config ) +(use-package company + :ensure t + :config + ) + + + ;; Error list (define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error) (define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error) @@ -206,7 +215,7 @@ (use-package yaml-mode :ensure t :config - ) + ) ;; Markdown-mode (use-package markdown-mode