remove unnecessary early-init script, cleanup settings.org for minimal confusion
This commit is contained in:
parent
45220cb153
commit
afdd4a7c83
@ -30,14 +30,7 @@
|
|||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(elcord-idle-message "Idling...")
|
)
|
||||||
'(elcord-idle-timer 120)
|
|
||||||
'(elcord-refresh-rate 3)
|
|
||||||
'(org-html-postamble nil)
|
|
||||||
'(org-html-preamble t)
|
|
||||||
'(package-selected-packages
|
|
||||||
'(kotlin-mode magit counsel doom-modeline doom-themes use-package))
|
|
||||||
'(tab-width 2))
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Indentation
|
** Indentation
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq default-tab-width 2)
|
(setq default-tab-width 2
|
||||||
(setq-default tab-width 2)
|
tab-width 2
|
||||||
(setq-default indent-tabs-mode nil)
|
indent-tabs-mode nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Line numbers
|
** Line numbers
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -85,18 +85,17 @@
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Theming
|
* Theming
|
||||||
|
** Line spacing
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq line-spacing 0.24)
|
||||||
|
#+END_SRC
|
||||||
** Highlight current line
|
** Highlight current line
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(global-hl-line-mode)
|
(global-hl-line-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Line Height
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq line-spacing 0.29)
|
|
||||||
#+END_SRC
|
|
||||||
** Font
|
** Font
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; (let ((font "CozetteVector-13:antialias=none"))
|
(let ((font "Anonymous Pro Minus:14"))
|
||||||
(let ((font "Anonymous Pro Minus-14"))
|
|
||||||
(set-face-attribute 'default nil :font font)
|
(set-face-attribute 'default nil :font font)
|
||||||
(set-frame-font font nil t))
|
(set-frame-font font nil t))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@ -180,7 +179,9 @@
|
|||||||
* Org mode
|
* Org mode
|
||||||
** General
|
** General
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-startup-indented t)
|
(setq org-startup-indented t
|
||||||
|
org-html-postamble nil
|
||||||
|
org-html-preamble t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Babel
|
** Babel
|
||||||
*** Elixir
|
*** Elixir
|
||||||
@ -273,7 +274,6 @@
|
|||||||
(use-package rainbow-delimiters :ensure t)
|
(use-package rainbow-delimiters :ensure t)
|
||||||
(add-hook 'lisp-mode-hook #'rainbow-delimiters-mode)
|
(add-hook 'lisp-mode-hook #'rainbow-delimiters-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Slime
|
**** Slime
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package slime
|
(use-package slime
|
||||||
@ -296,6 +296,8 @@
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** cl-indentify
|
**** cl-indentify
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
;; roswell is in the AUR
|
||||||
|
;; ros install cl-indentify
|
||||||
(defun on-lisp-save-cl-indentify ()
|
(defun on-lisp-save-cl-indentify ()
|
||||||
(when (eq major-mode 'lisp-mode)
|
(when (eq major-mode 'lisp-mode)
|
||||||
(shell-command
|
(shell-command
|
||||||
@ -313,13 +315,12 @@
|
|||||||
(elixir-format))))))
|
(elixir-format))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Rust
|
*** Rust
|
||||||
After installing the ~rust-analyzer~ program, the following can be used:
|
After installing the ~rust-analyzer~, the following can be used:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package rust-mode
|
(use-package rust-mode
|
||||||
:ensure t)
|
:ensure t)
|
||||||
(setq lsp-rust-server 'rust-analyzer)
|
(setq lsp-rust-server 'rust-analyzer)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Web Stuff
|
*** Web Stuff
|
||||||
**** typescript-mode
|
**** typescript-mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -337,9 +338,6 @@ After installing the ~rust-analyzer~ program, the following can be used:
|
|||||||
(setq flycheck-check-syntax-automatically '(save mode-enabled))
|
(setq flycheck-check-syntax-automatically '(save mode-enabled))
|
||||||
(eldoc-mode +1)
|
(eldoc-mode +1)
|
||||||
(tide-hl-identifier-mode +1)
|
(tide-hl-identifier-mode +1)
|
||||||
;; company is an optional dependency. You have to
|
|
||||||
;; install it separately via package-install
|
|
||||||
;; `M-x package-install [ret] company`
|
|
||||||
(company-mode +1))
|
(company-mode +1))
|
||||||
|
|
||||||
(use-package tide
|
(use-package tide
|
||||||
@ -426,13 +424,15 @@ After installing the ~rust-analyzer~ program, the following can be used:
|
|||||||
("C->" . mc/mark-next-like-this)
|
("C->" . mc/mark-next-like-this)
|
||||||
("C-<" . mc/mark-previous-like-this)
|
("C-<" . mc/mark-previous-like-this)
|
||||||
("C-c C->" . mc/mark-all-like-this)
|
("C-c C->" . mc/mark-all-like-this)
|
||||||
("C-c C-SPC" . mc/edit-lines)
|
("C-c C-SPC" . mc/edit-lines)))
|
||||||
))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Elcord
|
* Elcord
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package elcord
|
(use-package elcord
|
||||||
|
:config
|
||||||
|
(setq elcord-idle-message "Idling..."
|
||||||
|
elcord-idle-timer 300
|
||||||
|
elcord-refresh-rate 3)
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
(elcord-mode)
|
(elcord-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user