doomemacs/modules/tools
Henrik Lissner 0a2bcf928c
feat(lookup): +lookup/file: search file tree for relative paths
Given a relative file path that:

- Doesn't exist, relative to the open file/buffer (default-directory),
- Doesn't exist, relative to the project root,
- Doesn't satisfy any of the other rules in ffap-alist,
- Contains more than one segment (forward slashes),

The +lookup/file command will walk the file tree from default-directory
to the project root to search for the path, so given:

  project
  └── src
      ├── a
      │   └── a.h
      └── b
          └── b.h

This command, run on 'b/b.h' in a/a.h, will open b/b.h (but 'b.h' alone
won't work, which is intended, to reduce false positives).

Close: #7890
Co-authored-by: liuzhishan <liuzhishan@users.noreply.github.com>
2024-06-20 18:28:12 -04:00
..
ansible
biblio
collab
debugger
direnv
docker
editorconfig
ein
eval
lookup feat(lookup): +lookup/file: search file tree for relative paths 2024-06-20 18:28:12 -04:00
lsp
magit
make
pass
pdf
prodigy
rgb
taskrunner
terraform
tmux
tree-sitter
upload
README.org

:tools

Description

Modules that integrate external tools into Emacs.

Frequently asked questions

This category has no FAQs yet. Ask one?