Skip to content

Commit

Permalink
Add golps and git_files search
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jun 27, 2024
1 parent 6f588a6 commit a66dade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions home/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
enable = true;
defaultEditor = true;
extraPackages = [
pkgs.gopls
pkgs.lua-language-server
pkgs.nixd
pkgs.nodePackages.bash-language-server
Expand Down
2 changes: 1 addition & 1 deletion home/neovim/plugins/telescope/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ telescope.load_extension("ui-select")

local builtin = require("telescope.builtin")

vim.keymap.set("n", "<C-p>", builtin.find_files, { desc = "Search files" })
vim.keymap.set("n", "<C-p>", builtin.git_files, { desc = "Search files" })

-- https://github.com/nvim-lua/kickstart.nvim/blob/master/init.lua
vim.keymap.set("n", "<leader>sd", builtin.diagnostics, { desc = "[S]earch [d]iagnostics" })
Expand Down

0 comments on commit a66dade

Please sign in to comment.