Initial neovim config

Lazy.nvim plugin manager, LSP (rust-analyzer, clangd, ts_ls, zls),
treesitter, telescope, bufferline, neo-tree, gitsigns, lazygit,
alabaster theme, persistence sessions, nvim-cmp, lualine, which-key.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Kilin
2026-02-23 23:40:37 +03:00
commit 7213bec4dc
16 changed files with 478 additions and 0 deletions

25
lua/plugins/telescope.lua Normal file
View File

@@ -0,0 +1,25 @@
return {
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = {
"nvim-lua/plenary.nvim",
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
},
keys = {
{ "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find files" },
{ "<leader>fg", "<cmd>Telescope live_grep<cr>", desc = "Live grep" },
{ "<leader>fb", "<cmd>Telescope buffers<cr>", desc = "Buffers" },
{ "<leader>fh", "<cmd>Telescope help_tags<cr>", desc = "Help tags" },
{ "<leader>fd", "<cmd>Telescope diagnostics<cr>", desc = "Diagnostics" },
{ "<leader>fr", "<cmd>Telescope oldfiles<cr>", desc = "Recent files" },
},
config = function()
local telescope = require("telescope")
telescope.setup({
defaults = {
file_ignore_patterns = { "node_modules", ".git/", "target/" },
},
})
telescope.load_extension("fzf")
end,
}