diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-03-14 15:56:21 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-03-14 15:56:21 +0300 |
| commit | a5c55c048461c11177eed8be28def01aa4bb4502 (patch) | |
| tree | d4507dd6615a2ea241b16260421854ed24471ac0 /nvim | |
| parent | 37cb3a6497a01ba031caa9eea2d391e910edb63a (diff) | |
Updates
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/init.lua | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 246108c..8fefe40 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1,4 +1,32 @@ --- theme & transparency +-- Plugins + +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", "clone", "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +require("lazy").setup({ + { + 'nvim-telescope/telescope.nvim', + dependencies = { + 'nvim-lua/plenary.nvim', + { 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' }, + }, + keys = { + { '<leader>ff', '<cmd>Telescope find_files<cr>' }, + { '<leader>fg', '<cmd>Telescope live_grep<cr>' }, + { '<leader>fb', '<cmd>Telescope buffers<cr>' }, + }, + }, +}) +``` + +-- Theme & transparency vim.cmd.colorscheme("unokai") vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" }) |