diff --git a/.emacs b/.emacs index de880b3..5de6fd4 100644 --- a/.emacs +++ b/.emacs @@ -1,4 +1,4 @@ -;; My basic configuration Gerardo Marx 15/Jul/2020 +;;; My basic configuration Gerardo Marx 15/Jul/2020 ;;-------- ;; Melpa repository: (require 'package) @@ -16,7 +16,7 @@ (use-package doom-themes :ensure t :config - (load-theme 'doom-one) + (load-theme 'doom-one t) ;; Enable flashing mode-line on errors (doom-themes-visual-bell-config) ;; Enable custom neotree theme (all-the-icons must be installed!) @@ -27,9 +27,9 @@ ;; Corrects (and improves) org-mode's native fontification. (doom-themes-org-config)) ;; modeline -(use-package doom-modeline +(use-package doom-modeline :ensure t - :hook (after-init . doom-modeline-mode)) + :init (doom-modeline-mode 1)) ;; icons: (use-package all-the-icons :ensure t) ;; --> you need this M-x all-the-icons-install-fonts @@ -57,7 +57,13 @@ ;; helm-projectile: (use-package helm-projectile :ensure t + :init + (progn + (require 'tramp) + ) :config (helm-projectile-on)) +;; temp: +(setq ido-enable-flex-matching t) ;; dash-board: (use-package dashboard :ensure t @@ -67,7 +73,7 @@ (bookmarks . 5) (projects . 5) (agenda . 5))) - (setq dashboard-banner-logo-title "Welcole Marx") + (setq dashboard-banner-logo-title "Welcome gMarx") (setq dashboard-set-file-icons t) (setq dashboard-set-init-info t) (add-to-list 'dashboard-items '(agenda) t) @@ -75,6 +81,44 @@ ) :config (dashboard-setup-startup-hook)) +;; treemacs +(use-package treemacs + :ensure t + :init + (with-eval-after-load 'winum + (define-key winum-keymap (kbd "M-0") #'treemacs-select-window)) + :config + (progn + (setq treemacs-is-never-other-window t) + (setq treemacs-width 35) + ) + :bind + (:map global-map + ("M-0" . treemacs-select-window) + ("C-x t t" . treemacs))) +;; treemacs-projectile +(use-package treemacs-projectile + :after treemacs projectile + :ensure t) +;; magit +(use-package magit + :ensure t) +;; latex +(use-package tex + :ensure auctex) +;; flycheck +(use-package flycheck + :ensure t + :init (global-flycheck-mode)) +;; expand region +(use-package expand-region + :ensure t + :bind + ("C-=" . er/expand-region) + ("C--" . er/contract-region)) + +;; aspell + ;; Set default font: (add-to-list 'default-frame-alist '(font . "Source Code Pro-18")) @@ -88,7 +132,7 @@ ("2f1518e906a8b60fac943d02ad415f1d8b3933a5a7f75e307e6e9a26ef5bf570" "fe94e2e42ccaa9714dd0f83a5aa1efeef819e22c5774115a9984293af609fce7" default))) '(package-selected-packages (quote - (dashboard helm-projectile helm doom-modeline doom-themes which-key use-package projectile)))) + (expand-region flycheck treemacs-projectile treemacs magit auctex dashboard helm-projectile helm doom-modeline doom-themes which-key use-package projectile)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.