From 6b22500132aac1d3e3858fc15bb34d051e88b5e1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 14 Aug 2020 15:11:21 +0200 Subject: Emacs config ready for 27 --- .emacs.d/org/config.org | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org index 357ab02..3557161 100644 --- a/.emacs.d/org/config.org +++ b/.emacs.d/org/config.org @@ -173,9 +173,10 @@ centaur-tabs-set-close-button nil centaur-tabs-set-modified-marker t centaur-tabs-modified-marker "[+]" - centaur-tabs-height 24 + centaur-tabs-height 1 centaur-tabs-style "bar" - centaur-tabs-set-bar 'left) + centaur-tabs-set-bar 'left + centaur-tabs-change-fonts "mononoki Nerd Font") (defun centaur-tabs-hide-tab (x) (let ((name (format "%s" x))) @@ -442,7 +443,7 @@ (require 'doom-modeline) (doom-modeline-mode 1) -(setq doom-modeline-height 1) +(setq doom-modeline-height 30) (setq doom-modeline-project-detection 'projectile) (setq doom-modeline-buffer-file-name-style 'truncate-upto-project) (setq doom-modeline-icon (display-graphic-p)) @@ -476,7 +477,7 @@ (setq doom-modeline-env-load-string "...") (setq doom-modeline-before-update-env-hook nil) (setq doom-modeline-after-update-env-hook nil) -;; (display-battery-mode) +(display-battery-mode) (column-number-mode) (display-time) (doom-themes-neotree-config) @@ -610,17 +611,17 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (global-set-key [escape] 'evil-exit-emacs-state) (defun my/insert-tab-char () - "Insert a tab char. (ASCII 9, \t)" (interactive) (insert "\t")) (define-key evil-insert-state-map [tab] 'my/insert-tab-char) +(setq my/tab-stop 4) (setq-default indent-tabs-mode t) (setq tab-always-indent 'complete) -(setq-default tab-width 4) -(setq tab-width 4) -;; (defvaralias 'c-basic-offset 'tab-width) -;; (defvaralias 'cperl-indent-level 'tab-width) +(setq-default tab-width my/tab-stop) +(setq tab-width my/tab-stop) +(setq-default c-basic-offset my/tab-stop) +(setq-default cperl-indent-level my/tab-stop) #+END_SRC *** all the icons -- cgit v1.2.3