Edit Emacs config, LaTeX, fonts
This commit is contained in:
@@ -197,11 +197,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.texlive = {
|
|
||||||
enable = true;
|
|
||||||
packageSet = pkgs.texliveSmall;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
@@ -238,5 +233,6 @@
|
|||||||
lm_sensors
|
lm_sensors
|
||||||
lolcat
|
lolcat
|
||||||
nerd-fonts.blex-mono
|
nerd-fonts.blex-mono
|
||||||
|
texliveFull
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -112,6 +112,22 @@
|
|||||||
:config
|
:config
|
||||||
(evil-collection-init))
|
(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
|
;; prevent laggy icons
|
||||||
(setq inhibit-compacting-font-caches t)
|
(setq inhibit-compacting-font-caches t)
|
||||||
|
|
||||||
@@ -246,14 +262,26 @@
|
|||||||
(treemacs-load-theme "nerd-icons"))
|
(treemacs-load-theme "nerd-icons"))
|
||||||
|
|
||||||
;; company
|
;; company
|
||||||
(use-package company
|
;; (use-package company
|
||||||
:bind (:map company-active-map
|
;; :bind (:map company-active-map
|
||||||
("C-n" . company-select-next)
|
;; ("C-n" . company-select-next)
|
||||||
("C-p" . company-select-previous))
|
;; ("C-p" . company-select-previous))
|
||||||
|
;; :init
|
||||||
|
;; (global-company-mode)
|
||||||
|
;; :config
|
||||||
|
;; (setq company-idle-delay 0.1)) ;; faster autocomplete
|
||||||
|
|
||||||
|
;; corfu
|
||||||
|
(use-package corfu
|
||||||
:init
|
:init
|
||||||
(global-company-mode)
|
(when (> emacs-major-version 30)
|
||||||
:config
|
;; this mode is only available in Emacs version 30.1 and
|
||||||
(setq company-idle-delay 0.1)) ;; faster autocomplete
|
;; 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
|
;; yasnippet config
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
@@ -413,10 +441,10 @@
|
|||||||
org-export-with-section-numbers nil)
|
org-export-with-section-numbers nil)
|
||||||
|
|
||||||
;; LaTeX
|
;; LaTeX
|
||||||
(setq org-latex-compiler "xelatex")
|
;;(setq org-latex-compiler "xelatex")
|
||||||
(setq org-latex-listings 'minted
|
;;(setq org-latex-listings 'minted
|
||||||
org-latex-pdf-process
|
;;org-latex-pdf-process
|
||||||
'("latexmk -shell-escape -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f"))
|
;;'("latexmk -shell-escape -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f"))
|
||||||
|
|
||||||
(use-package evil-org
|
(use-package evil-org
|
||||||
:after org
|
:after org
|
||||||
@@ -488,9 +516,11 @@
|
|||||||
:after org)
|
:after org)
|
||||||
|
|
||||||
(use-package ox-moderncv
|
(use-package ox-moderncv
|
||||||
:after org
|
:straight nil
|
||||||
:straight
|
:load-path "~/org-cv/"
|
||||||
(org-cv :type git :host gitlab :repo "Titan-C/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
|
:after org
|
||||||
|
@@ -54,8 +54,11 @@
|
|||||||
# Fonts
|
# Fonts
|
||||||
fonts = {
|
fonts = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
corefonts
|
||||||
font-awesome
|
font-awesome
|
||||||
|
hachimarupop
|
||||||
ibm-plex
|
ibm-plex
|
||||||
|
kanji-stroke-order-font
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
nerd-fonts.blex-mono
|
nerd-fonts.blex-mono
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
|
Reference in New Issue
Block a user