aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorNicholas Moore <nicholasvmoore@gmail.com>2025-10-29 07:40:12 -0500
committerGitHub <noreply@github.com>2025-10-29 07:40:12 -0500
commit3a3666a08b47121fb84b7b5f8d9514941be34760 (patch)
treed0e0b9ad67cd89478776e8d0118037f780504ac4 /nvim
parent45f088bb6c322ec6b9cfe2b07ff3230b20114280 (diff)
parent24019c96aac25f5bc71f464a175905bed500d14e (diff)
Merge pull request #1 from nicholasvmoore/feature/refactoring
Feature/refactoring
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/.nvmrc1
-rw-r--r--nvim/.config/nvim/.stylua.toml (renamed from nvim/.stylua.toml)0
-rw-r--r--nvim/.config/nvim/AGENTS.md27
-rw-r--r--nvim/.config/nvim/LICENSE.md (renamed from nvim/LICENSE.md)0
-rw-r--r--nvim/.config/nvim/README.md (renamed from nvim/README.md)0
-rw-r--r--nvim/.config/nvim/doc/kickstart.txt (renamed from nvim/doc/kickstart.txt)0
-rw-r--r--nvim/.config/nvim/doc/tags (renamed from nvim/doc/tags)0
-rw-r--r--nvim/.config/nvim/init.lua (renamed from nvim/init.lua)167
-rw-r--r--nvim/.config/nvim/lazy-lock.json30
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/doom-nvim.lua37
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/filetypes.lua15
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/harppon.lua37
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/headlines.lua5
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/init.lua (renamed from nvim/lua/custom/plugins/init.lua)0
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/lualine.lua16
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/remap.lua5
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/tinygo.lua8
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/toggleterm.lua21
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/vim-be-good.lua5
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/vim-sleuth.lua3
-rw-r--r--nvim/.config/nvim/lua/custom/plugins/which-key.lua3
-rw-r--r--nvim/.config/nvim/lua/kickstart/health.lua (renamed from nvim/lua/kickstart/health.lua)0
-rw-r--r--nvim/.config/nvim/lua/kickstart/plugins/autopairs.lua (renamed from nvim/lua/kickstart/plugins/autopairs.lua)0
-rw-r--r--nvim/.config/nvim/lua/kickstart/plugins/debug.lua (renamed from nvim/lua/kickstart/plugins/debug.lua)0
-rw-r--r--nvim/.config/nvim/lua/kickstart/plugins/gitsigns.lua (renamed from nvim/lua/kickstart/plugins/gitsigns.lua)0
-rw-r--r--nvim/.config/nvim/lua/kickstart/plugins/indent_line.lua (renamed from nvim/lua/kickstart/plugins/indent_line.lua)0
-rw-r--r--nvim/.config/nvim/lua/kickstart/plugins/lint.lua (renamed from nvim/lua/kickstart/plugins/lint.lua)0
-rw-r--r--nvim/.config/nvim/lua/kickstart/plugins/neo-tree.lua (renamed from nvim/lua/kickstart/plugins/neo-tree.lua)0
-rw-r--r--nvim/lazy-lock.json26
29 files changed, 238 insertions, 168 deletions
diff --git a/nvim/.config/nvim/.nvmrc b/nvim/.config/nvim/.nvmrc
new file mode 100644
index 0000000..1a2f5bd
--- /dev/null
+++ b/nvim/.config/nvim/.nvmrc
@@ -0,0 +1 @@
+lts/* \ No newline at end of file
diff --git a/nvim/.stylua.toml b/nvim/.config/nvim/.stylua.toml
index 139e939..139e939 100644
--- a/nvim/.stylua.toml
+++ b/nvim/.config/nvim/.stylua.toml
diff --git a/nvim/.config/nvim/AGENTS.md b/nvim/.config/nvim/AGENTS.md
new file mode 100644
index 0000000..9a4708c
--- /dev/null
+++ b/nvim/.config/nvim/AGENTS.md
@@ -0,0 +1,27 @@
+# Agent Guidelines for Neovim Configuration
+
+## Build/Test/Lint Commands
+- No build commands - this is a Neovim configuration
+- Format Lua code: `stylua .` (uses `.stylua.toml` config)
+- No test suite - configuration only
+
+## Code Style & Conventions
+- **Language**: Lua for all configuration files
+- **Formatting**: Use `stylua` with 2-space indentation, Unix line endings
+- **Imports**: Use `require('module')` syntax, prefer local assignments
+- **Comments**: Use `--` for single-line, `--[[]]` for multi-line blocks
+- **Naming**: snake_case for variables/functions, prefer descriptive names
+- **Plugin loading**: Use lazy.nvim format with proper dependencies
+- **Settings**: Use `vim.opt` for options, `vim.keymap.set` for keymaps
+
+## Project Structure
+- `init.lua`: Main configuration entry point (single-file approach)
+- `lua/custom/plugins/`: Custom plugin configurations
+- `lua/kickstart/plugins/`: Kickstart-provided plugin configs
+- `.stylua.toml`: Lua formatting configuration
+
+## Key Patterns
+- Leader key is `<space>` (vim.g.mapleader)
+- Plugin specs in table format with dependencies/opts/config
+- LSP configuration via mason + lspconfig pattern
+- Autocommands use `nvim_create_autocmd` with proper groups \ No newline at end of file
diff --git a/nvim/LICENSE.md b/nvim/.config/nvim/LICENSE.md
index 9cf1062..9cf1062 100644
--- a/nvim/LICENSE.md
+++ b/nvim/.config/nvim/LICENSE.md
diff --git a/nvim/README.md b/nvim/.config/nvim/README.md
index 8ace8b9..8ace8b9 100644
--- a/nvim/README.md
+++ b/nvim/.config/nvim/README.md
diff --git a/nvim/doc/kickstart.txt b/nvim/.config/nvim/doc/kickstart.txt
index cb87ac3..cb87ac3 100644
--- a/nvim/doc/kickstart.txt
+++ b/nvim/.config/nvim/doc/kickstart.txt
diff --git a/nvim/doc/tags b/nvim/.config/nvim/doc/tags
index 687ae77..687ae77 100644
--- a/nvim/doc/tags
+++ b/nvim/.config/nvim/doc/tags
diff --git a/nvim/init.lua b/nvim/.config/nvim/init.lua
index eb9e9f5..39c445a 100644
--- a/nvim/init.lua
+++ b/nvim/.config/nvim/init.lua
@@ -1,87 +1,5 @@
--[[
-
-=====================================================================
-==================== READ THIS BEFORE CONTINUING ====================
-=====================================================================
-======== .-----. ========
-======== .----------------------. | === | ========
-======== |.-""""""""""""""""""-.| |-----| ========
-======== || || | === | ========
-======== || KICKSTART.NVIM || |-----| ========
-======== || || | === | ========
-======== || || |-----| ========
-======== ||:Tutor || |:::::| ========
-======== |'-..................-'| |____o| ========
-======== `"")----------------(""` ___________ ========
-======== /::::::::::| |::::::::::\ \ no mouse \ ========
-======== /:::========| |==hjkl==:::\ \ required \ ========
-======== '""""""""""""' '""""""""""""' '""""""""""' ========
-======== ========
-=====================================================================
-=====================================================================
-
-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:
-
- TODO: The very first thing you should do is to run the command `:Tutor` in Neovim.
-
- If you don't know what this means, type the following:
- - <escape key>
- - :
- - Tutor
- - <enter key>
-
- (If you already know the Neovim basics, you can skip this step.)
-
- Once you've completed that, you can continue working through **AND READING** the rest
- of the kickstart init.lua.
-
- Next, run AND 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.
-
- NOTE: Look for lines like this
-
- Throughout the file. These are for you, the reader, to help you understand what is happening.
- Feel free to delete them once you know what you're doing, but they should serve as a guide
- for when you are first encountering a few different constructs in your Neovim config.
-
-If you experience any errors while trying to install kickstart, run `:checkhealth` for more info.
-
-I hope you enjoy your Neovim journey,
-- TJ
-
-P.S. You can delete this when you're done too. It's your config now! :)
+-- Setup initial configuration
--]]
-- Set <space> as the leader key
@@ -161,6 +79,9 @@ vim.opt.scrolloff = 10
-- See `:help 'confirm'`
vim.opt.confirm = true
+-- Set the column width to 80 to match coding conventions
+vim.opt.colorcolumn = '120'
+
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`
@@ -194,12 +115,6 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
--- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes
--- vim.keymap.set("n", "<C-S-h>", "<C-w>H", { desc = "Move window to the left" })
--- vim.keymap.set("n", "<C-S-l>", "<C-w>L", { desc = "Move window to the right" })
--- vim.keymap.set("n", "<C-S-j>", "<C-w>J", { desc = "Move window to the lower" })
--- vim.keymap.set("n", "<C-S-k>", "<C-w>K", { desc = "Move window to the upper" })
-
-- [[ Basic Autocommands ]]
-- See `:help lua-guide-autocommands`
@@ -239,8 +154,9 @@ vim.opt.rtp:prepend(lazypath)
-- NOTE: Here is where you install your plugins.
require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
- 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
- 'ThePrimeagen/vim-be-good',
+ -- 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
+ -- 'ThePrimeagen/vim-be-good',
+ -- { 'akinsho/toggleterm.nvim', version = '*', config = true },
-- NOTE: Plugins can also be added by using a table,
-- with the first argument being the link and the following
-- keys can be used to configure plugin behavior/loading/etc.
@@ -399,12 +315,18 @@ require('lazy').setup({
-- You can put your default mappings / updates / etc. in here
-- All the info you're looking for is in `:help telescope.setup()`
--
- -- defaults = {
- -- mappings = {
- -- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
- -- },
- -- },
- -- pickers = {}
+ defaults = {
+ vimgrep_arguments = {
+ 'rg',
+ '--color=never',
+ '--no-heading',
+ '--with-filename',
+ '--line-number',
+ '--column',
+ '--smart-case',
+ '--hidden',
+ },
+ },
extensions = {
['ui-select'] = {
require('telescope.themes').get_dropdown(),
@@ -420,7 +342,9 @@ require('lazy').setup({
local builtin = require 'telescope.builtin'
vim.keymap.set('n', '<leader>sh', builtin.help_tags, { desc = '[S]earch [H]elp' })
vim.keymap.set('n', '<leader>sk', builtin.keymaps, { desc = '[S]earch [K]eymaps' })
- vim.keymap.set('n', '<leader>sf', builtin.find_files, { desc = '[S]earch [F]iles' })
+ vim.keymap.set('n', '<leader>sf', function()
+ builtin.find_files { hidden = true }
+ end, { desc = '[S]earch [F]iles' })
vim.keymap.set('n', '<leader>ss', builtin.builtin, { desc = '[S]earch [S]elect Telescope' })
vim.keymap.set('n', '<leader>sw', builtin.grep_string, { desc = '[S]earch current [W]ord' })
vim.keymap.set('n', '<leader>sg', builtin.live_grep, { desc = '[S]earch by [G]rep' })
@@ -715,6 +639,7 @@ require('lazy').setup({
'pylsp',
'bashls',
'jinja_lsp',
+ 'clangd',
})
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
@@ -875,34 +800,6 @@ require('lazy').setup({
signature = { enabled = true },
},
},
-
- { -- You can easily change to a different colorscheme.
- -- Change the name of the colorscheme plugin below, and then
- -- change the command in the config to whatever the name of that colorscheme is.
- --
- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
- 'rose-pine/neovim',
- name = 'rose-pine',
- config = function()
- -- vim.cmd 'colorscheme rose-pine-moon'
- end,
- },
- {
- 'catppuccin/nvim',
- name = 'catppuccin',
- priority = 1000,
- config = function()
- require('catppuccin').setup {
- flavour = 'macchiato',
- transparent_background = true,
- integrations = {
- notify = true,
- },
- }
- vim.cmd 'colorscheme catppuccin'
- end,
- },
-
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
@@ -949,7 +846,7 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = {
- ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
+ ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'python', 'go' },
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {
@@ -989,7 +886,7 @@ require('lazy').setup({
-- This is the easiest way to modularize your config.
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
- -- { import = 'custom.plugins' },
+ { import = 'custom.plugins' },
--
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!
@@ -1017,19 +914,5 @@ require('lazy').setup({
},
})
-vim.filetype.add {
- extension = {
- yml = 'yaml.ansible',
- },
-}
-
-vim.filetype.add {
- extension = {
- jinja = 'jinja',
- jinja2 = 'jinja',
- j2 = 'jinja',
- },
-}
-
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et
diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json
new file mode 100644
index 0000000..1b9afbf
--- /dev/null
+++ b/nvim/.config/nvim/lazy-lock.json
@@ -0,0 +1,30 @@
+{
+ "LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
+ "blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
+ "conform.nvim": { "branch": "master", "commit": "9fd3d5e0b689ec1bf400c53cbbec72c6fdf24081" },
+ "doom-one.nvim": { "branch": "main", "commit": "beae92173315c7282f6897e666cfd67fbf0f3ac9" },
+ "fidget.nvim": { "branch": "main", "commit": "e32b672d8fd343f9d6a76944fedb8c61d7d8111a" },
+ "gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" },
+ "harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
+ "headlines.nvim": { "branch": "master", "commit": "bf17c96a836ea27c0a7a2650ba385a7783ed322e" },
+ "lazy.nvim": { "branch": "main", "commit": "f0f5bbb9e5bfae5e6468f9359ffea3d151418176" },
+ "lazydev.nvim": { "branch": "main", "commit": "c2dfe354571a8255c5d3e96a9a4c297c89ce2347" },
+ "lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
+ "mason-lspconfig.nvim": { "branch": "main", "commit": "35ec9e1425c2f9a36f556893336af4f302c63214" },
+ "mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
+ "mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
+ "mini.nvim": { "branch": "main", "commit": "ee4a4a4abed25e3d108d985b0553c5271f2f71aa" },
+ "nvim-lint": { "branch": "master", "commit": "9da1fb942dd0668d5182f9c8dee801b9c190e2bb" },
+ "nvim-lspconfig": { "branch": "master", "commit": "cbd1e91296189a765094810de1b71a04e2597579" },
+ "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
+ "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
+ "telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
+ "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
+ "telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
+ "tinygo.nvim": { "branch": "main", "commit": "5c097bba3e6dd5ebb5b52001e1e9cfba0c81849d" },
+ "todo-comments.nvim": { "branch": "main", "commit": "411503d3bedeff88484de572f2509c248e499b38" },
+ "toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
+ "vim-be-good": { "branch": "master", "commit": "0ae3de14eb8efc6effe7704b5e46495e91931cc5" },
+ "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
+ "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/doom-nvim.lua b/nvim/.config/nvim/lua/custom/plugins/doom-nvim.lua
new file mode 100644
index 0000000..ef3d14a
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/doom-nvim.lua
@@ -0,0 +1,37 @@
+return {
+ 'NTBBloodbath/doom-one.nvim',
+ config = function()
+ -- Add color to cursor
+ vim.g.doom_one_cursor_coloring = true
+ -- Set :terminal colors
+ vim.g.doom_one_terminal_colors = true
+ -- Enable italic comments
+ vim.g.doom_one_italic_comments = false
+ -- Enable TS support
+ vim.g.doom_one_enable_treesitter = true
+ -- Color whole diagnostic text or only underline
+ vim.g.doom_one_diagnostics_text_color = false
+ -- Enable transparent background
+ vim.g.doom_one_transparent_background = false
+
+ -- Pumblend transparency
+ vim.g.doom_one_pumblend_enable = false
+ vim.g.doom_one_pumblend_transparency = 20
+
+ -- Plugins integration
+ vim.g.doom_one_plugin_neorg = true
+ vim.g.doom_one_plugin_barbar = false
+ vim.g.doom_one_plugin_telescope = false
+ vim.g.doom_one_plugin_neogit = true
+ vim.g.doom_one_plugin_nvim_tree = true
+ vim.g.doom_one_plugin_dashboard = true
+ vim.g.doom_one_plugin_startify = true
+ vim.g.doom_one_plugin_whichkey = true
+ vim.g.doom_one_plugin_indent_blankline = true
+ vim.g.doom_one_plugin_vim_illuminate = true
+ vim.g.doom_one_plugin_lspsaga = false
+
+ -- Load the colorscheme
+ vim.cmd.colorscheme 'doom-one'
+ end,
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/filetypes.lua b/nvim/.config/nvim/lua/custom/plugins/filetypes.lua
new file mode 100644
index 0000000..73c99f2
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/filetypes.lua
@@ -0,0 +1,15 @@
+return {
+ vim.filetype.add {
+ extension = {
+ yml = 'yaml.ansible',
+ },
+ },
+
+ vim.filetype.add {
+ extension = {
+ jinja = 'jinja',
+ jinja2 = 'jinja',
+ j2 = 'jinja',
+ },
+ },
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/harppon.lua b/nvim/.config/nvim/lua/custom/plugins/harppon.lua
new file mode 100644
index 0000000..1fc29bb
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/harppon.lua
@@ -0,0 +1,37 @@
+return {
+ {
+ 'ThePrimeagen/harpoon',
+ branch = 'harpoon2',
+ dependencies = { 'nvim-lua/plenary.nvim' },
+ config = function()
+ local harpoon = require 'harpoon'
+ harpoon:setup()
+ vim.keymap.set('n', '<leader>a', function()
+ harpoon:list():add()
+ end)
+ vim.keymap.set('n', '<C-e>', function()
+ harpoon.ui:toggle_quick_menu(harpoon:list())
+ end)
+ vim.keymap.set('n', '<leader>1', function()
+ harpoon:list():select(1)
+ end)
+ vim.keymap.set('n', '<leader>2', function()
+ harpoon:list():select(2)
+ end)
+ vim.keymap.set('n', '<leader>3', function()
+ harpoon:list():select(3)
+ end)
+ vim.keymap.set('n', '<leader>4', function()
+ harpoon:list():select(4)
+ end)
+
+ -- Toggle previous & next buffers stored within Harpoon list
+ vim.keymap.set('n', '<C-S-P>', function()
+ harpoon:list():prev()
+ end)
+ vim.keymap.set('n', '<C-S-N>', function()
+ harpoon:list():next()
+ end)
+ end,
+ },
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/headlines.lua b/nvim/.config/nvim/lua/custom/plugins/headlines.lua
new file mode 100644
index 0000000..9555327
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/headlines.lua
@@ -0,0 +1,5 @@
+return {
+ 'lukas-reineke/headlines.nvim',
+ dependencies = 'nvim-treesitter/nvim-treesitter',
+ config = true, -- or `opts = {}`
+}
diff --git a/nvim/lua/custom/plugins/init.lua b/nvim/.config/nvim/lua/custom/plugins/init.lua
index be0eb9d..be0eb9d 100644
--- a/nvim/lua/custom/plugins/init.lua
+++ b/nvim/.config/nvim/lua/custom/plugins/init.lua
diff --git a/nvim/.config/nvim/lua/custom/plugins/lualine.lua b/nvim/.config/nvim/lua/custom/plugins/lualine.lua
new file mode 100644
index 0000000..23ea0a0
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/lualine.lua
@@ -0,0 +1,16 @@
+return {
+ {
+ 'nvim-lualine/lualine.nvim',
+ dependencies = {
+ 'nvim-tree/nvim-web-devicons',
+ },
+ config = function()
+ require('lualine').setup {
+ options = {
+ icons_enabled = true,
+ theme = 'moonfly',
+ },
+ }
+ end,
+ },
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/remap.lua b/nvim/.config/nvim/lua/custom/plugins/remap.lua
new file mode 100644
index 0000000..367d21c
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/remap.lua
@@ -0,0 +1,5 @@
+return {
+ -- Scroll by half page and keep cursor in middle
+ vim.keymap.set('n', '<C-d>', '<C-d>zz'),
+ vim.keymap.set('n', '<C-u>', '<C-u>zz'),
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/tinygo.lua b/nvim/.config/nvim/lua/custom/plugins/tinygo.lua
new file mode 100644
index 0000000..8115326
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/tinygo.lua
@@ -0,0 +1,8 @@
+return {
+ {
+ 'pcolladosoto/tinygo.nvim',
+ config = function()
+ require('tinygo').setup()
+ end,
+ },
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/toggleterm.lua b/nvim/.config/nvim/lua/custom/plugins/toggleterm.lua
new file mode 100644
index 0000000..c5a32c0
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/toggleterm.lua
@@ -0,0 +1,21 @@
+return {
+ {
+ 'akinsho/toggleterm.nvim',
+ version = '*',
+ opts = {
+ start_in_insert = true,
+ persistent_mode = false,
+ shell = vim.o.shell,
+ auto_scroll = true,
+
+ -- Float options
+ float_opts = {
+ border = 'single',
+ title_pos = 'center',
+ },
+
+ -- Bindings
+ vim.keymap.set('n', '<leader>`', ':ToggleTerm direction=float<cr>', { desc = 'Open a floating terminal' }),
+ },
+ },
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/vim-be-good.lua b/nvim/.config/nvim/lua/custom/plugins/vim-be-good.lua
new file mode 100644
index 0000000..7e5c709
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/vim-be-good.lua
@@ -0,0 +1,5 @@
+return {
+ {
+ 'ThePrimeagen/vim-be-good',
+ },
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/vim-sleuth.lua b/nvim/.config/nvim/lua/custom/plugins/vim-sleuth.lua
new file mode 100644
index 0000000..123ac6a
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/vim-sleuth.lua
@@ -0,0 +1,3 @@
+return {
+ { 'tpope/vim-sleuth' }, -- Detect tabstop and shiftwidth automatically
+}
diff --git a/nvim/.config/nvim/lua/custom/plugins/which-key.lua b/nvim/.config/nvim/lua/custom/plugins/which-key.lua
new file mode 100644
index 0000000..1f73adc
--- /dev/null
+++ b/nvim/.config/nvim/lua/custom/plugins/which-key.lua
@@ -0,0 +1,3 @@
+return {
+ -- { 'folke/which-key.nvim' },
+}
diff --git a/nvim/lua/kickstart/health.lua b/nvim/.config/nvim/lua/kickstart/health.lua
index b59d086..b59d086 100644
--- a/nvim/lua/kickstart/health.lua
+++ b/nvim/.config/nvim/lua/kickstart/health.lua
diff --git a/nvim/lua/kickstart/plugins/autopairs.lua b/nvim/.config/nvim/lua/kickstart/plugins/autopairs.lua
index 386d392..386d392 100644
--- a/nvim/lua/kickstart/plugins/autopairs.lua
+++ b/nvim/.config/nvim/lua/kickstart/plugins/autopairs.lua
diff --git a/nvim/lua/kickstart/plugins/debug.lua b/nvim/.config/nvim/lua/kickstart/plugins/debug.lua
index 753cb0c..753cb0c 100644
--- a/nvim/lua/kickstart/plugins/debug.lua
+++ b/nvim/.config/nvim/lua/kickstart/plugins/debug.lua
diff --git a/nvim/lua/kickstart/plugins/gitsigns.lua b/nvim/.config/nvim/lua/kickstart/plugins/gitsigns.lua
index cbbd22d..cbbd22d 100644
--- a/nvim/lua/kickstart/plugins/gitsigns.lua
+++ b/nvim/.config/nvim/lua/kickstart/plugins/gitsigns.lua
diff --git a/nvim/lua/kickstart/plugins/indent_line.lua b/nvim/.config/nvim/lua/kickstart/plugins/indent_line.lua
index ed7f269..ed7f269 100644
--- a/nvim/lua/kickstart/plugins/indent_line.lua
+++ b/nvim/.config/nvim/lua/kickstart/plugins/indent_line.lua
diff --git a/nvim/lua/kickstart/plugins/lint.lua b/nvim/.config/nvim/lua/kickstart/plugins/lint.lua
index 907c6bf..907c6bf 100644
--- a/nvim/lua/kickstart/plugins/lint.lua
+++ b/nvim/.config/nvim/lua/kickstart/plugins/lint.lua
diff --git a/nvim/lua/kickstart/plugins/neo-tree.lua b/nvim/.config/nvim/lua/kickstart/plugins/neo-tree.lua
index bd44226..bd44226 100644
--- a/nvim/lua/kickstart/plugins/neo-tree.lua
+++ b/nvim/.config/nvim/lua/kickstart/plugins/neo-tree.lua
diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json
deleted file mode 100644
index 26a1357..0000000
--- a/nvim/lazy-lock.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
- "blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" },
- "catppuccin": { "branch": "main", "commit": "1bf070129c0b6f77cc23f6a2212dcdc868308c52" },
- "conform.nvim": { "branch": "master", "commit": "6632e7d788a85bf8405ea0c812d343fc308b7b8c" },
- "fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
- "gitsigns.nvim": { "branch": "main", "commit": "d600d3922c1d001422689319a8f915136bb64e1e" },
- "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
- "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
- "mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
- "mason-tool-installer.nvim": { "branch": "main", "commit": "1255518cb067e038a4755f5cb3e980f79b6ab89c" },
- "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
- "mini.nvim": { "branch": "main", "commit": "a8b1d74f45dadf3554c0eed784c6ccd8ade67883" },
- "nvim-lint": { "branch": "master", "commit": "d698d3b6fd7b1b85657d05a2a31d843ddb682c63" },
- "nvim-lspconfig": { "branch": "master", "commit": "c40a2dca6e4a4f4af262375dcb71692882b6122c" },
- "nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" },
- "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
- "rose-pine": { "branch": "main", "commit": "491a0c77abc7ecb955c27a974091a5968232995f" },
- "telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
- "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
- "telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
- "todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
- "vim-be-good": { "branch": "master", "commit": "0ae3de14eb8efc6effe7704b5e46495e91931cc5" },
- "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
- "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
-}