From 2ae2a0c022b028b85e0afc3f5c208e66fdbf8697 Mon Sep 17 00:00:00 2001 From: godot Date: Sun, 14 Apr 2024 17:38:26 +0200 Subject: [PATCH] learning and bilding --- init.lua | 15 +++++++++++---- lazy-lock.json | 6 ++++++ 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 lazy-lock.json diff --git a/init.lua b/init.lua index e6c4e56..87237ea 100644 --- a/init.lua +++ b/init.lua @@ -13,7 +13,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then end vim.opt.rtp:prepend(lazypath) --- Configuration of global var -- +-- Configuration of plugins -- local plugins = { { "catppuccin/nvim", name = "catppuccin", priority = 1000 }, -- colour scheme -- @@ -25,11 +25,18 @@ local plugins = { local opts = {} --- Runs lazy.nvim (plugin manager) -- +-- Runs plugins -- -require("lazy").setup(plugins, opts) +require("lazy").setup(plugins, opts) -- packet manager -- -require("catppuccin").setup(plugins, opts) +local builtin = require("telescope.builtin") -- fuzzy finder -- + +require("catppuccin").setup(plugins, opts) -- color scheme -- vim.cmd.colorscheme "catppuccin" +-- Keypams -- + +vim.keymap.set('n', '', builtin.find_files, {}) -- telescope find -- +-- vim.keymap.set('n', '', builtin.live_grep, {}) I dont know what this is doing? -- + diff --git a/lazy-lock.json b/lazy-lock.json new file mode 100644 index 0000000..5b68eef --- /dev/null +++ b/lazy-lock.json @@ -0,0 +1,6 @@ +{ + "catppuccin": { "branch": "main", "commit": "fc98570d85ae772e56dc42cf8d7d6a497a909bdb" }, + "lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" }, + "plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" }, + "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" } +} \ No newline at end of file