home: vim: telescope: move mappings from 'after'

This commit is contained in:
Bruno BELANYI 2024-07-19 11:10:49 +00:00
parent 5918a0b9e6
commit 82f49f1389
2 changed files with 15 additions and 15 deletions

View file

@ -1,15 +0,0 @@
local wk = require("which-key")
local telescope_builtin = require("telescope.builtin")
local keys = {
f = {
name = "Fuzzy finder",
b = { telescope_builtin.buffers, "Open buffers" },
f = { telescope_builtin.git_files, "Git tracked files" },
F = { telescope_builtin.find_files, "Files" },
g = { telescope_builtin.live_grep, "Grep string" },
G = { telescope_builtin.grep_string, "Grep string under cursor" },
},
}
wk.register(keys, { prefix = "<leader>" })