|
@ -0,0 +1,45 @@ |
|
|
|
|
|
;;; My basic configuration Gerardo Marx 15/Jul/2020 |
|
|
|
|
|
;;-------- |
|
|
|
|
|
;; Melpa repository: |
|
|
|
|
|
(require 'package) |
|
|
|
|
|
(add-to-list 'package-archives |
|
|
|
|
|
'("melpa" . "https://melpa.org/packages/")t) |
|
|
|
|
|
(package-initialize) |
|
|
|
|
|
;;++++++++++++++++ |
|
|
|
|
|
;; use-package |
|
|
|
|
|
(unless (package-installed-p 'use-package) |
|
|
|
|
|
(package-refresh-contents) |
|
|
|
|
|
(package-install 'use-package)) |
|
|
|
|
|
;;+++++++++++++ |
|
|
|
|
|
;; frame size |
|
|
|
|
|
(setq initial-frame-alist '((top . 0)(left . 0) |
|
|
|
|
|
(width . 80)(height . 50))) |
|
|
|
|
|
;;+++++++++++ |
|
|
|
|
|
;; Doom-themes, all-the-icons, mode-line and font |
|
|
|
|
|
(unless (package-installed-p 'doom-themes) |
|
|
|
|
|
(package-install 'doom-themes)) |
|
|
|
|
|
(unless (package-installed-p 'all-the-icons) |
|
|
|
|
|
(package-install 'all-the-icons)) |
|
|
|
|
|
(require 'doom-themes) |
|
|
|
|
|
;; Global settings (defaults) |
|
|
|
|
|
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled |
|
|
|
|
|
doom-themes-enable-italic t) ; if nil, italics is universally disabled |
|
|
|
|
|
;; Load the theme (doom-one, doom-molokai, etc); keep in mind that each |
|
|
|
|
|
;; theme may have their own settings. |
|
|
|
|
|
(load-theme 'doom-one t) |
|
|
|
|
|
;; Enable flashing mode-line on errors |
|
|
|
|
|
(doom-themes-visual-bell-config) |
|
|
|
|
|
;; Enable custom neotree theme |
|
|
|
|
|
(doom-themes-neotree-config) ; all-the-icons fonts must be installed! |
|
|
|
|
|
;; Installling doom-modeline: |
|
|
|
|
|
(unless (package-installed-p 'doom-modeline) |
|
|
|
|
|
(package-install 'doom-modeline)) |
|
|
|
|
|
(require 'doom-modeline) |
|
|
|
|
|
(doom-modeline-mode 1) |
|
|
|
|
|
;;Intalling all-the-icons font: |
|
|
|
|
|
(unless (package-installed-p 'all-the-icons) |
|
|
|
|
|
(package-install 'all-the-icons)) |
|
|
|
|
|
;; Set default font: |
|
|
|
|
|
(add-to-list 'default-frame-alist |
|
|
|
|
|
'(font . "Source Code Pro-24")) |
|
|
|
|
|
;;--------- |