emacs : indetation space to tabs, colored org headers

This commit is contained in:
2022-11-02 15:38:12 +09:00
parent 5e681be82a
commit 1e55f1962d
2 changed files with 122 additions and 132 deletions

View File

@ -1,6 +1,7 @@
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*- ;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
(setq-default tab-width 4) (setq-default tab-width 4)
(defvaralias 'c-basic-offset 'tab-width) (defvaralias 'c-basic-offset 'tab-width)
(setq! indent-tabs-mode t)
;; Place your private configuration here! Remember, you do not need to run 'doom ;; Place your private configuration here! Remember, you do not need to run 'doom
;; sync' after modifying this file! ;; sync' after modifying this file!
(setq default-input-method "korean-hangul") (setq default-input-method "korean-hangul")
@ -41,14 +42,8 @@
;; available. You can either set `doom-theme' or manually load a theme with the ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
(if (display-graphic-p) (if (display-graphic-p)
;;(setq doom-theme 'doom-palenight) (setq doom-theme 'doom-palenight)
;;(setq doom-theme 'doom-monokai-pro) (setq doom-theme 'doom-gruvbox))
;;(setq doom-theme 'doom-material)
(setq doom-theme 'morning-star)
;;(setq doom-theme 'doom-dracula)
;;(setq doom-theme 'doom-one)
(setq doom-theme 'morning-star))
;;(setq doom-theme 'doom-gruvbox))
(unless (display-graphic-p) (unless (display-graphic-p)
(xterm-mouse-mode)) (xterm-mouse-mode))
(beacon-mode 1) (beacon-mode 1)
@ -99,8 +94,8 @@
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
;; -Virtico ;; -Virtico
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
(if (display-graphic-p) ;;(if (display-graphic-p)
(vertico-posframe-mode 1)) ;; (vertico-posframe-mode 1))
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
;; -Transparency ;; -Transparency
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
@ -128,15 +123,6 @@
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
;; - Language Server Client ;; - Language Server Client
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
;;(use-package! eglot)
;;(dap-register-debug-template "Rust::GDB Run Configuration"
;; (list :type "gdb"
;; :request "launch"
;; :name "GDB::Run"
;; :gdbpath "rust-gdb"
;; :target nil
;; :cwd nil))
(after! dap-mode (after! dap-mode
(setq dap-python-debugger 'debugpy)) (setq dap-python-debugger 'debugpy))
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
@ -273,14 +259,14 @@ same directory as the org-buffer and insert a link to this file."
(?* . ?) (?* . ?)
(?- . ?•))) (?- . ?•)))
(custom-set-faces! (custom-set-faces!
'(org-level-1 :height 1.7 :weight ultra-bold) ;; :foreground "#81a2be" '(org-level-1 :height 1.7 :weight ultra-bold :foreground "#81a2be") ;; :foreground "#81a2be"
'(org-level-2 :height 1.6 :weight extra-bold) ;; :foreground "#b294bb" '(org-level-2 :height 1.6 :weight extra-bold :foreground "#b294bb") ;; :foreground "#b294bb"
'(org-level-3 :height 1.5 :weight bold) ;; :foreground "#b5bd68" '(org-level-3 :height 1.5 :weight bold :foreground "#b5bd68") ;; :foreground "#b5bd68"
'(org-level-4 :height 1.4 :weight semi-bold) ;; :foreground "#e6c547" '(org-level-4 :height 1.4 :weight semi-bold :foreground "#e6c547") ;; :foreground "#e6c547"
'(org-level-5 :height 1.3 :weight normal) ;; :foreground "#cc6666" '(org-level-5 :height 1.3 :weight normal :foreground "#cc6666") ;; :foreground "#cc6666"
'(org-level-6 :height 1.2 :weight normal) ;; :foreground "#70c0ba" '(org-level-6 :height 1.2 :weight normal :foreground "#70c0ba") ;; :foreground "#70c0ba"
'(org-level-7 :height 1.1 :weight normal) ;; :foreground "#b77ee0" '(org-level-7 :height 1.1 :weight normal :foreground "#b77ee0") ;; :foreground "#b77ee0"
'(org-level-8 :height 1.0 :weight normal)) ;; :foreground "#9ec400" '(org-level-8 :height 1.0 :weight normal :foreground "#9ec400")) ;; :foreground "#9ec400"
(custom-set-faces! (custom-set-faces!
'(org-document-title :height 2.0))) '(org-document-title :height 2.0)))
(setq org-use-sub-superscripts '{}) (setq org-use-sub-superscripts '{})
@ -443,9 +429,9 @@ same directory as the org-buffer and insert a link to this file."
(use-package! org-roam-ui (use-package! org-roam-ui
:after org-roam ;; or :after org :after org-roam ;; or :after org
;; normally we'd recommend hooking orui after org-roam, but since org-roam does not have ;; normally we'd recommend hooking orui after org-roam, but since org-roam does not have
;; a hookable mode anymore, you're advised to pick something yourself ;; a hookable mode anymore, you're advised to pick something yourself
;; if you don't care about startup time, use ;; if you don't care about startup time, use
;;:hook (after-init . org-roam-ui-mode) ;;:hook (after-init . org-roam-ui-mode)
:config :config
(setq! org-roam-ui-sync-theme t (setq! org-roam-ui-sync-theme t
@ -506,7 +492,7 @@ same directory as the org-buffer and insert a link to this file."
(setq! verilog-case-indent 4) (setq! verilog-case-indent 4)
(setq! verilog-cexp-indent 4) (setq! verilog-cexp-indent 4)
(setq! verilog-indent-lists nil) (setq! verilog-indent-lists nil)
; -------------------------------------------------------------------------------------------- ; --------------------------------------------------------------------------------------------
;; - Dired ;; - Dired
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
(use-package! dired (use-package! dired
@ -533,7 +519,7 @@ same directory as the org-buffer and insert a link to this file."
(kbd "j") 'peep-dired-next-file (kbd "j") 'peep-dired-next-file
(kbd "k") 'peep-dired-prev-file) (kbd "k") 'peep-dired-prev-file)
(add-hook 'peep-dired-hook 'evil-normalize-keymaps) (add-hook 'peep-dired-hook 'evil-normalize-keymaps)
; -------------------------------------------------------------------------------------------- ; --------------------------------------------------------------------------------------------
;; - KeyBindings ;; - KeyBindings
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
(map! "C-s" 'consult-line) (map! "C-s" 'consult-line)

View File

@ -11,5 +11,9 @@ Host github.com
################################################################### ###################################################################
# Proxy Server # Proxy Server
Host odroid Host odroid
Hostname 192.168.0.11 Hostname jaeus.net
User jaeus User jaeus
Port 53792
Host testbd
User root
Hostname 192.168.250.192