Unused Plugins removed, streamlined environment

This commit is contained in:
Thomas Naderer
2025-01-28 13:42:43 +01:00
parent 856c2fa7a1
commit 0453e7fef6
6 changed files with 148 additions and 78 deletions

View File

@@ -19,16 +19,6 @@ require('packer').startup(function(use)
})
-- }}}
-- {{{ Headlines for Markdown and TeX
use {
'lukas-reineke/headlines.nvim',
after = 'nvim-treesitter',
config = function()
require('headlines').setup()
end,
}
-- }}}
-- {{{ Nvim-Tree
use {
'nvim-tree/nvim-tree.lua',
@@ -67,6 +57,12 @@ require('packer').startup(function(use)
requires = { 'kyazdani42/nvim-web-devicons', opt = true } -- Optional icons
}
require('plugins.lualine')
-- Override background transparency with custom highlights
vim.cmd [[
highlight lualine_a_normal guibg=NONE
highlight lualine_b_normal guibg=NONE
highlight lualine_c_normal guibg=NONE
]]
-- }}}
-- {{{ HardTime
@@ -84,13 +80,6 @@ require('packer').startup(function(use)
use 'junegunn/fzf.vim'
-- }}}
-- {{{ Cool Startup Dashboard
use {
'glepnir/dashboard-nvim',
requires = { 'kyazdani42/nvim-web-devicons' }
}
-- }}}
-- {{{ Productivity
use 'numToStr/Comment.nvim'
use 'windwp/nvim-autopairs'
@@ -123,20 +112,48 @@ require('packer').startup(function(use)
use 'hrsh7th/cmp-nvim-lsp'
-- }}}
-- {{{ Telescope
use {
'nvim-telescope/telescope.nvim',
requires = { {'nvim-lua/plenary.nvim'} },
config = function()
-- Leader key mappings for Telescope
vim.api.nvim_set_keymap('n', '<leader>ff', ':Telescope find_files<CR>'
, { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>fg', ':Telescope live_grep<CR>',
{ noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>fb', ':Telescope buffers<CR>', {
noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>fh', ':Telescope help_tags<CR>',
{ noremap = true, silent = true })
end
}
-- {{{ Telescope
use {
'nvim-telescope/telescope.nvim',
requires = { {'nvim-lua/plenary.nvim'} },
config = function()
-- Leader key mappings for Telescope
vim.api.nvim_set_keymap('n', '<leader>ff', ':Telescope find_files<CR>'
, { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>fg', ':Telescope live_grep<CR>',
{ noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>fb', ':Telescope buffers<CR>', {
noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>fh', ':Telescope help_tags<CR>',
{ noremap = true, silent = true })
end
}
-- }}}
-- Yazi.nvim {{{
use({
"mikavilpas/yazi.nvim",
config = function()
require("yazi").setup({
open_for_directories = false,
keymaps = {
show_help = "<F1>",
},
})
end,
})
--- }}}
use {
'phaazon/hop.nvim',
branch = 'v2', -- optional but strongly recommended
config = function()
-- you can configure Hop the way you like here; see :h hop-config
require'hop'.setup { keys = 'etovxqpdygfblzhckisuran' }
end
}
end)
require'hop'.setup()