|
@ -1,4 +1,4 @@ |
|
|
;; My basic configuration Gerardo Marx 15/Jul/2020 |
|
|
|
|
|
|
|
|
;;; My basic configuration Gerardo Marx 15/Jul/2020 |
|
|
;;-------- |
|
|
;;-------- |
|
|
;; Melpa repository: |
|
|
;; Melpa repository: |
|
|
(require 'package) |
|
|
(require 'package) |
|
@ -16,7 +16,7 @@ |
|
|
(use-package doom-themes |
|
|
(use-package doom-themes |
|
|
:ensure t |
|
|
:ensure t |
|
|
:config |
|
|
:config |
|
|
(load-theme 'doom-one) |
|
|
|
|
|
|
|
|
(load-theme 'doom-one t) |
|
|
;; Enable flashing mode-line on errors |
|
|
;; Enable flashing mode-line on errors |
|
|
(doom-themes-visual-bell-config) |
|
|
(doom-themes-visual-bell-config) |
|
|
;; Enable custom neotree theme (all-the-icons must be installed!) |
|
|
;; Enable custom neotree theme (all-the-icons must be installed!) |
|
@ -27,9 +27,9 @@ |
|
|
;; Corrects (and improves) org-mode's native fontification. |
|
|
;; Corrects (and improves) org-mode's native fontification. |
|
|
(doom-themes-org-config)) |
|
|
(doom-themes-org-config)) |
|
|
;; modeline |
|
|
;; modeline |
|
|
(use-package doom-modeline |
|
|
|
|
|
|
|
|
(use-package doom-modeline |
|
|
:ensure t |
|
|
:ensure t |
|
|
:hook (after-init . doom-modeline-mode)) |
|
|
|
|
|
|
|
|
:init (doom-modeline-mode 1)) |
|
|
;; icons: |
|
|
;; icons: |
|
|
(use-package all-the-icons |
|
|
(use-package all-the-icons |
|
|
:ensure t) ;; --> you need this M-x all-the-icons-install-fonts |
|
|
:ensure t) ;; --> you need this M-x all-the-icons-install-fonts |
|
@ -57,7 +57,13 @@ |
|
|
;; helm-projectile: |
|
|
;; helm-projectile: |
|
|
(use-package helm-projectile |
|
|
(use-package helm-projectile |
|
|
:ensure t |
|
|
:ensure t |
|
|
|
|
|
:init |
|
|
|
|
|
(progn |
|
|
|
|
|
(require 'tramp) |
|
|
|
|
|
) |
|
|
:config (helm-projectile-on)) |
|
|
:config (helm-projectile-on)) |
|
|
|
|
|
;; temp: |
|
|
|
|
|
(setq ido-enable-flex-matching t) |
|
|
;; dash-board: |
|
|
;; dash-board: |
|
|
(use-package dashboard |
|
|
(use-package dashboard |
|
|
:ensure t |
|
|
:ensure t |
|
@ -67,7 +73,7 @@ |
|
|
(bookmarks . 5) |
|
|
(bookmarks . 5) |
|
|
(projects . 5) |
|
|
(projects . 5) |
|
|
(agenda . 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-file-icons t) |
|
|
(setq dashboard-set-init-info t) |
|
|
(setq dashboard-set-init-info t) |
|
|
(add-to-list 'dashboard-items '(agenda) t) |
|
|
(add-to-list 'dashboard-items '(agenda) t) |
|
@ -75,6 +81,44 @@ |
|
|
) |
|
|
) |
|
|
:config |
|
|
:config |
|
|
(dashboard-setup-startup-hook)) |
|
|
(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: |
|
|
;; Set default font: |
|
|
(add-to-list 'default-frame-alist |
|
|
(add-to-list 'default-frame-alist |
|
|
'(font . "Source Code Pro-18")) |
|
|
'(font . "Source Code Pro-18")) |
|
@ -88,7 +132,7 @@ |
|
|
("2f1518e906a8b60fac943d02ad415f1d8b3933a5a7f75e307e6e9a26ef5bf570" "fe94e2e42ccaa9714dd0f83a5aa1efeef819e22c5774115a9984293af609fce7" default))) |
|
|
("2f1518e906a8b60fac943d02ad415f1d8b3933a5a7f75e307e6e9a26ef5bf570" "fe94e2e42ccaa9714dd0f83a5aa1efeef819e22c5774115a9984293af609fce7" default))) |
|
|
'(package-selected-packages |
|
|
'(package-selected-packages |
|
|
(quote |
|
|
(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 |
|
|
;; custom-set-faces was added by Custom. |
|
|
;; custom-set-faces was added by Custom. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|