init my kickstart
This commit is contained in:
commit
1ebfcd071c
23 changed files with 1694 additions and 0 deletions
9
lua/custom/plugins/auto-session.lua
Normal file
9
lua/custom/plugins/auto-session.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
'rmagatti/auto-session',
|
||||
config = function()
|
||||
require('auto-session').setup {
|
||||
log_level = 'error',
|
||||
auto_session_suppress_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
|
||||
}
|
||||
end,
|
||||
}
|
||||
7
lua/custom/plugins/comment.lua
Normal file
7
lua/custom/plugins/comment.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
5
lua/custom/plugins/init.lua
Normal file
5
lua/custom/plugins/init.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
-- 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 {}
|
||||
19
lua/custom/plugins/lazygit.lua
Normal file
19
lua/custom/plugins/lazygit.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
'kdheepak/lazygit.nvim',
|
||||
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 = 'LazyGit' },
|
||||
},
|
||||
}
|
||||
11
lua/custom/plugins/markdown-preview.lua
Normal file
11
lua/custom/plugins/markdown-preview.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
'iamcco/markdown-preview.nvim',
|
||||
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
|
||||
ft = { 'markdown' },
|
||||
build = function()
|
||||
vim.fn['mkdp#util#install']()
|
||||
end,
|
||||
config = function()
|
||||
vim.keymap.set('n', '<leader>mm', ':MarkdownPreview<CR>', { desc = 'Start [M]arkdown preview' })
|
||||
end,
|
||||
}
|
||||
8
lua/custom/plugins/markdown.lua
Normal file
8
lua/custom/plugins/markdown.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
-- 'MeanderingProgrammer/markdown.nvim',
|
||||
-- name = 'render-markdown', -- Only needed if you have another plugin named markdown.nvim
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
-- config = function()
|
||||
-- require('render-markdown').setup {}
|
||||
-- end,
|
||||
}
|
||||
11
lua/custom/plugins/mkdnflow.lua
Normal file
11
lua/custom/plugins/mkdnflow.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
'jakewvincent/mkdnflow.nvim',
|
||||
config = function()
|
||||
require('mkdnflow').setup {
|
||||
-- Config goes here; leave blank for defaults
|
||||
links = {
|
||||
style = 'wiki',
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
20
lua/custom/plugins/notifier.lua
Normal file
20
lua/custom/plugins/notifier.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
'vigoux/notifier.nvim',
|
||||
config = function()
|
||||
require('notifier').setup {
|
||||
{
|
||||
ignore_messages = {}, -- Ignore message from LSP servers with this name
|
||||
components = { -- Order of the components to draw from top to bottom (first nvim notifications, then lsp)
|
||||
'nvim', -- Nvim notifications (vim.notify and such)
|
||||
'lsp', -- LSP status updates
|
||||
},
|
||||
notify = {
|
||||
clear_time = 5000, -- Time in milliseconds before removing a vim.notify notification, 0 to make them sticky
|
||||
min_level = vim.log.levels.INFO, -- Minimum log level to print the notification
|
||||
},
|
||||
component_name_recall = false, -- Whether to prefix the title of the notification by the component name
|
||||
zindex = 50, -- The zindex to use for the floating window. Note that changing this value may cause visual bugs with other windows overlapping the notifier window.
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
10
lua/custom/plugins/oil.lua
Normal file
10
lua/custom/plugins/oil.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
'stevearc/oil.nvim',
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
require('oil').setup()
|
||||
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue