Migrate from Projectile to built-in project.el and fix Org mode
Major changes: - Replace Projectile with built-in project.el for project management - Add comprehensive Org mode configuration with TODO keywords and org-kanban support - Fix multiple parsing errors and keybinding conflicts Key improvements: - Faster startup with built-in project.el (no external dependencies) - Better integration with Eglot LSP client - Proper Org TODO keyword highlighting and kanban column ordering - Fixed unbalanced parentheses in init-completion.el and init-utils.el - Resolved keybinding conflicts (C-c d g → C-c G d, removed C-u C-c C-r) - Updated all file paths in init-utils.el to use lisp/ subdirectory The configuration now loads cleanly without errors and maintains backward compatibility with most Projectile keybindings (C-c p prefix) while also supporting the standard project.el bindings (C-x p prefix). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
("C-c T s" . treemacs-search-file)
|
||||
:map treemacs-mode-map
|
||||
("/" . treemacs-search-file)
|
||||
("C-s" . projectile-find-file)
|
||||
("C-s" . project-find-file)
|
||||
("s" . consult-ripgrep))
|
||||
:config
|
||||
(setq treemacs-collapse-dirs (if treemacs-python-executable 3 0)
|
||||
@@ -71,10 +71,8 @@
|
||||
|
||||
(treemacs-hide-gitignored-files-mode nil))
|
||||
|
||||
(use-package treemacs-projectile
|
||||
:ensure t
|
||||
:after (treemacs projectile)
|
||||
:defer t)
|
||||
;; treemacs-projectile is no longer needed with project.el
|
||||
;; Treemacs has built-in support for project.el
|
||||
|
||||
(use-package treemacs-all-the-icons
|
||||
:ensure t
|
||||
@@ -96,8 +94,8 @@
|
||||
(defun treemacs-search-file ()
|
||||
"Search for a file in the current project using consult."
|
||||
(interactive)
|
||||
(if (fboundp 'projectile-find-file)
|
||||
(projectile-find-file)
|
||||
(if (fboundp 'project-find-file)
|
||||
(project-find-file)
|
||||
(consult-find)))
|
||||
|
||||
(defun treemacs-open-marked-files ()
|
||||
|
||||
Reference in New Issue
Block a user