all repos — nixfiles @ fc5e7915dfe735fd8413e76974d2207867b9dec2

System and user configuration, managed by nix and home-manager

Revert "emacs: find file in project if in project" This reverts commit 7ea5b52b7ad8f36f7d46796ba581aa1314a5fb25.

Alin
commit

fc5e7915dfe735fd8413e76974d2207867b9dec2

parent

2461cf464ce3590d7da8f6106b278783b1485cc5

1 file changed, 1 insertion(+), 7 deletions(-)

changed files
M user/settings/emacs/post-init.el → user/settings/emacs/post-init.el
@@ -847,12 +847,6 @@ (with-eval-after-load 'evil-ex
(evil-ex-define-cmd "pb" #'project-switch-to-buffer) (evil-ex-define-cmd "psw[itch]" #'project-switch-project)))) -(defun my/project-or-not-find-file (&optional include-all) - (interactive "P") - (if (project-current nil) - (call-interactively #'project-find-file) - (call-interactively #'find-file))) - (defun ap/consult-ghq-switch-project (dir) "Append a slash to avoid project.el remembering two different paths for the same project."
@@ -1085,7 +1079,7 @@ "bk" #'kill-buffer
"dd" #'dired "e" '(:keymap envrc-command-map :package envrc) "fs" #'save-buffer - "ff" #'my/project-or-not-find-file + "ff" #'find-file "fw" #'write-file "fd" #'my/delete-file-and-buffer "fr" #'crux-rename-file-and-buffer