telescope.lua 318 B

1234567
  1. local builtin = require('telescope.builtin')
  2. vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
  3. vim.keymap.set('n', '<C-p>', builtin.git_files, {})
  4. vim.keymap.set('n', '<leader>b', builtin.buffers, {})
  5. vim.keymap.set('n', '<leader>pf', function()
  6. builtin.grep_string({search = vim.fn.input("Grep > ") });
  7. end)