rg config test

This commit is contained in:
Alexandre LUCAZEAU 2023-01-19 21:03:06 +01:00
parent 81fd413a21
commit 440cdfca5a
2 changed files with 23 additions and 25 deletions

View File

@ -57,8 +57,8 @@
:init (load-theme 'doom-nord t)
:init (doom-themes-org-config))
(use-package direnv
:config (direnv-mode))
;;(use-package direnv
;; :config (direnv-mode))
(use-package lsp-mode
:config (setq lsp-keymap-prefix "C-c l")
@ -67,13 +67,13 @@
:config (lsp-enable-which-key-integration t)
:hook (lsp-mode . electric-pair-mode))
(use-package web-mode
:mode ("\\.json\\'" . web-mode)
:mode ("\\.html?\\'" . web-mode)
:mode ("\\.s?css\\'" . web-mode)
:mode ("\\.[jt]sx?\\'" . web-mode)
:hook (web-mode . lsp-deferred)
:hook (web-mode . default-web-indent-mode))
;;(use-package web-mode
;; :mode ("\\.json\\'" . web-mode)
;; :mode ("\\.html?\\'" . web-mode)
;; :mode ("\\.s?css\\'" . web-mode)
;; :mode ("\\.[jt]sx?\\'" . web-mode)
;; :hook (web-mode . lsp-deferred)
;; :hook (web-mode . default-web-indent-mode))
(use-package nix-mode
:mode ("\\.nix\\'" . nix-mode)
@ -105,39 +105,36 @@
(use-package bbdb
:init (bbdb-initialize 'gnus 'message)
:init (bbdb-mua-auto-update-init 'gnus 'message)
:config (setq bbdb-file "~/Nextcloud/13_Org/contacts/bbdb")
:config (setq bbdb-file "~/Nextcloud2/13_Org/contacts/bbdb")
:config (setq bbdb-mua-auto-update-p 'create))
(use-package org
:config
(setq org-agenda-files
"~/Nextcloud/13_Org/agenda.org")
(setq org-startup-folded t)
(setq org-agenda-filesc "~/Nextcloud2/13_Org/DRI.org")
(setq org-refile-use-outline-path 'file)
(setq org-refile-targets
'(("~/Nextcloud/13_Org/DRI.org" :maxlevel . 3)
("~/Nextcloud/13_Org/perso.org" :level . 1)
("~/Nextcloud/13_Org/pizajoffre.org" :level . 1)))
'(("~/Nextcloud2/13_Org/DRI.org" :maxlevel . 3)
("~/Nextcloud2/13_Org/perso.org" :level . 1)
("~/Nextcloud2/13_Org/pizajoffre.org" :level . 1)))
(setq org-todo-keywords
'((sequence "TODO(t)" "PENDING(p)" "|" "CANCELLED(c)" "DONE(d)")))
(setq org-todo-keyword-faces
'(("TODO" . (:foreground "#c678dd" :weight bold))
("PENDING" . (:background "#3f444a" :foreground "#ff6c6b" :weight bold))))
(setq org-capture-templates
'(("i" "Inbox" entry (file "~/Nextcloud/13_Org/DRI.org") "* TODO %i%?")
("a" "Agenda" entry (file "~/Nextcloud/13_Org/agenda.org") "* TODO %i%?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))")))
(setq org-agenda-custom-commands
'(("t" "Today" tags-todo "+LEVEL=1+CATEGORY=\"tasks\"|+SCHEDULED<=\"<today>\"|+DEADLINE<=\"<today>\""))))
'(("i" "Inbox" entry (file "~/Nextcloud2/13_Org/DRI.org") "* TODO %i%?")
(use-package magit)
(use-package ledger-mode)
(use-package projectile
:init (projectile-global-mode)
:config (setq projectile-enable-caching nil)
:config (setq projectile-project-search-path (cddr (directory-files "~/code" t)))
:custom (projectile-completion-system 'ivy)
:bind-keymap ("C-c p" . projectile-command-map))
;;(use-package projectile
;; :init (projectile-global-mode)
;; :config (setq projectile-enable-caching nil)
;; :config (setq projectile-project-search-path (cddr (directory-files "~/code" t)))
;; :custom (projectile-completion-system 'ivy)
;; :bind-keymap ("C-c p" . projectile-command-map))
(use-package counsel-projectile
:after (counsel projectile)

View File

@ -29,6 +29,7 @@
which-key
elpaPackages.org
]));
};
home.file = {