mirror of
https://github.com/Horhik/dotfiles.git
synced 2025-02-18 07:04:30 +00:00
update doom emacs configs
This commit is contained in:
parent
a155d1a585
commit
fd59843d98
|
@ -100,7 +100,7 @@ padding:
|
||||||
# Font configuration
|
# Font configuration
|
||||||
|
|
||||||
font:
|
font:
|
||||||
size: 10
|
size: 12
|
||||||
normal:
|
normal:
|
||||||
family: Mononoki Nerd Font
|
family: Mononoki Nerd Font
|
||||||
style: Medium
|
style: Medium
|
||||||
|
@ -112,9 +112,6 @@ font:
|
||||||
style: Italic
|
style: Italic
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
offset:
|
|
||||||
# x: -1
|
|
||||||
y: -1
|
|
||||||
|
|
||||||
glyph_offset:
|
glyph_offset:
|
||||||
x: 0
|
x: 0
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
;; If you use `org' and don't want your org files in the default location below,
|
;; If you use `org' and don't want your org files in the default location below,
|
||||||
;; change `org-directory'. It must be set before org loads!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
(setq org-directory "~/org/")
|
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
|
@ -39,10 +38,9 @@
|
||||||
|
|
||||||
|
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
'(org-directory "~/Nextcloud")
|
'(org-directory "~/KB")
|
||||||
'(org-agenda-files (list org-directory))
|
'(org-agenda-files (list org-directory)))
|
||||||
|
|
||||||
)
|
|
||||||
;; Here are some additional functions/macros that could help you configure Doom:
|
;; Here are some additional functions/macros that could help you configure Doom:
|
||||||
;;
|
;;
|
||||||
;; - `load!' for loading external *.el files relative to this one
|
;; - `load!' for loading external *.el files relative to this one
|
||||||
|
@ -64,15 +62,10 @@
|
||||||
(use-package emojify
|
(use-package emojify
|
||||||
:hook (after-init . global-emojify-mode))
|
:hook (after-init . global-emojify-mode))
|
||||||
|
|
||||||
(add-to-list 'load-path "~/.emacs.d/manual-addons")
|
|
||||||
|
|
||||||
;; !!! это надо делать в конце файла, иначе модули перетирают настройки метода ввода
|
|
||||||
(if (eq system-type 'darwin)
|
|
||||||
(setq russian-input-method "russian-no-windows")
|
|
||||||
(setq russian-input-method "russian-computer"))
|
|
||||||
(setq-default default-input-method russian-input-method)
|
|
||||||
(setq default-input-method russian-input-method)
|
|
||||||
(set-input-method russian-input-method)
|
|
||||||
|
|
||||||
(global-set-key (kbd "M-SPC") 'toggle-input-method)
|
(use-package org-notifications
|
||||||
(define-key isearch-mode-map (kbd "M-SPC") 'toggle-input-method)
|
:hook (after-init . org-notifications-start)
|
||||||
|
)
|
||||||
|
|
||||||
|
(setq org-timer-default-timer 25)
|
||||||
|
|
|
@ -12,9 +12,12 @@
|
||||||
'(jdee-db-spec-breakpoint-face-colors (cons "#0d1011" "#928374"))
|
'(jdee-db-spec-breakpoint-face-colors (cons "#0d1011" "#928374"))
|
||||||
'(objed-cursor-color "#fb4934")
|
'(objed-cursor-color "#fb4934")
|
||||||
'(org-agenda-files (list org-directory))
|
'(org-agenda-files (list org-directory))
|
||||||
'(org-directory "~/Nextcloud")
|
'(org-directory "~/KB")
|
||||||
|
'(org-manage-directory-org "~/KB")
|
||||||
|
'(org-roam-complete-everywhere t)
|
||||||
|
'(org-roam-directory "~/KB/B-roam")
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(org-evil emojify-logos linum-relative evil-mc lsp-mode rustic company racer gruvbox-theme neotree rust-mode))
|
'(org-mind-map ctable nroam org-roam with-editor transient org-alert org-notifications org-evil emojify-logos linum-relative evil-mc lsp-mode rustic company racer gruvbox-theme neotree rust-mode))
|
||||||
'(rustic-ansi-faces
|
'(rustic-ansi-faces
|
||||||
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
|
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
|
||||||
'(vc-annotate-background "#282828")
|
'(vc-annotate-background "#282828")
|
||||||
|
@ -47,3 +50,13 @@
|
||||||
'(default ((t (:family "Mononoki Nerd Font" :size 12 :weight regular))))
|
'(default ((t (:family "Mononoki Nerd Font" :size 12 :weight regular))))
|
||||||
'(neo-dir-link-face ((t (:family "Mononoki Nerd Font" :size 12 :weight regular))))
|
'(neo-dir-link-face ((t (:family "Mononoki Nerd Font" :size 12 :weight regular))))
|
||||||
'(neo-file-link-face ((t (:family "Mononoki Nerd Font" :size 12 :weight regular)))))
|
'(neo-file-link-face ((t (:family "Mononoki Nerd Font" :size 12 :weight regular)))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(defun writeFile (name content)
|
||||||
|
(with-open-file (stream name
|
||||||
|
:direction :output
|
||||||
|
:if-exists :overwrite
|
||||||
|
:if-does-not-exist :create)
|
||||||
|
(format stream content)))
|
||||||
|
(writeFile "/tmp/timer" "Test...")
|
||||||
|
|
|
@ -40,7 +40,17 @@
|
||||||
;; Use `:pin' to specify a particular commit to install.
|
;; Use `:pin' to specify a particular commit to install.
|
||||||
;(package! builtin-package :pin "1a2b3c4d5e")
|
;(package! builtin-package :pin "1a2b3c4d5e")
|
||||||
|
|
||||||
|
(package! org-alert)
|
||||||
|
(package! org-roam)
|
||||||
|
(package! org-roam-server)
|
||||||
|
(package! org-manage :recipe
|
||||||
|
(:host github
|
||||||
|
:repo "dmgerman/org-manage"
|
||||||
|
:files ("*.el" "src/lisp/*.el")))
|
||||||
|
(package! org-notifications :recipe
|
||||||
|
(:host github
|
||||||
|
:repo "doppelc/org-notifications"
|
||||||
|
:files ("*.el" "src/lisp/*.el")))
|
||||||
;; Doom's packages are pinned to a specific commit and updated from release to
|
;; Doom's packages are pinned to a specific commit and updated from release to
|
||||||
;; release. The `unpin!' macro allows you to unpin single packages...
|
;; release. The `unpin!' macro allows you to unpin single packages...
|
||||||
;(unpin! pinned-package)
|
;(unpin! pinned-package)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
file:///home/horhik/KB
|
||||||
file:///home/horhik/.config/eww
|
file:///home/horhik/.config/eww
|
||||||
file:///home/horhik/Documents/Icons/Notion%20Icons%203.0
|
file:///home/horhik/Documents/Icons/Notion%20Icons%203.0
|
||||||
file:///usr/share/icons/Papirus-Dark/96x96
|
file:///usr/share/icons/Papirus-Dark/96x96
|
||||||
|
|
|
@ -108,6 +108,7 @@ source $ZSH/oh-my-zsh.sh
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
export PATH=/usr/local/bin:$PATH
|
export PATH=/usr/local/bin:$PATH
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
|
export PATH=$HOME/.emacs.d/bin:$PATH
|
||||||
export PATH=$HOME/Desktop:$PATH
|
export PATH=$HOME/Desktop:$PATH
|
||||||
export PATH=/home/horhik/code/projects/potato-notify:$PATH
|
export PATH=/home/horhik/code/projects/potato-notify:$PATH
|
||||||
export PATH="/root/.deno/bin:$PATH"
|
export PATH="/root/.deno/bin:$PATH"
|
||||||
|
|
Loading…
Reference in a new issue