WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
Showing only changes of commit c9f95761bb - Show all commits

View file

@ -1,17 +1,18 @@
return function()
local telescope = require("telescope")
local builtin = require("telescope.builtin")
local telescope = require("telescope")
local builtin = require("telescope.builtin")
telescope.setup({
pickers = { find_files = { find_command = { "fd", "-Ht", "f" } } },
})
telescope.setup({
defaults = { path_display = { "smart" } },
pickers = { find_files = { find_command = { "fd", "-Ht", "f" } } },
})
telescope.load_extension("fzf")
telescope.load_extension("ui-select")
telescope.load_extension("cder")
telescope.load_extension("fzf")
telescope.load_extension("ui-select")
telescope.load_extension("cder")
-- Keybinds
vim.keymap.set("n", "<C-t>", vim.cmd.Telescope)
vim.keymap.set("n", "<C-f>", builtin.find_files)
vim.keymap.set("n", "<C-g>", builtin.live_grep)
-- Keybinds
vim.keymap.set("n", "<C-t>", vim.cmd.Telescope)
vim.keymap.set("n", "<C-f>", builtin.find_files)
vim.keymap.set("n", "<C-g>", builtin.live_grep)
end