pretty stable
commit while things are pretty much working how I like
This commit is contained in:
parent
4120893b8a
commit
5edfba8462
7 changed files with 254 additions and 185 deletions
19
lua/custom/plugins/barbar.lua
Normal file
19
lua/custom/plugins/barbar.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
{
|
||||
'romgrk/barbar.nvim',
|
||||
dependencies = {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
init = function()
|
||||
vim.g.barbar_auto_setup = false
|
||||
end,
|
||||
opts = {
|
||||
animation = true,
|
||||
insert_at_start = true,
|
||||
icons = {},
|
||||
},
|
||||
version = '^1.0.0',
|
||||
},
|
||||
require('gitsigns').setup {},
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
-- You can add your own plugins here or in other files in this directory!
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
||||
20
lua/custom/plugins/lazygit.lua
Normal file
20
lua/custom/plugins/lazygit.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
'kdheepak/lazygit.nvim',
|
||||
lazy = true,
|
||||
cmd = {
|
||||
'LazyGit',
|
||||
'LazyGitConfig',
|
||||
'LazyGitCurrentFile',
|
||||
'LazyGitFilter',
|
||||
'LazyGitFilterCurrentFile',
|
||||
},
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||
-- order to load the plugin when the command is run for the first time
|
||||
keys = {
|
||||
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = '[L]azy[G]it' },
|
||||
},
|
||||
}
|
||||
19
lua/custom/plugins/persistence.lua
Normal file
19
lua/custom/plugins/persistence.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
-- Session management. This saves your session in the background,
|
||||
-- keeping track of open buffers, window arrangement, and more.
|
||||
-- You can restore sessions when returning through the dashboard.
|
||||
{
|
||||
'folke/persistence.nvim',
|
||||
event = 'BufReadPre',
|
||||
opts = {},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>sS", function() require("persistence").select() end,desc = "[S]earch Previous [S]essions" },
|
||||
{ "<leader>sR", function() require("persistence").load({ last = true }) end, desc = "Restore Last [S]ession" },
|
||||
{ "<leader>sD", function() require("persistence").stop() end, desc = "Don't Save Current [S]ession" },
|
||||
},
|
||||
},
|
||||
|
||||
-- library used by other plugins
|
||||
{ 'nvim-lua/plenary.nvim', lazy = true },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue