my config
This commit is contained in:
parent
94f551b803
commit
dece0f088a
15 changed files with 189 additions and 424 deletions
9
lua/custom/plugins/eldritch.lua
Normal file
9
lua/custom/plugins/eldritch.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
'eldritch-theme/eldritch.nvim',
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
vim.cmd [[colorscheme eldritch]]
|
||||
end,
|
||||
}
|
||||
13
lua/custom/plugins/harpoon.lua
Normal file
13
lua/custom/plugins/harpoon.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
'ThePrimeagen/harpoon',
|
||||
version = '*',
|
||||
config = function()
|
||||
require('telescope').load_extension 'harpoon'
|
||||
|
||||
local mark = require 'harpoon.mark'
|
||||
local ui = require 'harpoon.ui'
|
||||
|
||||
vim.keymap.set('n', '<leader>a', mark.add_file)
|
||||
vim.keymap.set('n', '<C-e>', ui.toggle_quick_menu)
|
||||
end,
|
||||
}
|
||||
9
lua/custom/plugins/hologram.lua
Normal file
9
lua/custom/plugins/hologram.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
'edluffy/hologram.nvim',
|
||||
version = '*',
|
||||
config = function()
|
||||
require('hologram').setup {
|
||||
auto_display = true,
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
@ -1,5 +1 @@
|
|||
-- 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 {}
|
||||
|
|
|
|||
17
lua/custom/plugins/obsidian.lua
Normal file
17
lua/custom/plugins/obsidian.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
'epwalsh/obsidian.nvim',
|
||||
version = '*',
|
||||
lazy = true,
|
||||
ft = 'markdown',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
opts = {
|
||||
workspaces = {
|
||||
{
|
||||
name = 'personal',
|
||||
path = '~/vaults/personal',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
6
lua/custom/plugins/telescope-git-branch.lua
Normal file
6
lua/custom/plugins/telescope-git-branch.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'mrloop/telescope-git-branch.nvim',
|
||||
config = function()
|
||||
require('telescope').load_extension 'git_branch'
|
||||
end,
|
||||
}
|
||||
15
lua/custom/plugins/treesitter.lua
Normal file
15
lua/custom/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
version = '*',
|
||||
config = function()
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { 'c', 'lua', 'markdown', 'cmake' },
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
37
lua/custom/plugins/trouble.lua
Normal file
37
lua/custom/plugins/trouble.lua
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
return {
|
||||
'folke/trouble.nvim',
|
||||
opts = {},
|
||||
cmd = 'Trouble',
|
||||
keys = {
|
||||
{
|
||||
'<leader>xx',
|
||||
'<cmd>Trouble diagnostics toggle<CR>',
|
||||
desc = 'Diagnostics (Trouble)',
|
||||
},
|
||||
{
|
||||
'<leader>xX',
|
||||
'<cmd>Trouble diagnostics toggle filter.buf=0<cr>',
|
||||
desc = 'Buffer Diagnostics (Trouble)',
|
||||
},
|
||||
{
|
||||
'<leader>cs',
|
||||
'<cmd>Trouble symbols toggle focus=false<cr>',
|
||||
desc = 'Symbols (Trouble)',
|
||||
},
|
||||
{
|
||||
'<leader>cl',
|
||||
'<cmd>Trouble lsp toggle focus=false win.position=right<cr>',
|
||||
desc = 'LSP Definitions / references / ... (Trouble)',
|
||||
},
|
||||
{
|
||||
'<leader>xL',
|
||||
'<cmd>Trouble loclist toggle<cr>',
|
||||
desc = 'Location List (Trouble)',
|
||||
},
|
||||
{
|
||||
'<leader>xQ',
|
||||
'<cmd>Trouble qflist toggle<cr>',
|
||||
desc = 'Quickfix List (Trouble)',
|
||||
},
|
||||
},
|
||||
}
|
||||
8
lua/custom/plugins/undotree.lua
Normal file
8
lua/custom/plugins/undotree.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
'mbbill/undotree',
|
||||
version = '*',
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.keymap.set('n', '<leader><F5>', vim.cmd.UndotreeToggle)
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue