summaryrefslogtreecommitdiffstats
path: root/.emacs.d/org/config.org
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-14 15:11:21 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-14 15:11:21 +0200
commit6b22500132aac1d3e3858fc15bb34d051e88b5e1 (patch)
treecf58f62e0a2ee4bc6a74a683d5ef0e5d4e10eed9 /.emacs.d/org/config.org
parentNew vifm colors, emacs 27 boyyy (diff)
downloaddotfiles-bsd-6b22500132aac1d3e3858fc15bb34d051e88b5e1.tar.gz
dotfiles-bsd-6b22500132aac1d3e3858fc15bb34d051e88b5e1.tar.bz2
dotfiles-bsd-6b22500132aac1d3e3858fc15bb34d051e88b5e1.tar.xz
dotfiles-bsd-6b22500132aac1d3e3858fc15bb34d051e88b5e1.tar.zst
dotfiles-bsd-6b22500132aac1d3e3858fc15bb34d051e88b5e1.zip
Emacs config ready for 27
Diffstat (limited to '.emacs.d/org/config.org')
-rw-r--r--.emacs.d/org/config.org19
1 files changed, 10 insertions, 9 deletions
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