mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-22 00:11:27 +00:00
huge update
This commit is contained in:
parent
f9837330be
commit
9d31d48b34
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -26,3 +26,5 @@ home/pure_emacs/.emacs.d/eln-cache/
|
||||||
home/pure_emacs/.emacs.d/straight/
|
home/pure_emacs/.emacs.d/straight/
|
||||||
home/pure_emacs/.emacs.d/private/
|
home/pure_emacs/.emacs.d/private/
|
||||||
home/pure_emacs/.emacs.d/private/*
|
home/pure_emacs/.emacs.d/private/*
|
||||||
|
home/emacs/.emacs.d/ltximg/
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
# by DPI and the specified value is always added at both opposing sides.
|
# by DPI and the specified value is always added at both opposing sides.
|
||||||
padding:
|
padding:
|
||||||
x: 40
|
x: 40
|
||||||
y: 20
|
y: 40
|
||||||
|
|
||||||
# Spread additional padding evenly around the terminal content.
|
# Spread additional padding evenly around the terminal content.
|
||||||
#dynamic_padding: false
|
#dynamic_padding: false
|
||||||
|
@ -87,7 +87,7 @@ padding:
|
||||||
|
|
||||||
# Font configuration
|
# Font configuration
|
||||||
font:
|
font:
|
||||||
size: 10
|
size: 9
|
||||||
normal:
|
normal:
|
||||||
family: Mononoki Nerd Font
|
family: Mononoki Nerd Font
|
||||||
style: Medium
|
style: Medium
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
~C-z~ to toggle vim/emacs mode
|
~C-z~ to toggle vim/emacs mode
|
||||||
~M-p~ in Counsel to get previos seach
|
~M-p~ in Counsel to get previos seach
|
||||||
~C-x RET C-\~ - set input method (Tex for *LaTex*)
|
~C-x RET C-\~ - set input method (Tex for *LaTex*)
|
||||||
|
~C-x n s~ - Open subtree
|
||||||
|
~org-tree-to-indirect-buffer~ Open subtree in separate buffer
|
||||||
* Initial
|
* Initial
|
||||||
** Straight.el
|
** Straight.el
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -95,13 +96,34 @@
|
||||||
|
|
||||||
*** Disbling line numbers
|
*** Disbling line numbers
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(column-number-mode)
|
;(column-number-mode)
|
||||||
(global-display-line-numbers-mode)
|
(global-display-line-numbers-mode 0)
|
||||||
(dolist (mode '(org-mode-hook
|
(dolist (mode '(org-mode-hook
|
||||||
term-mode-hook
|
term-mode-hook
|
||||||
shell-mode-hook
|
shell-mode-hook
|
||||||
|
telega-root-mode-hook
|
||||||
|
telega-chat-mode-hook
|
||||||
|
doc-view-mode-hook
|
||||||
|
pdf-mode-hook
|
||||||
|
eww-mode-hook
|
||||||
eshell-mode-hook))
|
eshell-mode-hook))
|
||||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(add-hook 'shell-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-root-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'help-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-chat-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-image-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'doc-view-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'pdf-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'eww-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Rainbow Brakets
|
*** Rainbow Brakets
|
||||||
|
@ -186,8 +208,47 @@
|
||||||
;; Fallback for emojies
|
;; Fallback for emojies
|
||||||
|
|
||||||
#+end_src emacs-lisp
|
#+end_src emacs-lisp
|
||||||
* Keybindigs
|
*** Font for text-mode
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(use-package mixed-pitch
|
||||||
|
:straight t
|
||||||
|
:hook
|
||||||
|
(text-mode . mixed-pitch-mode)
|
||||||
|
:config
|
||||||
|
(set-face-attribute 'default nil :font "Mononoki Nerd Font" :height 130)
|
||||||
|
(set-face-attribute 'fixed-pitch nil :font "Mononoki Nerd Font")
|
||||||
|
(set-face-attribute 'variable-pitch nil :font "FiraSans"))
|
||||||
|
#+end_src
|
||||||
|
* Keybindigs
|
||||||
|
** Defining smth
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(defun opt ()
|
||||||
|
"open tasks"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/tasks.org"))
|
||||||
|
(defun opi ()
|
||||||
|
"open inbox"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/inbox.org"))
|
||||||
|
(defun opd ()
|
||||||
|
"open daily"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/daily.org"))
|
||||||
|
(defun opr ()
|
||||||
|
"open readlist"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/readlist.org"))
|
||||||
|
(defun opc ()
|
||||||
|
"open readlist"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/.emacs.d/config.org"))
|
||||||
|
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
** Basic
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
|
||||||
(use-package general
|
(use-package general
|
||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
|
@ -201,8 +262,16 @@
|
||||||
"/" 'swiper
|
"/" 'swiper
|
||||||
"b" 'counsel-switch-buffer
|
"b" 'counsel-switch-buffer
|
||||||
|
|
||||||
"f r" 'counsel-recentf
|
"f r" '(counsel-recentf :which-key "recent files")
|
||||||
"f f" 'counsel-find-file
|
"f f" '(counsel-find-file :which-key "find files")
|
||||||
|
"f c" '(opc :which-key "open config")
|
||||||
|
|
||||||
|
|
||||||
|
"t t" '(opt :which-key "✅Tasks")
|
||||||
|
"t i" '(opi :which-key "📥Inbox")
|
||||||
|
"t d" '(opd :which-key "🌄Daily")
|
||||||
|
"t r" '(opr :which-key "📚Readlist")
|
||||||
|
|
||||||
"SPC" 'counsel-M-x
|
"SPC" 'counsel-M-x
|
||||||
|
|
||||||
"a" 'org-agenda
|
"a" 'org-agenda
|
||||||
|
@ -214,6 +283,7 @@
|
||||||
(general-create-definer my-leader-def
|
(general-create-definer my-leader-def
|
||||||
:states 'motion
|
:states 'motion
|
||||||
:prefix "SPC")
|
:prefix "SPC")
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Org mode setup
|
* Org mode setup
|
||||||
|
@ -237,9 +307,22 @@
|
||||||
(org-mode . prettify-symbols-mode)
|
(org-mode . prettify-symbols-mode)
|
||||||
)
|
)
|
||||||
:config
|
:config
|
||||||
|
(require 'org-habit)
|
||||||
|
(add-to-list 'org-modules 'org-habit)
|
||||||
|
(setq org-habit-graph-column 60)
|
||||||
|
(setq org-treat-insert-todo-heading-as-state-change t)
|
||||||
|
(setq org-agenda-start-with-log-mode t)
|
||||||
|
(setq org-log-done 'time)
|
||||||
|
(setq org-log-into-drawer t)
|
||||||
|
|
||||||
|
|
||||||
;; Make sure org-indent face is available
|
;; Make sure org-indent face is available
|
||||||
;; Increase the size of various headings
|
;; Increase the size of various headings
|
||||||
(set-face-attribute 'org-document-title nil :font "Vollkorn" :weight 'bold :height 1.3)
|
|
||||||
|
|
||||||
|
(add-hook 'org-agenda-finalize-hook #'hl-line-mode)
|
||||||
|
|
||||||
|
(set-face-attribute 'org-document-title nil :font "FiraSans" :weight 'bold :height 1.3)
|
||||||
|
|
||||||
(dolist (face '((org-level-1 . 1.2)
|
(dolist (face '((org-level-1 . 1.2)
|
||||||
(org-level-2 . 1.1)
|
(org-level-2 . 1.1)
|
||||||
|
@ -249,7 +332,7 @@
|
||||||
(org-level-6 . 1.0)
|
(org-level-6 . 1.0)
|
||||||
(org-level-7 . 1.0)
|
(org-level-7 . 1.0)
|
||||||
(org-level-8 . 1.0)))
|
(org-level-8 . 1.0)))
|
||||||
(set-face-attribute (car face) nil :font "Vollkorn" :weight 'bold :height (cdr face)))
|
(set-face-attribute (car face) nil :font "FiraSans" :weight 'bold :height (cdr face)))
|
||||||
|
|
||||||
;; Ensure that anything that should be fixed-pitch in Org files appears that way
|
;; Ensure that anything that should be fixed-pitch in Org files appears that way
|
||||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||||
|
@ -262,7 +345,15 @@
|
||||||
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
||||||
|
|
||||||
(setq org-agenda-files `("~/GTD"))
|
(setq org-agenda-files
|
||||||
|
'(
|
||||||
|
"~/GTD/habits.org"
|
||||||
|
"~/GTD/daily.org"
|
||||||
|
"~/GTD/tasks.org"
|
||||||
|
"~/GTD/inbox.org"
|
||||||
|
"~/GTD/watchlist.org"
|
||||||
|
"~/GTD/readlist.org"
|
||||||
|
))
|
||||||
(setq org-image-actual-width (list 550))
|
(setq org-image-actual-width (list 550))
|
||||||
;; Get rid of the background on column views
|
;; Get rid of the background on column views
|
||||||
(set-face-attribute 'org-column nil :background nil)
|
(set-face-attribute 'org-column nil :background nil)
|
||||||
|
@ -284,13 +375,24 @@
|
||||||
:weight bold))))
|
:weight bold))))
|
||||||
|
|
||||||
(setq org-todo-keywords '((sequence "INBOX(i)" "PJ(p)" "TODO(t)" "NEXT(n)" "CAL(c)" "WAIT(w@/!)" "|" "DONE(d!)" "CANC(k@)")
|
(setq org-todo-keywords '((sequence "INBOX(i)" "PJ(p)" "TODO(t)" "NEXT(n)" "CAL(c)" "WAIT(w@/!)" "|" "DONE(d!)" "CANC(k@)")
|
||||||
|
(sequence "IDEA(I)" "DREAM(D)" "READ(R)" "|" "DONE(d!)" "CANC(k@)")
|
||||||
))
|
))
|
||||||
(setq org-agenda-custom-commands org-agenda-settings)
|
(setq org-agenda-custom-commands org-agenda-settings)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defun org-habit-streak-count ()
|
||||||
|
(point-min)
|
||||||
|
(while (not (eobp))
|
||||||
|
(when (get-text-property (point) 'org-habit-p)
|
||||||
|
(let ((count (count-matches
|
||||||
|
(char-to-string org-habit-completed-glyph)
|
||||||
|
(line-beginning-position) (line-end-position))))
|
||||||
|
(end-of-line)
|
||||||
|
(insert (number-to-string count))))
|
||||||
|
(forward-line 1)))
|
||||||
|
(add-hook 'org-agenda-finalize-hook 'org-habit-streak-count)
|
||||||
|
|
||||||
(use-package org-bullets
|
(use-package org-bullets
|
||||||
:after (org)
|
:after (org)
|
||||||
:hook (
|
:hook (
|
||||||
|
@ -314,12 +416,39 @@
|
||||||
#+end_src emacs-lisp
|
#+end_src emacs-lisp
|
||||||
*** Org agenda commands
|
*** Org agenda commands
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(defun air-org-skip-subtree-if-priority (priority)
|
||||||
|
"Skip an agenda subtree if it has a priority of PRIORITY.
|
||||||
|
|
||||||
|
PRIORITY may be one of the characters ?A, ?B, or ?C."
|
||||||
|
(let ((subtree-end (save-excursion (org-end-of-subtree t)))
|
||||||
|
(pri-value (* 1000 (- org-lowest-priority priority)))
|
||||||
|
(pri-current (org-get-priority (thing-at-point 'line t))))
|
||||||
|
(if (= pri-value pri-current)
|
||||||
|
subtree-end
|
||||||
|
nil)))
|
||||||
|
(defun air-org-skip-subtree-if-habit ()
|
||||||
|
"Skip an agenda entry if it has a STYLE property equal to \"habit\"."
|
||||||
|
(let ((subtree-end (save-excursion (org-end-of-subtree t))))
|
||||||
|
(if (string= (org-entry-get nil "STYLE") "habit")
|
||||||
|
subtree-end
|
||||||
|
nil)))
|
||||||
(setq org-agenda-settings '(
|
(setq org-agenda-settings '(
|
||||||
|
("D" "Daily agenda and all TODOs"
|
||||||
|
((tags "PRIORITY=\"A\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "High-priority unfinished tasks:")))
|
||||||
|
(agenda "" ((org-agenda-ndays 1)))
|
||||||
|
(alltodo ""
|
||||||
|
((org-agenda-skip-function '(or (air-org-skip-subtree-if-habit)
|
||||||
|
(air-org-skip-subtree-if-priority ?A)
|
||||||
|
(org-agenda-skip-if nil '(scheduled deadline))))
|
||||||
|
(org-agenda-overriding-header "ALL normal priority tasks:"))))
|
||||||
|
((org-agenda-compact-blocks t)))
|
||||||
("d" "Dashboard 📜"
|
("d" "Dashboard 📜"
|
||||||
(
|
(
|
||||||
(agenda "" ((org-deadline-warning-days 14)))
|
(agenda "" ((org-deadline-warning-days 14)))
|
||||||
(tags "@morning" ((org-agenda-overriding-header "Eat the Frog 🐸")))
|
(tags "@morning" ((org-agenda-overriding-header "Eat the Frog 🐸")))
|
||||||
(tags "today" ((org-agenda-overriding-header "Today Tasks 🌅")))
|
(tags "today/NEXT" ((org-agenda-overriding-header "Today Tasks 🌅")))
|
||||||
(todo "NEXT" ((org-agenda-overriding-header "Next Tasks ⏩")))
|
(todo "NEXT" ((org-agenda-overriding-header "Next Tasks ⏩")))
|
||||||
(todo "WAIT" ((org-agenda-overriding-header "Waiting tasks ⏰")))
|
(todo "WAIT" ((org-agenda-overriding-header "Waiting tasks ⏰")))
|
||||||
(todo "PJ" ((org-agenda-overriding-header "Active Projects ")))
|
(todo "PJ" ((org-agenda-overriding-header "Active Projects ")))
|
||||||
|
@ -339,6 +468,7 @@
|
||||||
("I" "Ideas 💡" tags-todo "+idea")
|
("I" "Ideas 💡" tags-todo "+idea")
|
||||||
("P" "petprojects 🐕" tags-todo "+petproject")
|
("P" "petprojects 🐕" tags-todo "+petproject")
|
||||||
("B" "Things to buy 🛍" tags-todo "+shoplist")
|
("B" "Things to buy 🛍" tags-todo "+shoplist")
|
||||||
|
("sd" "Do Today 🌄" tags-todo "+today/NEXT" ((org-agenda-overriding-header "Today 🌄")))
|
||||||
|
|
||||||
;; My state/contexts
|
;; My state/contexts
|
||||||
("s" . "My State and contexts")
|
("s" . "My State and contexts")
|
||||||
|
@ -346,22 +476,28 @@
|
||||||
("sh" "At home🏠" tags-todo "+@home/NEXT" ((org-agenda-overriding-header "At home🏠")))
|
("sh" "At home🏠" tags-todo "+@home/NEXT" ((org-agenda-overriding-header "At home🏠")))
|
||||||
("sc" "By a computer 💻" tags-todo "+@computer/NEXT" ((org-agenda-overriding-header "By a computer 💻")))
|
("sc" "By a computer 💻" tags-todo "+@computer/NEXT" ((org-agenda-overriding-header "By a computer 💻")))
|
||||||
("ss" "On studies 🏫" tags-todo "+@uni/NEXT" ((org-agenda-overriding-header "On studies 🏫")))
|
("ss" "On studies 🏫" tags-todo "+@uni/NEXT" ((org-agenda-overriding-header "On studies 🏫")))
|
||||||
|
("ss" "In Kwork 🧑 🛋️ " tags-todo "+@kwork/NEXT" ((org-agenda-overriding-header "In Kwork 🧑💻 🛋️ ")))
|
||||||
("so" "Online 🌐" tags-todo "+@online/NEXT" ((org-agenda-overriding-header "Online 🌐")))
|
("so" "Online 🌐" tags-todo "+@online/NEXT" ((org-agenda-overriding-header "Online 🌐")))
|
||||||
("st" "Do Today 🌄" tags-todo "+today/NEXT" ((org-agenda-overriding-header "Today 🌄")))
|
|
||||||
("sO" "Outdoors🚶" tags-todo "+@outdoors/NEXT" ((org-agenda-overriding-header "Outdoors🚶")))
|
("sO" "Outdoors🚶" tags-todo "+@outdoors/NEXT" ((org-agenda-overriding-header "Outdoors🚶")))
|
||||||
("sT" "To takeaway 👝 " tags-todo "+takeaway" ((org-agenda-overriding-header "To takeaway 👝 ")))
|
("sT" "To takeaway 👝 " tags-todo "+takeaway" ((org-agenda-overriding-header "To takeaway 👝 ")))
|
||||||
|
|
||||||
|
("F" "FROGS!" tags-todo "quack" ((org-agenda-overriding-header "🐸🐸🐸🐸🐸🐸")))
|
||||||
("h" "💪 Daily habits 💪"
|
("h" "💪 Daily habits 💪"
|
||||||
((agenda ""))
|
((agenda ""))
|
||||||
((org-agenda-show-log t)
|
((org-agenda-show-log t)
|
||||||
(org-agenda-ndays 7)
|
(org-agenda-ndays 3)
|
||||||
(org-agenda-log-mode-items '(state))
|
(org-agenda-log-mode-items '(state))
|
||||||
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":Habbit:"))))
|
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp "Habit")))
|
||||||
|
)
|
||||||
|
|
||||||
|
("H" "💪Habits!💪🏻 " tags-todo "+Habit" ((org-agenda-overriding-header "Habits 💪")))
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
;; other commands here
|
;; other commands here
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** PDF Tools
|
*** PDF Tools
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -416,6 +552,22 @@
|
||||||
:custom ((doom-modeline-height 15)))
|
:custom ((doom-modeline-height 15)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Calendar
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
;; https://github.com/emacsfodder/emacs-theme-darktooth
|
||||||
|
|
||||||
|
(use-package darktooth-theme
|
||||||
|
:straight (:host github :repo "emacsfodder/emacs-theme-darktooth" :branch "master" :files ("*.el" "out"))
|
||||||
|
)
|
||||||
|
;; (use-package emacs-calfw
|
||||||
|
;; :straight (:host github :repo "kiwanami/emacs-calfw" :branch "master" :files ("*.el" "out"))
|
||||||
|
;; :config
|
||||||
|
|
||||||
|
;; (require 'calfw)
|
||||||
|
;; (require 'calfw-org)
|
||||||
|
;; )
|
||||||
|
|
||||||
|
#+end_src
|
||||||
* Org Download
|
* Org Download
|
||||||
#+begin_src
|
#+begin_src
|
||||||
(use-package org-download
|
(use-package org-download
|
||||||
|
@ -550,15 +702,29 @@
|
||||||
:straight t
|
:straight t
|
||||||
:hook (org-roam-mode . company-org-roam)
|
:hook (org-roam-mode . company-org-roam)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
* Snippets
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(yas-reload-all)
|
(yas-reload-all)
|
||||||
(add-hook 'prog-mode-hook 'yas-minor-mode)
|
(add-hook 'prog-mode-hook 'yas-minor-mode)
|
||||||
(add-hook 'text-mode-hook 'yas-minor-mode))
|
(add-hook 'text-mode-hook 'yas-minor-mode)
|
||||||
|
(add-hook 'org-mode-hook 'yas-minor-mode)
|
||||||
|
|
||||||
|
|
||||||
|
)
|
||||||
|
(setq yas-snippet-dirs
|
||||||
|
'("~/.emacs.d/snippets" ;; personal snippets
|
||||||
|
))
|
||||||
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Org Roam
|
* Org Roam
|
||||||
|
** Basic
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:straight t
|
:straight t
|
||||||
|
@ -585,6 +751,8 @@
|
||||||
(org-roam-db-autosync-mode)
|
(org-roam-db-autosync-mode)
|
||||||
;; If using org-roam-protocol
|
;; If using org-roam-protocol
|
||||||
(require 'org-roam-protocol)
|
(require 'org-roam-protocol)
|
||||||
|
(require 'org-roam-export)
|
||||||
|
|
||||||
:custom
|
:custom
|
||||||
(setq org-roam-db-location (concat org-roam-directory "/home/horhik/Notes/org-roam.db"))
|
(setq org-roam-db-location (concat org-roam-directory "/home/horhik/Notes/org-roam.db"))
|
||||||
(org-roam-directory "~/Notes/")
|
(org-roam-directory "~/Notes/")
|
||||||
|
@ -637,7 +805,7 @@
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Projectile
|
* Projectile
|
||||||
#+
|
** Basic
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:straight t
|
:straight t
|
||||||
|
@ -658,6 +826,7 @@
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Magit
|
* Magit
|
||||||
|
** Basic
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
|
@ -746,13 +915,14 @@
|
||||||
|
|
||||||
|
|
||||||
* LaTeX Ninja 🥷
|
* LaTeX Ninja 🥷
|
||||||
|
** Basic
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package cdlatex
|
(use-package cdlatex
|
||||||
:straight t
|
:straight t
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(add-hook 'org-mode-hook 'org-cdlatex-mode)
|
(add-hook 'org-mode-hook 'org-cdlatex-mode)
|
||||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.3))
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||||
(setq org-preview-latex-default-process 'dvisvgm) ;No blur when scaling
|
(setq org-preview-latex-default-process 'dvisvgm) ;No blur when scaling
|
||||||
(defun my/text-scale-adjust-latex-previews ()
|
(defun my/text-scale-adjust-latex-previews ()
|
||||||
"Adjust the size of latex preview fragments when changing the
|
"Adjust the size of latex preview fragments when changing the
|
||||||
|
@ -775,7 +945,7 @@
|
||||||
(cons 'image
|
(cons 'image
|
||||||
(plist-put
|
(plist-put
|
||||||
(cdr (overlay-get ov 'display))
|
(cdr (overlay-get ov 'display))
|
||||||
:scale (+ 1.0 (* 0.25 text-scale-mode-amount))))))
|
:scale (+ 1.2 (* 0.25 text-scale-mode-amount))))))
|
||||||
|
|
||||||
(add-hook 'text-scale-mode-hook #'my/text-scale-adjust-latex-previews)
|
(add-hook 'text-scale-mode-hook #'my/text-scale-adjust-latex-previews)
|
||||||
)
|
)
|
||||||
|
@ -788,8 +958,88 @@
|
||||||
:config
|
:config
|
||||||
(add-hook 'org-mode-hook 'org-fragtog-mode)
|
(add-hook 'org-mode-hook 'org-fragtog-mode)
|
||||||
)
|
)
|
||||||
|
#+end_src
|
||||||
|
** Exporting to latex
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(with-eval-after-load 'ox-latex
|
||||||
|
(add-to-list 'org-latex-classes
|
||||||
|
'("org-plain-latex"
|
||||||
|
"\\documentclass{article}
|
||||||
|
[NO-DEFAULT-PACKAGES]
|
||||||
|
[PACKAGES]
|
||||||
|
[EXTRA]"
|
||||||
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||||
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
* Starting with inline images
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq org-startup-with-inline-images t)
|
||||||
|
#+end_src
|
||||||
|
* inkscape integratio
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
(use-package inkscape
|
||||||
|
:straight (:host github
|
||||||
|
:repo "ymarco/inkscape.el"
|
||||||
|
:files ("*.el" "*.svg"))
|
||||||
|
:config
|
||||||
|
(setq inkscape-fig-dir "../assets/")
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Encoding
|
* Encoding
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(modify-coding-system-alist 'file "\\.tex\\'" 'cp1252)
|
(modify-coding-system-alist 'file "\\.tex\\'" 'cp1252)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Telega
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package telega
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
(setq telega-use-docker nil))
|
||||||
|
#+end_src
|
||||||
|
* Music player
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package emms
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
|
||||||
|
(require 'emms-player-mplayer)
|
||||||
|
(require 'emms-player-simple)
|
||||||
|
(require 'emms-source-file)
|
||||||
|
(require 'emms-source-playlist)
|
||||||
|
(require 'emms-player-mplayer)
|
||||||
|
(setq emms-player-list '(emms-player-mpg321 emms-player-ogg123 emms-player-mplayer))
|
||||||
|
(setq exec-path (append exec-path '("/usr/local/bin")))
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/site-lisp/emms/lisp")
|
||||||
|
(require 'emms-setup)
|
||||||
|
(require 'emms-player-mplayer)
|
||||||
|
(emms-standard)
|
||||||
|
(emms-default-players)
|
||||||
|
(define-emms-simple-player mplayer '(file url)
|
||||||
|
(regexp-opt '(".ogg" ".mp3" ".wav" ".mpg" ".mpeg" ".wmv" ".wma"
|
||||||
|
".mov" ".avi" ".divx" ".ogm" ".asf" ".mkv" "http://" "mms://"
|
||||||
|
".rm" ".rmvb" ".mp4" ".flac" ".vob" ".m4a" ".flv" ".ogv" ".pls"))
|
||||||
|
"mplayer" "-slave" "-quiet" "-really-quiet" "-fullscreen")
|
||||||
|
)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
* Line NUmbers
|
||||||
|
* EAF
|
||||||
|
|
||||||
|
https://github.com/emacs-eaf/emacs-application-framework
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/site-lisp/emacs-application-framework/")
|
||||||
|
(require 'eaf)
|
||||||
|
(require 'eaf-browser)
|
||||||
|
(require 'eaf-pdf-viewer)
|
||||||
|
(require 'eaf-music-player)
|
||||||
|
#+end_src
|
||||||
|
|
|
@ -66,14 +66,35 @@
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:straight t)
|
:straight t)
|
||||||
|
|
||||||
(column-number-mode)
|
;(column-number-mode)
|
||||||
(global-display-line-numbers-mode)
|
(global-display-line-numbers-mode 0)
|
||||||
(dolist (mode '(org-mode-hook
|
(dolist (mode '(org-mode-hook
|
||||||
term-mode-hook
|
term-mode-hook
|
||||||
shell-mode-hook
|
shell-mode-hook
|
||||||
|
telega-root-mode-hook
|
||||||
|
telega-chat-mode-hook
|
||||||
|
doc-view-mode-hook
|
||||||
|
pdf-mode-hook
|
||||||
|
eww-mode-hook
|
||||||
eshell-mode-hook))
|
eshell-mode-hook))
|
||||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(add-hook 'shell-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-root-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'help-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-chat-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-image-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'telega-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'doc-view-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'pdf-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'eww-mode-hook #'(lambda()(display-line-numbers-mode -1)))
|
||||||
|
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:straight t
|
:straight t
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
@ -127,6 +148,36 @@
|
||||||
(evil-collection-init)
|
(evil-collection-init)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
(use-package mixed-pitch
|
||||||
|
:straight t
|
||||||
|
:hook
|
||||||
|
(text-mode . mixed-pitch-mode)
|
||||||
|
:config
|
||||||
|
(set-face-attribute 'default nil :font "Mononoki Nerd Font" :height 130)
|
||||||
|
(set-face-attribute 'fixed-pitch nil :font "Mononoki Nerd Font")
|
||||||
|
(set-face-attribute 'variable-pitch nil :font "FiraSans"))
|
||||||
|
|
||||||
|
(defun opt ()
|
||||||
|
"open tasks"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/tasks.org"))
|
||||||
|
(defun opi ()
|
||||||
|
"open inbox"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/inbox.org"))
|
||||||
|
(defun opd ()
|
||||||
|
"open daily"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/daily.org"))
|
||||||
|
(defun opr ()
|
||||||
|
"open readlist"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/GTD/readlist.org"))
|
||||||
|
(defun opc ()
|
||||||
|
"open readlist"
|
||||||
|
(interactive)
|
||||||
|
(find-file "~/.emacs.d/config.org"))
|
||||||
|
|
||||||
(use-package general
|
(use-package general
|
||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
|
@ -140,8 +191,16 @@
|
||||||
"/" 'swiper
|
"/" 'swiper
|
||||||
"b" 'counsel-switch-buffer
|
"b" 'counsel-switch-buffer
|
||||||
|
|
||||||
"f r" 'counsel-recentf
|
"f r" '(counsel-recentf :which-key "recent files")
|
||||||
"f f" 'counsel-find-file
|
"f f" '(counsel-find-file :which-key "find files")
|
||||||
|
"f c" '(opc :which-key "open config")
|
||||||
|
|
||||||
|
|
||||||
|
"t t" '(opt :which-key "✅Tasks")
|
||||||
|
"t i" '(opi :which-key "📥Inbox")
|
||||||
|
"t d" '(opd :which-key "🌄Daily")
|
||||||
|
"t r" '(opr :which-key "📚Readlist")
|
||||||
|
|
||||||
"SPC" 'counsel-M-x
|
"SPC" 'counsel-M-x
|
||||||
|
|
||||||
"a" 'org-agenda
|
"a" 'org-agenda
|
||||||
|
@ -172,9 +231,22 @@
|
||||||
(org-mode . prettify-symbols-mode)
|
(org-mode . prettify-symbols-mode)
|
||||||
)
|
)
|
||||||
:config
|
:config
|
||||||
|
(require 'org-habit)
|
||||||
|
(add-to-list 'org-modules 'org-habit)
|
||||||
|
(setq org-habit-graph-column 60)
|
||||||
|
(setq org-treat-insert-todo-heading-as-state-change t)
|
||||||
|
(setq org-agenda-start-with-log-mode t)
|
||||||
|
(setq org-log-done 'time)
|
||||||
|
(setq org-log-into-drawer t)
|
||||||
|
|
||||||
|
|
||||||
;; Make sure org-indent face is available
|
;; Make sure org-indent face is available
|
||||||
;; Increase the size of various headings
|
;; Increase the size of various headings
|
||||||
(set-face-attribute 'org-document-title nil :font "Vollkorn" :weight 'bold :height 1.3)
|
|
||||||
|
|
||||||
|
(add-hook 'org-agenda-finalize-hook #'hl-line-mode)
|
||||||
|
|
||||||
|
(set-face-attribute 'org-document-title nil :font "FiraSans" :weight 'bold :height 1.3)
|
||||||
|
|
||||||
(dolist (face '((org-level-1 . 1.2)
|
(dolist (face '((org-level-1 . 1.2)
|
||||||
(org-level-2 . 1.1)
|
(org-level-2 . 1.1)
|
||||||
|
@ -184,7 +256,7 @@
|
||||||
(org-level-6 . 1.0)
|
(org-level-6 . 1.0)
|
||||||
(org-level-7 . 1.0)
|
(org-level-7 . 1.0)
|
||||||
(org-level-8 . 1.0)))
|
(org-level-8 . 1.0)))
|
||||||
(set-face-attribute (car face) nil :font "Vollkorn" :weight 'bold :height (cdr face)))
|
(set-face-attribute (car face) nil :font "FiraSans" :weight 'bold :height (cdr face)))
|
||||||
|
|
||||||
;; Ensure that anything that should be fixed-pitch in Org files appears that way
|
;; Ensure that anything that should be fixed-pitch in Org files appears that way
|
||||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||||
|
@ -197,7 +269,15 @@
|
||||||
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
||||||
|
|
||||||
(setq org-agenda-files `("~/GTD"))
|
(setq org-agenda-files
|
||||||
|
'(
|
||||||
|
"~/GTD/habits.org"
|
||||||
|
"~/GTD/daily.org"
|
||||||
|
"~/GTD/tasks.org"
|
||||||
|
"~/GTD/inbox.org"
|
||||||
|
"~/GTD/watchlist.org"
|
||||||
|
"~/GTD/readlist.org"
|
||||||
|
))
|
||||||
(setq org-image-actual-width (list 550))
|
(setq org-image-actual-width (list 550))
|
||||||
;; Get rid of the background on column views
|
;; Get rid of the background on column views
|
||||||
(set-face-attribute 'org-column nil :background nil)
|
(set-face-attribute 'org-column nil :background nil)
|
||||||
|
@ -219,13 +299,24 @@
|
||||||
:weight bold))))
|
:weight bold))))
|
||||||
|
|
||||||
(setq org-todo-keywords '((sequence "INBOX(i)" "PJ(p)" "TODO(t)" "NEXT(n)" "CAL(c)" "WAIT(w@/!)" "|" "DONE(d!)" "CANC(k@)")
|
(setq org-todo-keywords '((sequence "INBOX(i)" "PJ(p)" "TODO(t)" "NEXT(n)" "CAL(c)" "WAIT(w@/!)" "|" "DONE(d!)" "CANC(k@)")
|
||||||
|
(sequence "IDEA(I)" "DREAM(D)" "READ(R)" "|" "DONE(d!)" "CANC(k@)")
|
||||||
))
|
))
|
||||||
(setq org-agenda-custom-commands org-agenda-settings)
|
(setq org-agenda-custom-commands org-agenda-settings)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defun org-habit-streak-count ()
|
||||||
|
(point-min)
|
||||||
|
(while (not (eobp))
|
||||||
|
(when (get-text-property (point) 'org-habit-p)
|
||||||
|
(let ((count (count-matches
|
||||||
|
(char-to-string org-habit-completed-glyph)
|
||||||
|
(line-beginning-position) (line-end-position))))
|
||||||
|
(end-of-line)
|
||||||
|
(insert (number-to-string count))))
|
||||||
|
(forward-line 1)))
|
||||||
|
(add-hook 'org-agenda-finalize-hook 'org-habit-streak-count)
|
||||||
|
|
||||||
(use-package org-bullets
|
(use-package org-bullets
|
||||||
:after (org)
|
:after (org)
|
||||||
:hook (
|
:hook (
|
||||||
|
@ -241,12 +332,39 @@
|
||||||
"TAB" 'org-cycle
|
"TAB" 'org-cycle
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defun air-org-skip-subtree-if-priority (priority)
|
||||||
|
"Skip an agenda subtree if it has a priority of PRIORITY.
|
||||||
|
|
||||||
|
PRIORITY may be one of the characters ?A, ?B, or ?C."
|
||||||
|
(let ((subtree-end (save-excursion (org-end-of-subtree t)))
|
||||||
|
(pri-value (* 1000 (- org-lowest-priority priority)))
|
||||||
|
(pri-current (org-get-priority (thing-at-point 'line t))))
|
||||||
|
(if (= pri-value pri-current)
|
||||||
|
subtree-end
|
||||||
|
nil)))
|
||||||
|
(defun air-org-skip-subtree-if-habit ()
|
||||||
|
"Skip an agenda entry if it has a STYLE property equal to \"habit\"."
|
||||||
|
(let ((subtree-end (save-excursion (org-end-of-subtree t))))
|
||||||
|
(if (string= (org-entry-get nil "STYLE") "habit")
|
||||||
|
subtree-end
|
||||||
|
nil)))
|
||||||
(setq org-agenda-settings '(
|
(setq org-agenda-settings '(
|
||||||
|
("D" "Daily agenda and all TODOs"
|
||||||
|
((tags "PRIORITY=\"A\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "High-priority unfinished tasks:")))
|
||||||
|
(agenda "" ((org-agenda-ndays 1)))
|
||||||
|
(alltodo ""
|
||||||
|
((org-agenda-skip-function '(or (air-org-skip-subtree-if-habit)
|
||||||
|
(air-org-skip-subtree-if-priority ?A)
|
||||||
|
(org-agenda-skip-if nil '(scheduled deadline))))
|
||||||
|
(org-agenda-overriding-header "ALL normal priority tasks:"))))
|
||||||
|
((org-agenda-compact-blocks t)))
|
||||||
("d" "Dashboard 📜"
|
("d" "Dashboard 📜"
|
||||||
(
|
(
|
||||||
(agenda "" ((org-deadline-warning-days 14)))
|
(agenda "" ((org-deadline-warning-days 14)))
|
||||||
(tags "@morning" ((org-agenda-overriding-header "Eat the Frog 🐸")))
|
(tags "@morning" ((org-agenda-overriding-header "Eat the Frog 🐸")))
|
||||||
(tags "today" ((org-agenda-overriding-header "Today Tasks 🌅")))
|
(tags "today/NEXT" ((org-agenda-overriding-header "Today Tasks 🌅")))
|
||||||
(todo "NEXT" ((org-agenda-overriding-header "Next Tasks ⏩")))
|
(todo "NEXT" ((org-agenda-overriding-header "Next Tasks ⏩")))
|
||||||
(todo "WAIT" ((org-agenda-overriding-header "Waiting tasks ⏰")))
|
(todo "WAIT" ((org-agenda-overriding-header "Waiting tasks ⏰")))
|
||||||
(todo "PJ" ((org-agenda-overriding-header "Active Projects ")))
|
(todo "PJ" ((org-agenda-overriding-header "Active Projects ")))
|
||||||
|
@ -266,6 +384,7 @@
|
||||||
("I" "Ideas 💡" tags-todo "+idea")
|
("I" "Ideas 💡" tags-todo "+idea")
|
||||||
("P" "petprojects 🐕" tags-todo "+petproject")
|
("P" "petprojects 🐕" tags-todo "+petproject")
|
||||||
("B" "Things to buy 🛍" tags-todo "+shoplist")
|
("B" "Things to buy 🛍" tags-todo "+shoplist")
|
||||||
|
("sd" "Do Today 🌄" tags-todo "+today/NEXT" ((org-agenda-overriding-header "Today 🌄")))
|
||||||
|
|
||||||
;; My state/contexts
|
;; My state/contexts
|
||||||
("s" . "My State and contexts")
|
("s" . "My State and contexts")
|
||||||
|
@ -273,19 +392,24 @@
|
||||||
("sh" "At home🏠" tags-todo "+@home/NEXT" ((org-agenda-overriding-header "At home🏠")))
|
("sh" "At home🏠" tags-todo "+@home/NEXT" ((org-agenda-overriding-header "At home🏠")))
|
||||||
("sc" "By a computer 💻" tags-todo "+@computer/NEXT" ((org-agenda-overriding-header "By a computer 💻")))
|
("sc" "By a computer 💻" tags-todo "+@computer/NEXT" ((org-agenda-overriding-header "By a computer 💻")))
|
||||||
("ss" "On studies 🏫" tags-todo "+@uni/NEXT" ((org-agenda-overriding-header "On studies 🏫")))
|
("ss" "On studies 🏫" tags-todo "+@uni/NEXT" ((org-agenda-overriding-header "On studies 🏫")))
|
||||||
|
("ss" "In Kwork 🧑 🛋️ " tags-todo "+@kwork/NEXT" ((org-agenda-overriding-header "In Kwork 🧑💻 🛋️ ")))
|
||||||
("so" "Online 🌐" tags-todo "+@online/NEXT" ((org-agenda-overriding-header "Online 🌐")))
|
("so" "Online 🌐" tags-todo "+@online/NEXT" ((org-agenda-overriding-header "Online 🌐")))
|
||||||
("st" "Do Today 🌄" tags-todo "+today/NEXT" ((org-agenda-overriding-header "Today 🌄")))
|
|
||||||
("sO" "Outdoors🚶" tags-todo "+@outdoors/NEXT" ((org-agenda-overriding-header "Outdoors🚶")))
|
("sO" "Outdoors🚶" tags-todo "+@outdoors/NEXT" ((org-agenda-overriding-header "Outdoors🚶")))
|
||||||
("sT" "To takeaway 👝 " tags-todo "+takeaway" ((org-agenda-overriding-header "To takeaway 👝 ")))
|
("sT" "To takeaway 👝 " tags-todo "+takeaway" ((org-agenda-overriding-header "To takeaway 👝 ")))
|
||||||
|
|
||||||
|
("F" "FROGS!" tags-todo "quack" ((org-agenda-overriding-header "🐸🐸🐸🐸🐸🐸")))
|
||||||
("h" "💪 Daily habits 💪"
|
("h" "💪 Daily habits 💪"
|
||||||
((agenda ""))
|
((agenda ""))
|
||||||
((org-agenda-show-log t)
|
((org-agenda-show-log t)
|
||||||
(org-agenda-ndays 7)
|
(org-agenda-ndays 3)
|
||||||
(org-agenda-log-mode-items '(state))
|
(org-agenda-log-mode-items '(state))
|
||||||
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":Habbit:"))))
|
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp "Habit")))
|
||||||
|
)
|
||||||
|
|
||||||
|
("H" "💪Habits!💪🏻 " tags-todo "+Habit" ((org-agenda-overriding-header "Habits 💪")))
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
;; other commands here
|
;; other commands here
|
||||||
|
|
||||||
)
|
)
|
||||||
|
@ -324,6 +448,19 @@
|
||||||
:init (doom-modeline-mode 1)
|
:init (doom-modeline-mode 1)
|
||||||
:custom ((doom-modeline-height 15)))
|
:custom ((doom-modeline-height 15)))
|
||||||
|
|
||||||
|
;; https://github.com/emacsfodder/emacs-theme-darktooth
|
||||||
|
|
||||||
|
(use-package darktooth-theme
|
||||||
|
:straight (:host github :repo "emacsfodder/emacs-theme-darktooth" :branch "master" :files ("*.el" "out"))
|
||||||
|
)
|
||||||
|
;; (use-package emacs-calfw
|
||||||
|
;; :straight (:host github :repo "kiwanami/emacs-calfw" :branch "master" :files ("*.el" "out"))
|
||||||
|
;; :config
|
||||||
|
|
||||||
|
;; (require 'calfw)
|
||||||
|
;; (require 'calfw-org)
|
||||||
|
;; )
|
||||||
|
|
||||||
(use-package ivy
|
(use-package ivy
|
||||||
:straight t
|
:straight t
|
||||||
:diminish
|
:diminish
|
||||||
|
@ -429,12 +566,20 @@
|
||||||
:straight t
|
:straight t
|
||||||
:hook (org-roam-mode . company-org-roam)
|
:hook (org-roam-mode . company-org-roam)
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(yas-reload-all)
|
(yas-reload-all)
|
||||||
(add-hook 'prog-mode-hook 'yas-minor-mode)
|
(add-hook 'prog-mode-hook 'yas-minor-mode)
|
||||||
(add-hook 'text-mode-hook 'yas-minor-mode))
|
(add-hook 'text-mode-hook 'yas-minor-mode)
|
||||||
|
(add-hook 'org-mode-hook 'yas-minor-mode)
|
||||||
|
|
||||||
|
|
||||||
|
)
|
||||||
|
(setq yas-snippet-dirs
|
||||||
|
'("~/.emacs.d/snippets" ;; personal snippets
|
||||||
|
))
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:straight t
|
:straight t
|
||||||
|
@ -461,6 +606,8 @@
|
||||||
(org-roam-db-autosync-mode)
|
(org-roam-db-autosync-mode)
|
||||||
;; If using org-roam-protocol
|
;; If using org-roam-protocol
|
||||||
(require 'org-roam-protocol)
|
(require 'org-roam-protocol)
|
||||||
|
(require 'org-roam-export)
|
||||||
|
|
||||||
:custom
|
:custom
|
||||||
(setq org-roam-db-location (concat org-roam-directory "/home/horhik/Notes/org-roam.db"))
|
(setq org-roam-db-location (concat org-roam-directory "/home/horhik/Notes/org-roam.db"))
|
||||||
(org-roam-directory "~/Notes/")
|
(org-roam-directory "~/Notes/")
|
||||||
|
@ -598,7 +745,7 @@
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(add-hook 'org-mode-hook 'org-cdlatex-mode)
|
(add-hook 'org-mode-hook 'org-cdlatex-mode)
|
||||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.3))
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||||
(setq org-preview-latex-default-process 'dvisvgm) ;No blur when scaling
|
(setq org-preview-latex-default-process 'dvisvgm) ;No blur when scaling
|
||||||
(defun my/text-scale-adjust-latex-previews ()
|
(defun my/text-scale-adjust-latex-previews ()
|
||||||
"Adjust the size of latex preview fragments when changing the
|
"Adjust the size of latex preview fragments when changing the
|
||||||
|
@ -621,7 +768,7 @@ buffer's text scale."
|
||||||
(cons 'image
|
(cons 'image
|
||||||
(plist-put
|
(plist-put
|
||||||
(cdr (overlay-get ov 'display))
|
(cdr (overlay-get ov 'display))
|
||||||
:scale (+ 1.0 (* 0.25 text-scale-mode-amount))))))
|
:scale (+ 1.2 (* 0.25 text-scale-mode-amount))))))
|
||||||
|
|
||||||
(add-hook 'text-scale-mode-hook #'my/text-scale-adjust-latex-previews)
|
(add-hook 'text-scale-mode-hook #'my/text-scale-adjust-latex-previews)
|
||||||
)
|
)
|
||||||
|
@ -632,4 +779,61 @@ buffer's text scale."
|
||||||
(add-hook 'org-mode-hook 'org-fragtog-mode)
|
(add-hook 'org-mode-hook 'org-fragtog-mode)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(with-eval-after-load 'ox-latex
|
||||||
|
(add-to-list 'org-latex-classes
|
||||||
|
'("org-plain-latex"
|
||||||
|
"\\documentclass{article}
|
||||||
|
[NO-DEFAULT-PACKAGES]
|
||||||
|
[PACKAGES]
|
||||||
|
[EXTRA]"
|
||||||
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||||
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
|
||||||
|
|
||||||
|
(setq org-startup-with-inline-images t)
|
||||||
|
|
||||||
|
(use-package inkscape
|
||||||
|
:straight (:host github
|
||||||
|
:repo "ymarco/inkscape.el"
|
||||||
|
:files ("*.el" "*.svg"))
|
||||||
|
:config
|
||||||
|
(setq inkscape-fig-dir "../assets/")
|
||||||
|
)
|
||||||
|
|
||||||
(modify-coding-system-alist 'file "\\.tex\\'" 'cp1252)
|
(modify-coding-system-alist 'file "\\.tex\\'" 'cp1252)
|
||||||
|
|
||||||
|
(use-package telega
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
(setq telega-use-docker nil))
|
||||||
|
|
||||||
|
(use-package emms
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
|
||||||
|
(require 'emms-player-mplayer)
|
||||||
|
(require 'emms-player-simple)
|
||||||
|
(require 'emms-source-file)
|
||||||
|
(require 'emms-source-playlist)
|
||||||
|
(require 'emms-player-mplayer)
|
||||||
|
(setq emms-player-list '(emms-player-mpg321 emms-player-ogg123 emms-player-mplayer))
|
||||||
|
(setq exec-path (append exec-path '("/usr/local/bin")))
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/site-lisp/emms/lisp")
|
||||||
|
(require 'emms-setup)
|
||||||
|
(require 'emms-player-mplayer)
|
||||||
|
(emms-standard)
|
||||||
|
(emms-default-players)
|
||||||
|
(define-emms-simple-player mplayer '(file url)
|
||||||
|
(regexp-opt '(".ogg" ".mp3" ".wav" ".mpg" ".mpeg" ".wmv" ".wma"
|
||||||
|
".mov" ".avi" ".divx" ".ogm" ".asf" ".mkv" "http://" "mms://"
|
||||||
|
".rm" ".rmvb" ".mp4" ".flac" ".vob" ".m4a" ".flv" ".ogv" ".pls"))
|
||||||
|
"mplayer" "-slave" "-quiet" "-really-quiet" "-fullscreen")
|
||||||
|
)
|
||||||
|
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/site-lisp/emacs-application-framework/")
|
||||||
|
(require 'eaf)
|
||||||
|
(require 'eaf-browser)
|
||||||
|
(require 'eaf-pdf-viewer)
|
||||||
|
(require 'eaf-music-player)
|
||||||
|
|
0
home/emacs/.emacs.d/snippets/org-mode/smatrix
Normal file
0
home/emacs/.emacs.d/snippets/org-mode/smatrix
Normal file
14
home/fontconfig/.config/fontconfig/conf.d/78-Reject.conf
Executable file
14
home/fontconfig/.config/fontconfig/conf.d/78-Reject.conf
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<!-- Generated by Font Manager. Do NOT edit this file. -->
|
||||||
|
<fontconfig>
|
||||||
|
<selectfont>
|
||||||
|
<rejectfont>
|
||||||
|
<pattern>
|
||||||
|
<patelt name="family">
|
||||||
|
<string>Noto Kufi Arabic</string>
|
||||||
|
</patelt>
|
||||||
|
</pattern>
|
||||||
|
</rejectfont>
|
||||||
|
</selectfont>
|
||||||
|
</fontconfig>
|
27
home/fontconfig/.config/fontconfig/fonts.conf.back
Executable file
27
home/fontconfig/.config/fontconfig/fonts.conf.back
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match target="font">
|
||||||
|
<edit name="antialias" mode="assign">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
<edit name="hinting" mode="assign">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
<edit name="hintstyle" mode="assign">
|
||||||
|
<const>hintslight</const>
|
||||||
|
</edit>
|
||||||
|
<edit name="rgba" mode="assign">
|
||||||
|
<const>none</const>
|
||||||
|
</edit>
|
||||||
|
<edit name="autohint" mode="assign">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
<edit name="lcdfilter" mode="assign">
|
||||||
|
<const>lcdnone</const>
|
||||||
|
</edit>
|
||||||
|
<edit name="dpi" mode="assign">
|
||||||
|
<double>102</double>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
26
home/fontconfig/.config/fontconfig/twemoji.conf
Executable file
26
home/fontconfig/.config/fontconfig/twemoji.conf
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Twemoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias>
|
||||||
|
<family>serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Twemoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Twemoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
|
@ -3,7 +3,7 @@ LocationMode=path-bar
|
||||||
ShowHidden=false
|
ShowHidden=false
|
||||||
ShowSizeColumn=true
|
ShowSizeColumn=true
|
||||||
GeometryX=241
|
GeometryX=241
|
||||||
GeometryY=162
|
GeometryY=168
|
||||||
GeometryWidth=1437
|
GeometryWidth=1437
|
||||||
GeometryHeight=773
|
GeometryHeight=773
|
||||||
SortColumn=modified
|
SortColumn=modified
|
||||||
|
|
|
@ -222,6 +222,7 @@ hc rule instance~hlwmScratch.* floating=on floatplacement=center # float all ins
|
||||||
hc keybind $Mod-space spawn ~/.config/herbstluftwm/changelang
|
hc keybind $Mod-space spawn ~/.config/herbstluftwm/changelang
|
||||||
hc keybind $Mod1-shift spawn ~/.config/herbstluftwm/changelang
|
hc keybind $Mod1-shift spawn ~/.config/herbstluftwm/changelang
|
||||||
hc keybind $Mod-F3 spawn ~/.config/herbstluftwm/nospanish.sh
|
hc keybind $Mod-F3 spawn ~/.config/herbstluftwm/nospanish.sh
|
||||||
|
hc keybind $Mod-F4 spawn ~/.config/herbstluftwm/noenglish.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
if [ -f /tmp/nospanish ]; then
|
if [ -f /tmp/nospanish ]; then
|
||||||
setxkbmap us,ru && xkb-switch -n
|
setxkbmap us,ru && xkb-switch -n
|
||||||
|
else if [ -f /tmp/noenglish ]; then
|
||||||
|
setxkbmap ru,es && xkb-switch -n
|
||||||
else
|
else
|
||||||
setxkbmap us,ru,es && xkb-switch -n
|
setxkbmap us,ru,es && xkb-switch -n
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
9
home/herbstluftwm/.config/herbstluftwm/noenglish.sh
Executable file
9
home/herbstluftwm/.config/herbstluftwm/noenglish.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#! /bin/sh
|
||||||
|
if [ -f /tmp/noenglish ]; then
|
||||||
|
rm /tmp/noenglish
|
||||||
|
notify-send "🇬🇧 ENGLISH ENABLED🇬🇸 "
|
||||||
|
else
|
||||||
|
echo yes > /tmp/noenglish
|
||||||
|
notify-send "🇬🇧 ENGLISH DISAB 🇬"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
if [ -f /tmp/nospanish ]; then
|
if [ -f /tmp/nospanish ]; then
|
||||||
rm /tmp/nospanish
|
rm /tmp/nospanish
|
||||||
notify-send "🇪🇸 ❌SPANISH DISABLED❌ 🇪🇸 "
|
notify-send "🇪🇸 ✅SPANISH ENABLED✅🇪🇸 "
|
||||||
else
|
else
|
||||||
echo yes > /tmp/nospanish
|
echo yes > /tmp/nospanish
|
||||||
notify-send "🇪🇸 ✅SPANISH ENABLED✅🇪🇸 "
|
notify-send "🇪🇸 ❌SPANISH DISABLED❌ 🇪🇸 "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
BIN
home/mpd/.config/mpd/database
Executable file → Normal file
BIN
home/mpd/.config/mpd/database
Executable file → Normal file
Binary file not shown.
|
@ -2,7 +2,7 @@
|
||||||
# Corners #
|
# Corners #
|
||||||
#################################
|
#################################
|
||||||
# requires: https://github.com/sdhand/compton
|
# requires: https://github.com/sdhand/compton
|
||||||
corner-radius = 0.0;
|
corner-radius = 5.0;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
"window_type = 'dialog'",
|
"window_type = 'dialog'",
|
||||||
"window_type = 'popup_menu'",
|
"window_type = 'popup_menu'",
|
||||||
|
@ -27,11 +27,15 @@ rounded-corners-exclude = [
|
||||||
"class_g = 'code-oss'",
|
"class_g = 'code-oss'",
|
||||||
"class_g = 'firefox'",
|
"class_g = 'firefox'",
|
||||||
"class_g = 'firefox'",
|
"class_g = 'firefox'",
|
||||||
"class_g = 'Thunderbird'"
|
"class_g = 'Thunderbird'",
|
||||||
|
"class_g = '_HERBST_FRAME'",
|
||||||
|
"class_g = '_NET_WM_WINDOW_TYPE_DOC'"
|
||||||
];
|
];
|
||||||
round-borders = 1;
|
round-borders = 5;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
#"class_g = 'TelegramDesktop'",
|
"class_g = '_HERBST_FRAME'",
|
||||||
|
"class_g = '_NET_WM_WINDOW_TYPE_DOC'"
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Specify a list of border width rules, in the format `PIXELS:PATTERN`,
|
# Specify a list of border width rules, in the format `PIXELS:PATTERN`,
|
||||||
|
@ -46,7 +50,11 @@ round-borders-rule = [
|
||||||
"3:class_g = 'URxvt'",
|
"3:class_g = 'URxvt'",
|
||||||
"2:window_type = 'dropdown_menu'",
|
"2:window_type = 'dropdown_menu'",
|
||||||
"2:class_g = 'Alacritty'",
|
"2:class_g = 'Alacritty'",
|
||||||
"15:class_g = 'Signal'"
|
"15:class_g = 'Signal'",
|
||||||
|
"3:class_g = 'hlwmScratch1'",
|
||||||
|
"3:class_g = 'Kitty'",
|
||||||
|
"2:class_g = 'Emacs'",
|
||||||
|
"2:class_g = 'Zathura'"
|
||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
@ -193,6 +201,7 @@ focus-exclude = [
|
||||||
# opacity-rule = []
|
# opacity-rule = []
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
"80:class_g = 'Bar'", # lemonbar
|
"80:class_g = 'Bar'", # lemonbar
|
||||||
|
"80:class_g = 'Org.gnome.Nautilus'", # lemonbar
|
||||||
"100:class_g = 'slop'", # maim
|
"100:class_g = 'slop'", # maim
|
||||||
"100:class_g = 'XTerm'",
|
"100:class_g = 'XTerm'",
|
||||||
"100:class_g = 'URxvt'",
|
"100:class_g = 'URxvt'",
|
||||||
|
@ -217,17 +226,17 @@ opacity-rule = [
|
||||||
|
|
||||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
# blur-method =
|
# blur-method =
|
||||||
blur-size = 12
|
blur-size = 0
|
||||||
#
|
#
|
||||||
# blur-deviation = false
|
# blur-deviation = false
|
||||||
#
|
#
|
||||||
blur-strength = 5
|
blur-strength = 0;
|
||||||
|
|
||||||
# Blur background of semi-transparent / ARGB windows.
|
# Blur background of semi-transparent / ARGB windows.
|
||||||
# Bad in performance, with driver-dependent behavior.
|
# Bad in performance, with driver-dependent behavior.
|
||||||
# The name of the switch may change without prior notifications.
|
# The name of the switch may change without prior notifications.
|
||||||
#
|
#
|
||||||
blur-background = true;
|
blur-background = false;
|
||||||
|
|
||||||
# Blur background of windows when the window frame is not opaque.
|
# Blur background of windows when the window frame is not opaque.
|
||||||
# Implies:
|
# Implies:
|
||||||
|
@ -245,15 +254,15 @@ blur-background = true;
|
||||||
# example:
|
# example:
|
||||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
#
|
#
|
||||||
# blur-kern = ""
|
blur-kern = ""
|
||||||
blur-kern = "3x3box";
|
# blur-kern = "3x3box";
|
||||||
|
|
||||||
|
|
||||||
blur: {
|
blur: {
|
||||||
# requires: https://github.com/ibhagwan/picom
|
# requires: https://github.com/ibhagwan/picom
|
||||||
method = "kawase";
|
method = "kawase";
|
||||||
#method = "kernel";
|
#method = "kernel";
|
||||||
strength = 7;
|
strength = 4;
|
||||||
# deviation = 1.0;
|
# deviation = 1.0;
|
||||||
# kernel = "11x11gaussian";
|
# kernel = "11x11gaussian";
|
||||||
background = true;
|
background = true;
|
||||||
|
@ -281,7 +290,10 @@ blur-background-exclude = [
|
||||||
"window_type = 'dialog'",
|
"window_type = 'dialog'",
|
||||||
"window_type = 'tooltip'",
|
"window_type = 'tooltip'",
|
||||||
"window_type = 'notification'",
|
"window_type = 'notification'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"class_g = '_NET_WM_WINDOW_TYPE_DOC'",
|
||||||
|
"class_g = '_HERBST_FRAME'"
|
||||||
|
# "class_g = 'Emacs'"
|
||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"gtabs":[{"panes":[{"ptabs":[{"history":[{"dir":"/home/horhik/code/olymp","file":"mosh","relpos":3,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh","file":"1613639442920-problems","relpos":1,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh/1613639442920-problems","file":"..","relpos":0,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code/olymp","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code","file":"JOB","relpos":1,"ts":1613999829},{"dir":"/home/horhik/code/JOB","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik","file":"Pictures","relpos":16,"ts":1613999829},{"dir":"/home/horhik/Pictures","file":"photo_2019-10-07_14-14-53.jpg","relpos":4,"ts":1613999829}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/horhik/Pictures","sorting":[2],"preview":false}]},{"ptabs":[{"history":[{"dir":"/home/horhik/code/olymp","file":"..","relpos":0,"ts":1613970304}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/horhik/code/olymp","sorting":[2],"preview":false}]}],"active-pane":0,"preview":false,"splitter":{"pos":-1,"ratio":0.5,"orientation":"v","expanded":false}}],"marks":{"b":{"dir":"/home/horhik/bin/","file":"..","ts":1613970286},"h":{"dir":"/home/horhik/","file":"..","ts":1613970286}},"bmarks":{},"cmd-hist":[{"text":"e ~/Pictures/","ts":1613999829},{"text":"tabnext","ts":1613999829},{"text":"q","ts":1613999829}],"search-hist":[{"text":"Pict","ts":1613999829}],"prompt-hist":[{"text":"1613639442920-problems","ts":1613999829}],"regs":{},"dir-stack":[],"use-term-multiplexer":false}
|
{"gtabs":[{"panes":[{"ptabs":[{"history":[{"dir":"/home/horhik/code/olymp","file":"mosh","relpos":3,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh","file":"1613639442920-problems","relpos":1,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh/1613639442920-problems","file":"..","relpos":0,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code/olymp","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code","file":"JOB","relpos":1,"ts":1613999829},{"dir":"/home/horhik/code/JOB","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik","file":"Pictures","relpos":16,"ts":1613999829},{"dir":"/home/horhik/Pictures","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik","file":"Nextcloud","relpos":14,"ts":1667664675},{"dir":"/home/horhik/Nextcloud","file":"Documents","relpos":5,"ts":1667664675},{"dir":"/home/horhik/Nextcloud/Documents","file":"..","relpos":0,"ts":1667664675},{"dir":"/home/horhik/Nextcloud","file":"..","relpos":0,"ts":1667664675},{"dir":"/home/horhik","file":"Downloads","relpos":9,"ts":1667664675},{"dir":"/home/horhik/Downloads","file":"Telegram Desktop","relpos":3,"ts":1667664675},{"dir":"/home/horhik/Downloads/Telegram Desktop","file":"Лек_1сем_23_Ф-ла_Тейлора.pdf","relpos":5,"ts":1667664675}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/horhik/Downloads/Telegram Desktop","sorting":[2],"preview":false}]},{"ptabs":[{"history":[{"dir":"/home/horhik/code/olymp","file":"..","relpos":0,"ts":1613970304},{"dir":"/home/horhik","file":"..","relpos":0,"ts":1667664675}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/horhik","sorting":[2],"preview":false}]}],"active-pane":0,"preview":false,"splitter":{"pos":-1,"ratio":0.5,"orientation":"v","expanded":false}}],"marks":{"b":{"dir":"/home/horhik/bin/","file":"..","ts":1613970286},"h":{"dir":"/home/horhik/","file":"..","ts":1613970286}},"bmarks":{},"cmd-hist":[{"text":"e ~/Pictures/","ts":1613999829},{"text":"tabnext","ts":1613999829},{"text":"q","ts":1613999829}],"search-hist":[{"text":"Pict","ts":1613999829},{"text":"лек","ts":1667664675}],"prompt-hist":[{"text":"1613639442920-problems","ts":1613999829}],"regs":{},"dir-stack":[],"use-term-multiplexer":false}
|
|
@ -24,3 +24,7 @@ set path+=**
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
Plug 'dracula/vim'
|
Plug 'dracula/vim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
||||||
|
au BufRead,BufNewFile *.asm set filetype=nasm
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue