init my kickstart

This commit is contained in:
Jack Koskie 2024-06-06 11:48:14 -04:00
commit 1ebfcd071c
23 changed files with 1694 additions and 0 deletions

View 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,
}

View file

@ -0,0 +1,7 @@
return {
'numToStr/Comment.nvim',
opts = {
-- add any options here
},
lazy = false,
}

View 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 {}

View 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' },
},
}

View 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,
}

View 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,
}

View 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,
}

View 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,
}

View 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,
}