init basic packages

This commit is contained in:
Christoph Wagner 2024-03-26 20:55:35 +01:00
parent dbba54cfd8
commit ebd899d3d3
7 changed files with 71 additions and 2 deletions

View file

@ -0,0 +1,5 @@
return {
{
'norcalli/nvim-colorizer.lua',
},
}

View file

@ -0,0 +1,15 @@
return {
'kdheepak/lazygit.nvim',
cmd = {
'LazyGit',
'LazyGitConfig',
'LazyGitCurrentFile',
'LazyGitFilter',
'LazyGitFilterCurrentFile',
},
-- optional for floating window border decoration
dependencies = {
'nvim-lua/plenary.nvim',
},
vim.keymap.set('n', '<leader>lg', '<cmd>LazyGit<cr>'),
}

22
lua/basic/plugins/oil.lua Normal file
View file

@ -0,0 +1,22 @@
return {
{
'stevearc/oil.nvim',
opts = {},
-- Optional dependencies
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('oil').setup {
columns = {
{ 'mtime', format = '%y-%m-%d %T' },
{ 'size', highlight = 'Special' },
'icon',
},
view_options = {
show_hidden = true,
},
}
end,
},
vim.keymap.set('n', '<leader>so', ':Oil<CR>'),
}

View file

@ -0,0 +1,3 @@
return {
'godlygeek/tabular',
}

View file

@ -0,0 +1,11 @@
return {
{
'folke/todo-comments.nvim',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
},
}

View file

@ -0,0 +1,12 @@
return {
'folke/trouble.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
vim.keymap.set('n', '<leader>xx', function()
require('trouble').toggle()
end),
}