27 lines
766 B
Lua
27 lines
766 B
Lua
local Remap = require("serxoz.keymap")
|
|
local nnoremap = Remap.nnoremap
|
|
|
|
nnoremap("<C-p>", ":Telescope")
|
|
nnoremap("<leader>ps", function()
|
|
require('telescope.builtin').grep_string({ search = vim.fn.input("Grep For > ")})
|
|
end)
|
|
nnoremap("<C-p>", function()
|
|
require('telescope.builtin').git_files()
|
|
end)
|
|
nnoremap("<Leader>ff", function()
|
|
require('telescope.builtin').find_files()
|
|
end)
|
|
nnoremap("<Leader>fg", function()
|
|
require('telescope.builtin').live_grep()
|
|
end)
|
|
|
|
nnoremap("<leader>fw", function()
|
|
require('telescope.builtin').grep_string { search = vim.fn.expand("<cword>") }
|
|
end)
|
|
nnoremap("<leader>fb", function()
|
|
require('telescope.builtin').buffers()
|
|
end)
|
|
nnoremap("<leader>fh", function()
|
|
require('telescope.builtin').help_tags()
|
|
end)
|