Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nixvim: Change default CTRL+P action to not always use git files only #5

Closed
fjij opened this issue Nov 9, 2024 · 0 comments · Fixed by #8
Closed

Nixvim: Change default CTRL+P action to not always use git files only #5

fjij opened this issue Nov 9, 2024 · 0 comments · Fixed by #8

Comments

@fjij
Copy link
Owner

fjij commented Nov 9, 2024

Error message when called in a non-git directory:

Error executing Lua callback: ... /home/willh/jupylabo is not a git directory
fjij added a commit that referenced this issue Dec 19, 2024
Fixes #5

Update the default CTRL+P action to not always use git files only.

* Change the keymap for `<C-p>` in `home-manager-modules/nixvim.nix` to use `find_files` instead of `git_files`
* This change ensures that the default action for CTRL+P searches for files in the current directory, regardless of whether it is a git repository

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/fjij/nix-configs/issues/5?shareId=XXXX-XXXX-XXXX-XXXX).
@fjij fjij closed this as completed in #8 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant