From ccbbd78e3bb7ffce9afa27c27534116f3df79e66 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Sun, 7 Jun 2020 17:34:15 +0200 Subject: [PATCH] org-mode config and new theme --- config.org | 27 ++++++++++++++++++--------- init.el | 2 +- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/config.org b/config.org index f759ef5..197731b 100644 --- a/config.org +++ b/config.org @@ -27,6 +27,8 @@ ** Dependencies The only no emacs related dependence in this configuration is the IBM Plex Mono font. Install it from your distribution packages. + You can change it before opening Emacs with this configuration for + the first time. * melpa crap, and basic packages installation melpa, where you get the packages. This also installs use-package, and other packages I use. @@ -52,6 +54,7 @@ Remember to run M-x all-the-icons-install-fonts after the first init to install the fonts. #+BEGIN_SRC emacs-lisp + (use-package markdown-mode :ensure t) (use-package web-mode @@ -60,6 +63,9 @@ :ensure t) (use-package all-the-icons :ensure t) + (use-package which-key + :ensure t + :init (which-key-mode)) #+END_SRC * Autoindentation C-c n for indent-buffer. I don't use the rest. @@ -115,7 +121,7 @@ Including indent-buffer, which should not be called automatically on save." * customization Emacs customization, Here is where most of the configuration is. -** Disable bars font and pandoc export options. +** Disable bars font and pandoc export optxions. Basic customization. I also use smex instead of default M-x. I don't like heml #+BEGIN_SRC emacs-lisp @@ -123,7 +129,7 @@ Including indent-buffer, which should not be called automatically on save." (scroll-bar-mode -1) (tool-bar-mode -1) (menu-bar-mode -1) - (set-frame-font "IBM Plex Mono 14" nil t) + (set-frame-font "IBM Plex Mono 13" nil t) (load-file "~/.emacs.d/markup.el") (use-package smex :ensure t @@ -172,12 +178,15 @@ Including indent-buffer, which should not be called automatically on save." :background (face-background 'default)) #+END_SRC ** org-mode + org-mode is a markup language which has a lot of stuff (This config + file is written in org-mode. #+BEGIN_SRC emacs-lisp - (use-package org-bullets - :ensure t - :init - (add-hook 'org-mode-hook 'org-bullets-mode)) - (setq org-hide-emphasis-markers t) + (use-package org-bullets + :ensure t + :init + (add-hook 'org-mode-hook 'org-bullets-mode)) + (setq org-hide-emphasis-markers t) + (setq org-src-window-setup 'current-window) #+END_SRC ** Relative lines @@ -204,10 +213,10 @@ Including indent-buffer, which should not be called automatically on save." #+END_SRC ** theme #+BEGIN_SRC emacs-lisp - (use-package zerodark-theme + (use-package humanoid-themes :ensure t :config - (load-theme 'zerodark t)) + (load-theme 'humanoid-dark t)) #+END_SRC ** erc diff --git a/init.el b/init.el index 464ab6c..1d2944a 100644 --- a/init.el +++ b/init.el @@ -9,7 +9,7 @@ ("bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "18cd5a0173772cdaee5522b79c444acbc85f9a06055ec54bb91491173bc90aaa" default))) '(package-selected-packages (quote - (spacemacs-theme use-package minsk-theme auctex htmlize plan9-theme zencoding-mode wdl-mode visual-fill-column twittering-mode tramp-term tracking tetris ssh srv smiles-mode smex slime seti-theme scheme-complete s rust-mode restclient projectile plsense pdf-tools org-bullets nav-flash mutt-mode multiple-cursors markdown-mode magit ivy-youtube haskell-mode flycheck evil emms diredfl dired-details dashboard cyberpunk-theme button-lock all-the-icons)))) + (humanoid-themes humanoid-theme laguna-theme which-key spacemacs-theme use-package minsk-theme auctex htmlize plan9-theme zencoding-mode wdl-mode visual-fill-column twittering-mode tramp-term tracking tetris ssh srv smiles-mode smex slime seti-theme scheme-complete s rust-mode restclient projectile plsense pdf-tools org-bullets nav-flash mutt-mode multiple-cursors markdown-mode magit ivy-youtube haskell-mode flycheck evil emms diredfl dired-details dashboard cyberpunk-theme button-lock all-the-icons)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.