home: vim: use actual lua files

Since most of the settings are actually just lua in a VimL file.
This commit is contained in:
Bruno BELANYI 2023-05-07 13:10:36 +01:00
parent 9530864b10
commit c2d231d3f1
20 changed files with 0 additions and 41 deletions

View file

@ -0,0 +1,15 @@
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>" })