mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-09 18:30:01 +01:00
nvim: shortcut and dashboard changes
- nvim: shorcut and dashboard changes - shell: fix greeting
This commit is contained in:
parent
bd2e9ca61d
commit
437d52c35d
6 changed files with 45 additions and 20 deletions
|
|
@ -21,7 +21,7 @@ return {
|
|||
local builtin = require("telescope.builtin")
|
||||
pcall(require("telescope").load_extension, "fzf")
|
||||
|
||||
vim.keymap.set("n", "<leader>ps", function()
|
||||
vim.keymap.set("n", "<leader>fs", function()
|
||||
local search_string = vim.fn.input("Grep > ")
|
||||
if search_string == "" then
|
||||
return
|
||||
|
|
@ -39,9 +39,9 @@ return {
|
|||
builtin.grep_string({ search = word })
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", "<leader>pg", builtin.live_grep, {})
|
||||
vim.keymap.set("n", "<leader>fw", builtin.live_grep, {})
|
||||
|
||||
|
||||
vim.keymap.set("n", "<leader>pf", builtin.find_files, {})
|
||||
|
||||
vim.keymap.set("n", "<C-p>", builtin.git_files, {})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue