introducing benvim

This commit is contained in:
Benjamin Kyd
2023-01-30 14:40:21 +00:00
parent fcb22a9312
commit ab1d5ec425
10 changed files with 449 additions and 92 deletions

View File

@@ -12,8 +12,7 @@ local packer = require('packer').startup(function(use)
-- Packer should manage itself
use 'wbthomason/packer.nvim'
-- colorscheme
use 'drewtempelmeyer/palenight.vim'
-- QUALITY OF LIFE INTEGRATIONS
-- git integration
use {
@@ -22,21 +21,75 @@ local packer = require('packer').startup(function(use)
'nvim-lua/plenary.nvim'
}
}
-- telescope - searching / navigation
use {
'nvim-telescope/telescope.nvim',
requires = { {'nvim-lua/plenary.nvim'} }
}
-- better hotfix window (for showing and searching through results in telescope's find usages)
use {"kevinhwang91/nvim-bqf"}
-- better highlighting
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
-- gorbit's codewindow
use 'gorbit99/codewindow.nvim'
-- surround vim
use 'tpope/vim-surround'
-- nerd commenter
use 'scrooloose/nerdcommenter'
-- nice diagnostic pane on the bottom
use 'folke/lsp-trouble.nvim'
-- support the missing lsp diagnostic colors
use 'folke/lsp-colors.nvim'
-- better LSP UI (for code actions, rename etc.)
use 'tami5/lspsaga.nvim'
-- better find and replace
use 'nvim-lua/plenary.nvim'
use 'windwp/nvim-spectre'
-- VISUAL CHANGES
-- start page
use 'echasnovski/mini.starter'
-- status line
use 'glepnir/galaxyline.nvim'
-- show recent files on empty nvim command
use 'mhinz/vim-startify'
-- colorscheme
use { 'catppuccin/nvim', as = 'catppuccin' }
-- nicer looking tab display
use 'lukas-reineke/indent-blankline.nvim'
use 'echasnovski/mini.indentscope'
-- show startup time
use 'dstein64/vim-startuptime'
use 'kyazdani42/nvim-web-devicons'
-- UX improvements
use({
"folke/noice.nvim",
requires = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
}
})
use 'stevearc/dressing.nvim'
use 'rcarriga/nvim-notify'
-- FUNCTIONAL CODING STUFF
-- lsp config
use {
@@ -55,42 +108,6 @@ local packer = require('packer').startup(function(use)
use 'hrsh7th/cmp-vsnip'
use 'hrsh7th/vim-vsnip'
-- TODO: prettify telescope vim, make it use regex & shorten the window
-- telescope - searching / navigation
use {
'nvim-telescope/telescope.nvim',
requires = { {'nvim-lua/plenary.nvim'} }
}
-- better hotfix window (for showing and searching through results in telescope's find usages)
-- TODO: learn how to use?
use {"kevinhwang91/nvim-bqf"}
-- better highlighting
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
use 'kyazdani42/nvim-web-devicons'
-- use {
-- 'kyazdani42/nvim-tree.lua',
-- requires = 'kyazdani42/nvim-web-devicons',
-- config = function() require'nvim-tree'.setup {} end
-- }
-- prettier tabs
--use 'romgrk/barbar.nvim'
-- nice diagnostic pane on the bottom
use 'folke/lsp-trouble.nvim'
-- support the missing lsp diagnostic colors
use 'folke/lsp-colors.nvim'
-- better LSP UI (for code actions, rename etc.)
use 'tami5/lspsaga.nvim'
-- show indentation levels
use 'lukas-reineke/indent-blankline.nvim'
-- highlight variables under cursor
use 'RRethy/vim-illuminate'
@@ -101,17 +118,29 @@ local packer = require('packer').startup(function(use)
end
end)
-- small plugin pre-init goes here
require("indent_blankline").setup {
char = "",
filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" },
--show_current_context = true,
--show_current_context_start = true,
}
require('mini.indentscope').setup({
symbol = "",
options = { try_as_border = true },
})
-- plugin specific configs go here
require('plugin-config/nvim-cmp')
require('plugin-config/telescope')
-- require('plugin-config/nvim-tree')
require('plugin-config/nvim-treesitter')
--require('plugin-config/,c barbar')
require('plugin-config/lsp-colors')
require('plugin-config/lsp-trouble')
require('plugin-config/lspsaga')
require('plugin-config/galaxyline')
require('plugin-config/gitsigns')
require('plugin-config/indent-guide-lines')
require('plugin-config/dressing')
require('plugin-config/noice')
require('plugin-config/ministarter')
return packer