Skip to content

Commit

Permalink
[nvim] Remap keymaps for git_files and live_grep
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jan 6, 2025
1 parent 041187b commit 9ca1f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home/neovim/plugins/telescope/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ telescope.load_extension("ui-select")
local builtin = require("telescope.builtin")

vim.keymap.set("n", "<leader>sd", builtin.diagnostics, { desc = "[S]earch [d]iagnostics" })
vim.keymap.set("n", "<leader>sf", builtin.git_files, { desc = "[S]earch [f]iles" })
vim.keymap.set("n", "<leader>sg", builtin.live_grep, { desc = "[S]earch by [g]rep" })
vim.keymap.set("n", "<leader>f", builtin.git_files, { desc = "Search [f]iles" })
vim.keymap.set("n", "<leader>g", builtin.live_grep, { desc = "Search by [g]rep" })
vim.keymap.set("n", "<leader>sh", builtin.help_tags, { desc = "[S]earch [h]elp" })
vim.keymap.set("n", "<leader>sk", builtin.keymaps, { desc = "[S]earch [k]eymaps" })

Expand Down

0 comments on commit 9ca1f07

Please sign in to comment.