status bar
This commit is contained in:
parent
1298d39c9c
commit
51b08f4f82
@ -1,6 +1,7 @@
|
||||
## Used plugins
|
||||
- https://github.com/folke/lazy.nvim (plugin manager)
|
||||
- https://github.com/catppuccin/nvim?tab=readme-ov-file (colour scheme)
|
||||
- https://github.com/nvim-lualine/lualine.nvim (status bar)
|
||||
- https://github.com/nvim-telescope/telescope.nvim (fuzzy finder)
|
||||
- https://github.com/nvim-treesitter/nvim-treesitter (tree sitter plugin old)
|
||||
- https://github.com/nvim-neo-tree/neo-tree.nvim (map of filesystem)
|
||||
|
||||
12
init.lua
12
init.lua
@ -39,17 +39,15 @@ config.setup({
|
||||
require("catppuccin").setup(plugins, opts) -- color scheme --
|
||||
vim.cmd.colorscheme "catppuccin"
|
||||
|
||||
require('lualine').setup() -- bottom line
|
||||
|
||||
-- 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? --
|
||||
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-m>', ':Neotree filesystem toggle left<CR>', {})
|
||||
|
||||
-- Vim options --
|
||||
|
||||
vim.opt.nu = true -- line numbers
|
||||
|
||||
vim.opt.tabstop = 4 -- how big is tab
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
require("vim-options")
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
"catppuccin": { "branch": "main", "commit": "fc98570d85ae772e56dc42cf8d7d6a497a909bdb" },
|
||||
"image.nvim": { "branch": "master", "commit": "9be5ede323756d7ee2bbef2bc157767b3972cce6" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" },
|
||||
"nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "40e8c92f99ef26625ff2206f5e183ac3109f20ba" },
|
||||
|
||||
@ -7,10 +7,14 @@ return {
|
||||
{"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",
|
||||
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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{'nvim-lualine/lualine.nvim', -- bottom/status line
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' }}
|
||||
|
||||
}
|
||||
|
||||
9
lua/vim-options.lua
Normal file
9
lua/vim-options.lua
Normal file
@ -0,0 +1,9 @@
|
||||
-- Vim options --
|
||||
|
||||
vim.opt.nu = true -- line numbers
|
||||
|
||||
vim.opt.tabstop = 4 -- how big is tab
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
|
||||
vim.g.napleader = " "
|
||||
Loading…
x
Reference in New Issue
Block a user