map of filesystem
This commit is contained in:
parent
df06ac5384
commit
2a84277592
@ -2,8 +2,8 @@
|
|||||||
- https://github.com/folke/lazy.nvim (plugin manager)
|
- https://github.com/folke/lazy.nvim (plugin manager)
|
||||||
- https://github.com/catppuccin/nvim?tab=readme-ov-file (colour scheme)
|
- https://github.com/catppuccin/nvim?tab=readme-ov-file (colour scheme)
|
||||||
- https://github.com/nvim-telescope/telescope.nvim (fuzzy finder)
|
- https://github.com/nvim-telescope/telescope.nvim (fuzzy finder)
|
||||||
- https://github.com/nvim-treesitter/nvim-treesitter (tree sitter plugin)
|
- https://github.com/nvim-treesitter/nvim-treesitter (tree sitter plugin old)
|
||||||
|
- https://github.com/nvim-neo-tree/neo-tree.nvim (map of filesystem)
|
||||||
|
|
||||||
### Tutorials used
|
### Tutorials used
|
||||||
- [YT - typecraft serie](https://www.youtube.com/watch?v=zHTeCSVAFNY&list=PLsz00TDipIffreIaUNk64KxTIkQaGguqn)
|
- [YT - typecraft serie](https://www.youtube.com/watch?v=zHTeCSVAFNY&list=PLsz00TDipIffreIaUNk64KxTIkQaGguqn)
|
||||||
|
|||||||
13
init.lua
13
init.lua
@ -15,21 +15,12 @@ vim.opt.rtp:prepend(lazypath)
|
|||||||
|
|
||||||
-- Configuration of plugins --
|
-- Configuration of plugins --
|
||||||
|
|
||||||
local plugins = {
|
|
||||||
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 }, -- colour scheme --
|
|
||||||
|
|
||||||
{'nvim-telescope/telescope.nvim', tag = '0.1.6', -- fuzzy finder (telescope) --
|
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' }},
|
|
||||||
|
|
||||||
{"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"}, -- tree sitter --
|
|
||||||
|
|
||||||
}
|
|
||||||
local opts = {}
|
local opts = {}
|
||||||
|
|
||||||
|
|
||||||
-- Runs plugins --
|
-- Runs plugins --
|
||||||
|
|
||||||
require("lazy").setup(plugins, opts) -- packet manager --
|
require("lazy").setup("plugins") -- packet manager --
|
||||||
|
|
||||||
local builtin = require("telescope.builtin") -- fuzzy finder --
|
local builtin = require("telescope.builtin") -- fuzzy finder --
|
||||||
|
|
||||||
@ -53,4 +44,4 @@ vim.cmd.colorscheme "catppuccin"
|
|||||||
vim.keymap.set('n', '<C-p>', builtin.find_files, {}) -- telescope find --
|
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? --
|
-- vim.keymap.set('n', '<C-o>', builtin.live_grep, {}) -- I dont know what this is doing? --
|
||||||
|
|
||||||
|
vim.keymap.set('n', '<C-m>', ':Neotree filesystem toggle left<CR>', {})
|
||||||
|
|||||||
@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"catppuccin": { "branch": "main", "commit": "fc98570d85ae772e56dc42cf8d7d6a497a909bdb" },
|
"catppuccin": { "branch": "main", "commit": "fc98570d85ae772e56dc42cf8d7d6a497a909bdb" },
|
||||||
|
"image.nvim": { "branch": "master", "commit": "9be5ede323756d7ee2bbef2bc157767b3972cce6" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" },
|
"lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" },
|
||||||
|
"neo-tree.nvim": { "branch": "v3.x", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" },
|
||||||
|
"nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "40e8c92f99ef26625ff2206f5e183ac3109f20ba" },
|
"nvim-treesitter": { "branch": "master", "commit": "40e8c92f99ef26625ff2206f5e183ac3109f20ba" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "6e355632387a085f15a66ad68cf681c1d7374a04" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
|
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }
|
"telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }
|
||||||
}
|
}
|
||||||
16
lua/plugins.lua
Normal file
16
lua/plugins.lua
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
return {
|
||||||
|
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 }, -- colour scheme --
|
||||||
|
|
||||||
|
{'nvim-telescope/telescope.nvim', tag = '0.1.6', -- fuzzy finder (telescope) --
|
||||||
|
dependencies = { 'nvim-lua/plenary.nvim' }},
|
||||||
|
|
||||||
|
{"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"}, -- tree sitter --
|
||||||
|
|
||||||
|
{"nvim-neo-tree/neo-tree.nvim",branch = "v3.x", -- map of filesystem
|
||||||
|
dependencies = {"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-tree/nvim-web-devicons", -- Optional but recomanded
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
"3rd/image.nvim", -- Optional image support in preview window
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user