added or changed some plugins
This commit is contained in:
parent
c59fb8a2f1
commit
87b169a5e1
|
@ -5,8 +5,8 @@ return {
|
|||
},
|
||||
config = function()
|
||||
require('barbar').setup()
|
||||
vim.keymap.set('n', '<Tab>', ':BufferNext<CR>', { silent = true })
|
||||
vim.keymap.set('n', '<S-Tab>', ':BufferPrevious<CR>', { silent = true })
|
||||
vim.keymap.set('n', '<leader>x', ':BufferClose<CR>', { silent = true })
|
||||
vim.keymap.set('n', '<Tab>', ':BufferNext<CR>', { silent = true, desc = 'To buffer on the right' })
|
||||
vim.keymap.set('n', '<S-Tab>', ':BufferPrevious<CR>', { silent = true, desc = 'To buffer on the left' })
|
||||
vim.keymap.set('n', '<leader>x', ':BufferClose<CR>', { silent = true, desc = 'Close buffer' })
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
return {
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
opts = {},
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
'tadmccorkle/markdown.nvim',
|
||||
ft = 'markdown', -- or 'event = "VeryLazy"'
|
||||
opts = {
|
||||
-- configuration here or empty for defaults
|
||||
},
|
||||
}
|
||||
|
|
|
@ -2,6 +2,11 @@ return {
|
|||
'echasnovski/mini.align',
|
||||
version = false,
|
||||
config = function()
|
||||
require('mini.align').setup()
|
||||
require('mini.align').setup {
|
||||
mappings = {
|
||||
start = 'ma',
|
||||
start_with_preview = 'mA',
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
9
lua/custom/plugins/neoclip.lua
Normal file
9
lua/custom/plugins/neoclip.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
'AckslD/nvim-neoclip.lua',
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
},
|
||||
config = function()
|
||||
require('neoclip').setup()
|
||||
end,
|
||||
}
|
|
@ -23,5 +23,13 @@ return {
|
|||
time_format = '%H:%M',
|
||||
},
|
||||
disable_frontmatter = true,
|
||||
ui = {
|
||||
enable = true,
|
||||
-- checkboxes = {
|
||||
-- [' '] = { char = '👀', hl_group = 'ObsidianTodo' },
|
||||
-- ['/'] = { char = '🚧', hl_group = 'ObsidianDoing' },
|
||||
-- ['x'] = { char = '✅', hl_group = 'ObsidianDone' },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
14
lua/custom/plugins/oil.lua
Normal file
14
lua/custom/plugins/oil.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
'stevearc/oil.nvim',
|
||||
---@module 'oil'
|
||||
---@type oil.SetupOpts
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
-- dependencies = { { 'echasnovski/mini.icons', opts = {} } },
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons
|
||||
config = function()
|
||||
require('oil').setup {
|
||||
vim.keymap.set('n', '<leader>o', ':Oil<CR>'),
|
||||
}
|
||||
end,
|
||||
}
|
|
@ -12,7 +12,7 @@ return {
|
|||
opts = {
|
||||
absolute_path = false, -- use absolute or relative path to the working directory
|
||||
apikey = '', -- Api key, required for online saving
|
||||
local_path = '/assets/imgs/', -- The path to put local files in, ex ~/Projects/<name>/assets/images/<imgname>.png
|
||||
local_path = '/attachments/', -- The path to put local files in, ex ~/Projects/<name>/assets/images/<imgname>.png
|
||||
save = 'local', -- Either 'local' or 'online' or 'local_file'
|
||||
filename = function()
|
||||
return vim.fn.expand '%:t:r' .. '_' .. os.date '%Y-%m-%d_%H-%M-%S'
|
||||
|
|
30
lua/custom/plugins/render-markdown.lua
Normal file
30
lua/custom/plugins/render-markdown.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
return {
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
opts = {},
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
config = function()
|
||||
require('render-markdown').setup {
|
||||
enabled = true,
|
||||
bullet = {
|
||||
right_pad = 1,
|
||||
},
|
||||
checkbox = {
|
||||
enabled = true,
|
||||
position = 'inline',
|
||||
unchecked = {
|
||||
icon = '👀',
|
||||
highlight = 'RenderMarkdownUnchecked',
|
||||
},
|
||||
checked = {
|
||||
icon = '✅',
|
||||
highlight = 'RenderMarkdownChecked',
|
||||
},
|
||||
custom = {
|
||||
doing = { raw = '[/]', rendered = '🔜', highlight = 'RenderMarkdownTodo' },
|
||||
cancelled = { raw = '[-]', rendered = '❌', highlight = 'RenderMarkdownBullet' },
|
||||
},
|
||||
},
|
||||
}
|
||||
vim.keymap.set('n', '<leader>rm', ':RenderMarkdown toggle<CR>', { silent = true })
|
||||
end,
|
||||
}
|
|
@ -1,7 +1,16 @@
|
|||
return {
|
||||
'zakissimo/smoji.nvim',
|
||||
-- config = function()
|
||||
-- require 'smoji'
|
||||
-- vim.keymap.set('n', '<Leader>em', '<CMD>Smoji<CR>')
|
||||
-- end,
|
||||
cmd = 'Smoji',
|
||||
keys = {
|
||||
{ '<leader><leader>e', '<cmd>Smoji<cr>', desc = 'Git [e]moji' },
|
||||
-- { '<C-e>', '<cmd>Smoji<cr>', desc = 'Git [e]moji', mode = 'i' },
|
||||
-- { '<C-e>', '<cmd>Smoji<cr>', desc = 'Git [e]moji', mode = 't' },
|
||||
},
|
||||
config = function()
|
||||
require 'smoji'
|
||||
vim.keymap.set('n', '<Leader>em', '<CMD>Smoji<CR>')
|
||||
end,
|
||||
}
|
||||
|
|
1
lua/custom/plugins/vim-markdown.lua
Normal file
1
lua/custom/plugins/vim-markdown.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'preservim/vim-markdown' }
|
6
lua/custom/plugins/wrapping.lua
Normal file
6
lua/custom/plugins/wrapping.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'andrewferrier/wrapping.nvim',
|
||||
config = function()
|
||||
require('wrapping').setup()
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue
Block a user