mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(sioyek): Add sioyek configs
* feat(sioyek): Add sioyek configs * feat(surfingkeys): Add sspai.com keymaps * feat(emacs): Add Doom Org Configs, Org LaTeX YASSnippets * fix(hypr): Fix bluetooth GUI name
This commit is contained in:
parent
38d3bf7ae9
commit
5daa07f4c2
11 changed files with 153 additions and 40 deletions
|
|
@ -21,7 +21,7 @@
|
|||
;; See 'C-h v doom-font' for documentation and more examples of what they
|
||||
;; accept. For example:
|
||||
;;
|
||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 14 :weight 'semi-light)
|
||||
(setq doom-font (font-spec :family "Iosevka Nerd Font Propo" :size 14 :weight 'semi-light)
|
||||
doom-variable-pitch-font (font-spec :family "JetBrainsMono Nerd Font" :size 13))
|
||||
;;
|
||||
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||
|
|
@ -105,36 +105,8 @@
|
|||
|
||||
|
||||
(after! wakatime-mode
|
||||
(global-wakatime-mode))
|
||||
|
||||
;; For CJK users
|
||||
;; Insert zero width space around the emphasis symbols, this might be useful for
|
||||
;; languages that does not rely on space
|
||||
(after! org
|
||||
(defun my/insert-emphasis-with-zws (char)
|
||||
(interactive "c")
|
||||
(insert ?\u200B char)
|
||||
(save-excursion (insert char ?\u200B)))
|
||||
|
||||
(map! :map org-mode-map
|
||||
"C-c b" (lambda () (interactive) (my/insert-emphasis-with-zws ?*))
|
||||
"C-c i" (lambda () (interactive) (my/insert-emphasis-with-zws ?/))
|
||||
"C-c u" (lambda () (interactive) (my/insert-emphasis-with-zws ?_))))
|
||||
(global-wakatime-mode)
|
||||
(setq wakatime-cli-path "~/.local/bin/wakatime"))
|
||||
|
||||
|
||||
(after! org-agenda
|
||||
(map! :map evil-org-agenda-mode-map
|
||||
:nv "n" #'org-agenda-next-line
|
||||
:nv "e" #'org-agenda-previous-line
|
||||
"gn" 'org-agenda-next-item
|
||||
"ge" 'org-agenda-previous-item
|
||||
:nv "i" #'evil-forward-char))
|
||||
|
||||
|
||||
(map! :map evil-org-agenda-mode-map
|
||||
:after org-agenda
|
||||
:m "n" #'org-agenda-next-line
|
||||
:m "e" #'org-agenda-previous-line
|
||||
:m "gn" #'org-agenda-next-item
|
||||
:m "i" #'evil-forward-char
|
||||
:m "ge" #'org-agenda-previous-item)
|
||||
(load! "org.el")
|
||||
|
|
|
|||
|
|
@ -4,10 +4,11 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("2b501400e19b1dd09d8b3708cefcb5227fda580754051a24e8abf3aff0601f87" default)))
|
||||
'("3c08da65265d80a7c8fc99fe51df3697d0fa6786a58a477a1b22887b4f116f62" "df6dfd55673f40364b1970440f0b0cb8ba7149282cf415b81aaad2d98b0f0290" "0325a6b5eea7e5febae709dab35ec8648908af12cf2d2b569bedc8da0a3a81c1" "d6b934330450d9de1112cbb7617eaf929244d192c4ffb1b9e6b63ad574784aad" "56044c5a9cc45b6ec45c0eb28df100d3f0a576f18eef33ff8ff5d32bac2d9700" "2b501400e19b1dd09d8b3708cefcb5227fda580754051a24e8abf3aff0601f87" default)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
'(org-verbatim ((t (:foreground "orange")))))
|
||||
(put 'customize-face 'disabled nil)
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@
|
|||
;;(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
indent-guides ; highlighted indent columns
|
||||
;;ligatures ; ligatures and symbols to make your code pretty again
|
||||
;;minimap ; show a map of the code on the side
|
||||
ligatures ; ligatures and symbols to make your code pretty again
|
||||
minimap ; show a map of the code on the side
|
||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||
;;nav-flash ; blink cursor line after big motions
|
||||
;;neotree ; a project drawer, like NERDTree for vim
|
||||
|
|
|
|||
37
tools/doom/org.el
Normal file
37
tools/doom/org.el
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
;; For CJK users
|
||||
;; Insert zero width space around the emphasis symbols, this might be useful for
|
||||
;; languages that does not rely on space
|
||||
(after! org
|
||||
(defun my/insert-emphasis-with-zws (char)
|
||||
(interactive "c")
|
||||
(insert ?\u200B char)
|
||||
(save-excursion (insert char ?\u200B)))
|
||||
|
||||
(map! :map org-mode-map
|
||||
"C-c b" (lambda () (interactive) (my/insert-emphasis-with-zws ?*))
|
||||
"C-c i" (lambda () (interactive) (my/insert-emphasis-with-zws ?/))
|
||||
"C-c u" (lambda () (interactive) (my/insert-emphasis-with-zws ?_)))
|
||||
|
||||
(map! :map evil-org-mode-map
|
||||
:nv "I" #'evil-next-buffer)
|
||||
|
||||
|
||||
(setq org-archive-location "~/OrgFiles/archive/%s_archive::")
|
||||
(setq org-default-notes-file "~/OrgFiles/tasks/inbox.org")
|
||||
(setq org-capture-templates
|
||||
'(("t" "Task" entry (file+headline "~/OrgFiles/tasks/inbox.org" "Tasks")
|
||||
"* TODO %?\n %U\n %a\n %i"
|
||||
:empty-lines 1)))
|
||||
)
|
||||
|
||||
|
||||
(after! org-agenda
|
||||
(map! :map evil-org-agenda-mode-map
|
||||
:nv "n" #'org-agenda-next-line
|
||||
:nv "e" #'org-agenda-previous-line
|
||||
"gn" 'org-agenda-next-item
|
||||
"ge" 'org-agenda-previous-item
|
||||
:nv "i" #'evil-forward-char)
|
||||
(setq org-agenda-files (directory-files-recursively "~/OrgFiles/tasks/" "\\.org$"))
|
||||
)
|
||||
9
tools/doom/snippets/org-mode/display-math
Normal file
9
tools/doom/snippets/org-mode/display-math
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: display-math
|
||||
# key: dm
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# trigger-key: ""
|
||||
# --
|
||||
$$
|
||||
$1
|
||||
$$
|
||||
6
tools/doom/snippets/org-mode/inline-math
Normal file
6
tools/doom/snippets/org-mode/inline-math
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: inline-math
|
||||
# key: mk
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
$$1$
|
||||
Loading…
Add table
Add a link
Reference in a new issue