Initial commit.
This commit is contained in:
parent
2510c29d62
commit
b9dd6524a7
6 changed files with 82 additions and 1 deletions
4
lua/custom/options.lua
Normal file
4
lua/custom/options.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
vim.wo.relativenumber = true
|
||||
vim.bo.tabstop = 2
|
||||
|
||||
return {}
|
||||
17
lua/custom/plugins/file-browser.lua
Normal file
17
lua/custom/plugins/file-browser.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
return
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
config = function ()
|
||||
vim.keymap.set('n', '<leader>o', ':Neotree<CR>', { desc = 'Open file browser' })
|
||||
require("neo-tree").setup({
|
||||
-- Neotree config
|
||||
})
|
||||
end
|
||||
}
|
||||
23
lua/custom/plugins/theme.lua
Normal file
23
lua/custom/plugins/theme.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
{
|
||||
'catppuccin/nvim',
|
||||
name = 'catppuccin',
|
||||
priority = 900,
|
||||
config = function()
|
||||
vim.cmd.colorscheme 'catppuccin'
|
||||
end,
|
||||
},
|
||||
{
|
||||
-- Set lualine as statusline
|
||||
'nvim-lualine/lualine.nvim',
|
||||
-- See `:help lualine.txt`
|
||||
opts = {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = 'auto',
|
||||
-- component_separators = '|',
|
||||
-- section_separators = '',
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
3
lua/custom/remaps.lua
Normal file
3
lua/custom/remaps.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- Diagnostic keymaps
|
||||
vim.keymap.set('n', '<leader>cd', vim.diagnostic.open_float, { desc = 'Open floating diagnostic message' })
|
||||
vim.keymap.set('n', '<leader>cD', vim.diagnostic.setloclist, { desc = 'Open diagnostics list' })
|
||||
Loading…
Add table
Add a link
Reference in a new issue