remove hyprland
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
typescript
|
||||
nodejs
|
||||
# mathpix-snipping-tool
|
||||
cmake
|
||||
libtool
|
||||
glibtool
|
||||
];
|
||||
|
||||
programs.emacs = {
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||
|
||||
(straight-use-package 'org)
|
||||
|
||||
;; EMACS
|
||||
(use-package emacs
|
||||
:ensure nil
|
||||
@@ -81,8 +83,22 @@
|
||||
(save-place-mode 1)
|
||||
(winner-mode 1)
|
||||
(xterm-mouse-mode 1)
|
||||
(file-name-shadow-mode 1)
|
||||
(load-theme 'modus-operandi t))
|
||||
(file-name-shadow-mode 1))
|
||||
|
||||
(use-package doom-themes
|
||||
:ensure t
|
||||
:straight t
|
||||
:custom
|
||||
;; Global settings (defaults)
|
||||
(doom-themes-enable-bold t) ; if nil, bold is universally disabled
|
||||
(doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||
:config
|
||||
(load-theme 'doom-one t)
|
||||
|
||||
;; Enable flashing mode-line on errors
|
||||
(doom-themes-visual-bell-config)
|
||||
;; Corrects (and improves) org-mode's native fontification.
|
||||
(doom-themes-org-config))
|
||||
|
||||
(use-package eldoc
|
||||
:ensure nil
|
||||
@@ -100,7 +116,7 @@
|
||||
:custom
|
||||
(org-return-follows-link t)
|
||||
(org-hide-emphasis-markers t)
|
||||
(org-capture-templates
|
||||
(org-capturen-templates
|
||||
`(("i" "Inbox" entry (file "inbox.org")
|
||||
,(concat "* TODO %?\n"
|
||||
"/Entered on/ %U"))
|
||||
@@ -118,6 +134,11 @@
|
||||
:init
|
||||
(require 'org-tempo))
|
||||
|
||||
(use-package toc-org
|
||||
:ensure t
|
||||
:straight t
|
||||
:hook (org-mode . toc-org-mode))
|
||||
|
||||
(use-package org-roam
|
||||
:ensure t
|
||||
:straight t
|
||||
@@ -369,17 +390,21 @@
|
||||
(treesit-auto-install 'prompt)
|
||||
:config
|
||||
(treesit-auto-add-to-auto-mode-alist 'all)
|
||||
(global-treesit-auto-mode))
|
||||
(global-treesit-auto-mode)
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)))
|
||||
|
||||
(use-package corfu
|
||||
:ensure t
|
||||
:straight t
|
||||
:custom
|
||||
(corfu-auto t)
|
||||
(corfu-auto-prefix 1)
|
||||
(corfu-cycle t)
|
||||
(corfu-auto-prefix 2)
|
||||
(corfu-popupinfo-mode t)
|
||||
(corfu-popupinfo-delay 0.5)
|
||||
(corfu-on-exact-match nil)
|
||||
(completion-ignore-case t)
|
||||
:init
|
||||
(global-corfu-mode))
|
||||
|
||||
@@ -388,16 +413,18 @@
|
||||
:straight t
|
||||
:after corfu
|
||||
:init (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
|
||||
;; Add extensions
|
||||
|
||||
(use-package cape
|
||||
:ensure t
|
||||
:straight t
|
||||
:after corfu
|
||||
:bind ("C-c p" . cape-prefix-map)
|
||||
:init
|
||||
(add-hook 'completion-at-point-functions #'cape-dabbrev)
|
||||
(add-hook 'completion-at-point-functions #'cape-dict)
|
||||
(add-hook 'completion-at-point-functions #'cape-file)
|
||||
(add-hook 'completion-at-point-functions #'cape-elisp-block))
|
||||
(add-hook 'completion-at-point-functions #'cape-elisp-block)
|
||||
(add-hook 'completion-at-point-functions #'cape-keyword))
|
||||
|
||||
;; (use-package company
|
||||
;; :ensure t
|
||||
@@ -539,17 +566,19 @@
|
||||
:init
|
||||
(exec-path-from-shell-initialize))
|
||||
|
||||
(use-package direnv
|
||||
:ensure t
|
||||
:straight t
|
||||
:config
|
||||
(direnv-mode))
|
||||
|
||||
;; (use-package envrc
|
||||
;; (use-package direnv
|
||||
;; :ensure t
|
||||
;; :straight t
|
||||
;; :hook
|
||||
;; (after-init . envrc-global-mode))
|
||||
;; :config
|
||||
;; (direnv-mode))
|
||||
|
||||
(use-package envrc
|
||||
:ensure t
|
||||
:straight t
|
||||
:init
|
||||
(setq envrc-show-summary-in-minibuffer nil)
|
||||
:hook
|
||||
(after-init . envrc-global-mode))
|
||||
|
||||
;; (use-package add-node-modules-path
|
||||
;; :ensure t
|
||||
@@ -646,5 +675,21 @@
|
||||
:straight t
|
||||
:bind ("C-c d" . docker))
|
||||
|
||||
(provide 'init)
|
||||
(use-package alert
|
||||
:ensure t
|
||||
:straight t
|
||||
:commands (alert)
|
||||
:init
|
||||
(setq alert-default-style 'notifier))
|
||||
|
||||
(use-package vterm
|
||||
:ensure t
|
||||
:straight t)
|
||||
|
||||
(use-package nix-mode
|
||||
:ensure t
|
||||
:straight t
|
||||
:mode "\\.nix\\'")
|
||||
|
||||
(provide 'init)
|
||||
;;; init.el ends here
|
||||
|
||||
Reference in New Issue
Block a user