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

Fix default CTRL+P action to not always use git files only #8

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

fjij
Copy link
Owner

@fjij fjij commented 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.

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 merged commit 2ced9fa into main Dec 19, 2024
1 check passed
@fjij fjij deleted the fix-ctrlp-action branch December 19, 2024 01:33
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 this pull request may close these issues.

Nixvim: Change default CTRL+P action to not always use git files only
1 participant