learning and bilding
This commit is contained in:
parent
68866cae29
commit
2ae2a0c022
15
init.lua
15
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', '<C-p>', builtin.find_files, {}) -- telescope find --
|
||||
-- vim.keymap.set('n', '<C-o>', builtin.live_grep, {}) I dont know what this is doing? --
|
||||
|
||||
|
||||
|
||||
6
lazy-lock.json
Normal file
6
lazy-lock.json
Normal file
@ -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" }
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user