Compare commits

..

2 Commits

Author SHA1 Message Date
e58a33b54e Edit Emacs config, LaTeX, fonts 2025-06-26 03:20:22 -04:00
dc4cf7fd77 Add texliveSmall 2025-06-25 14:36:18 -04:00
3 changed files with 49 additions and 17 deletions

View File

@@ -197,8 +197,6 @@
};
};
programs.texlive.enable = true;
programs.yazi = {
enable = true;
enableBashIntegration = true;
@@ -235,5 +233,6 @@
lm_sensors
lolcat
nerd-fonts.blex-mono
texliveFull
];
}

View File

@@ -112,6 +112,22 @@
:config
(evil-collection-init))
(use-package vertico
:custom
(vertico-cycle t)
:init
(vertico-mode))
(use-package savehist
:init
(savehist-mode))
(use-package orderless
:custom
(completion-styles '(orderless basic))
(completion-category-defaults nil)
(completion-category-overrides '((file (styles partial-completion)))))
;; prevent laggy icons
(setq inhibit-compacting-font-caches t)
@@ -246,14 +262,26 @@
(treemacs-load-theme "nerd-icons"))
;; company
(use-package company
:bind (:map company-active-map
("C-n" . company-select-next)
("C-p" . company-select-previous))
;; (use-package company
;; :bind (:map company-active-map
;; ("C-n" . company-select-next)
;; ("C-p" . company-select-previous))
;; :init
;; (global-company-mode)
;; :config
;; (setq company-idle-delay 0.1)) ;; faster autocomplete
;; corfu
(use-package corfu
:init
(global-company-mode)
:config
(setq company-idle-delay 0.1)) ;; faster autocomplete
(when (> emacs-major-version 30)
;; this mode is only available in Emacs version 30.1 and
;; greater.
(global-completion-preview-mode 1))
(unless (display-graphic-p)
(when (require 'corfu-terminal nil :noerror)
(corfu-terminal-mode +1)))
(global-corfu-mode 1))
;; yasnippet config
(use-package yasnippet
@@ -413,10 +441,10 @@
org-export-with-section-numbers nil)
;; LaTeX
(setq org-latex-compiler "xelatex")
(setq org-latex-listings 'minted
org-latex-pdf-process
'("latexmk -shell-escape -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f"))
;;(setq org-latex-compiler "xelatex")
;;(setq org-latex-listings 'minted
;;org-latex-pdf-process
;;'("latexmk -shell-escape -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f"))
(use-package evil-org
:after org
@@ -488,11 +516,13 @@
:after org)
(use-package ox-moderncv
:after org
:straight
(org-cv :type git :host gitlab :repo "Titan-C/org-cv"))
:straight nil
:load-path "~/org-cv/"
;;(org-cv :type git :host gitlab :repo "Titan-C/org-cv"))
:init (require 'ox-moderncv))
(use-package ox-hugocv
(use-package ox-hugocv
:after org
:straight
(org-cv :type git :host gitlab :repo "Titan-C/org-cv")))

View File

@@ -54,8 +54,11 @@
# Fonts
fonts = {
packages = with pkgs; [
corefonts
font-awesome
hachimarupop
ibm-plex
kanji-stroke-order-font
liberation_ttf
nerd-fonts.blex-mono
nerd-fonts.jetbrains-mono