home-manager/systems/common/nvim/telescope.lua
Kristian Krsnik a2cd8d467f
restructured
* laptop, pc and common now live in systems
* new dev shell to run dconf2nix
* New dconf weather entry (currently not functional)
2023-09-25 20:02:11 +02:00

8 lines
273 B
Lua

local telescope = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', telescope.find_files, {})
vim.keymap.set('n', '<C-p>', telescope.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
telescope.grep_string({ search = vim.fn.input("Grep > ")});
end)