add a variety of new plugins

This commit is contained in:
Slayter Teal 2024-08-29 15:36:37 -05:00
parent 0a05725d56
commit 2c359ed561
2 changed files with 38 additions and 273 deletions

View file

@ -1,42 +1,3 @@
--[[
What is Kickstart?
Kickstart.nvim is *not* a distribution.
Kickstart.nvim is a starting point for your own configuration.
The goal is that you can read every line of code, top-to-bottom, understand
what your configuration is doing, and modify it to suit your needs.
Once you've done that, you can start exploring, configuring and tinkering to
make Neovim your own! That might mean leaving Kickstart just the way it is for a while
or immediately breaking it into modular pieces. It's up to you!
If you don't know anything about Lua, I recommend taking some time to read through
a guide. One possible example which will only take 10-15 minutes:
- https://learnxinyminutes.com/docs/lua/
After understanding a bit more about Lua, you can use `:help lua-guide` as a
reference for how Neovim integrates Lua.
- :help lua-guide
- (or HTML version): https://neovim.io/doc/user/lua-guide.html
Kickstart Guide:
READ `:help`.
This will open up a help window with some basic information
about reading, navigating and searching the builtin help documentation.
This should be the first place you go to look when you're stuck or confused
with something. It's one of my favorite Neovim features.
MOST IMPORTANTLY, we provide a keymap "<space>sh" to [s]earch the [h]elp documentation,
which is very useful when you're not exactly sure of what you're looking for.
I have left several `:help X` comments throughout the init.lua
These are hints about where to find more information about the relevant settings,
plugins or Neovim features used in Kickstart.
--]]
-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
@ -832,13 +793,43 @@ require('lazy').setup({
vim.keymap.set('n', '<leader>0', ':NvimTreeToggle<CR>', { silent = true })
end,
},
{
'tiagovla/scope.nvim',
},
-- PLUGIN: tabs-tab-management with Tabby
-- {
-- 'nanozuki/tabby.nvim',
-- -- event = 'VimEnter', -- if you want lazy load, see below
-- dependencies = 'nvim-tree/nvim-web-devicons',
-- config = function()
-- -- configs...
-- end,
-- },
-- PLUGIN: File browsing via telescope
{
'nvim-telescope/telescope-file-browser.nvim',
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
config = function()
require('telescope').setup {
extensions = {
file_browser = {
hijack_netrw = true,
},
},
}
end,
-- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
-- init.lua. If you want these files, they are in the repository, so you can just download them and
-- place them in the correct locations.
vim.keymap.set('n', '<space>fb', '<cmd>Telescope file_browser<CR>', { noremap = true }),
},
-- PLUGIN: auto-close
-- Handles auto closing brackets when the opening one is typed
{
'm4xshen/autoclose.nvim',
config = function()
require('autoclose').setup {}
end,
},
-- NOTE: Next step on your Neovim journey: Add/Configure additional plugins for Kickstart
--
-- Here are some example plugins that I've included in the Kickstart repository.
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
--
@ -848,7 +839,7 @@ require('lazy').setup({
-- require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
--
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config.
--