Compare commits

..

45 Commits

Author SHA1 Message Date
venus
976501e9d8 added telescope keybinds 2026-06-17 11:43:30 -05:00
venus
69b825c35f moved telescope file 2026-06-17 11:34:15 -05:00
venus
24babf0be9 working on adding shortcuts for telescope searching 2026-06-17 11:33:28 -05:00
venus
552b3e1a79 Implemented chat and inline functionality with codecompanion!! 2026-06-06 01:56:41 -05:00
venus
b056fe2097 trying to get AI integration to work :( 2026-06-05 03:12:43 -05:00
venus
fdb7cc83d1 adding support for codecompanion! 2026-06-05 02:44:15 -05:00
venus
16e7916672 moved gitsigns out of lsp config 2026-06-02 01:37:32 -05:00
venus
bbed1e2083 added functionality to easily replay last command 2026-06-02 01:36:34 -05:00
venus
07940444c9 actually added keybind lol 2026-06-02 00:47:27 -05:00
venus
0e76ac466d added keybind to refresh current config page without restarting nvim 2026-06-02 00:45:28 -05:00
venus
e7c8b3f9cd patched autocommand issue, simplifying lsp setup 2026-06-01 22:36:15 -05:00
venus
b427c4f09f modified commit message type for neogit 2026-05-31 20:45:22 -05:00
venus
56622a860c added keybinds and modified neogit for more useability 2026-05-31 20:41:39 -05:00
venus
2fe6a440b7 added some custom fucntions and a new api 2026-05-31 19:46:05 -05:00
venus
ccbebb5ceb Working on Neogit keybind integration, plus other changes 2026-05-31 19:45:22 -05:00
venus
85d4c44b31 added some plugions 2026-05-22 05:43:19 -05:00
venus
3882f7f805 neoburner support sorta, and hex editors for re 2026-04-25 11:53:20 -05:00
venus
3a85cfd58f disabled hardtime 2026-04-14 15:06:25 -05:00
venus
528e601702 added jq plugin 2026-04-10 18:30:11 -05:00
venus
6c333586fd added some plugins from the reddit 2026-04-06 22:25:21 -05:00
venus
5f387b0f7f log syntax highligh plugin 2026-04-01 22:01:14 -05:00
venus
66b8d10aea removed hexdump 2026-04-01 01:59:18 -05:00
venus
84294ac88d tested hexdump, sort of working 2026-04-01 01:52:20 -05:00
venus
69a847d43c added hexeditor, not tested 2026-04-01 01:46:48 -05:00
venus
5f35501f68 image support with snacks 2026-03-25 11:28:59 -05:00
venus
405659af0a updated spellcheck with keybinds and default off on most filetypes 2026-03-25 11:02:49 -05:00
venus
eec1f820fc updated spellcheck 2026-03-25 10:44:31 -05:00
venus
44811bbfcd grammar support for spellecehcker 2026-03-24 22:27:47 -05:00
venus
6659e4a691 adding spellcheck/grammar 2026-03-24 22:17:27 -05:00
venus
f859e98b82 commnets 2026-03-24 15:26:29 -05:00
venus
7bdce4f6b8 added dashboard 2026-03-24 02:26:47 -05:00
venus
03dc7fbe72 minor changes 2026-03-24 01:56:36 -05:00
venus
0b910f6e49 bufferline 2026-03-24 01:49:02 -05:00
venus
f2d5a10748 lazy plugins in one spot 2026-03-24 00:52:58 -05:00
venus
36806958e1 added trouble diagnostic tool 2026-03-24 00:43:18 -05:00
venus
a5dafdfbff combined gitsigns and lsp files 2026-03-23 22:08:01 -05:00
venus
1451c9db00 combined tressitter and lsp files, added zsh treesitter 2026-03-23 22:06:29 -05:00
venus
ea948d4508 explained all plugins 2026-03-23 22:02:19 -05:00
venus
8f70254615 moved resize plugin fike to keybinds 2026-03-23 21:52:56 -05:00
venus
2bad7ec707 consoildating plugins by function. updated repeat command shortcut 2026-03-23 21:51:07 -05:00
venus
27820d5005 run last now executes termexec script, will break remote configs... 2026-03-15 04:26:28 -05:00
venus
dcfe759794 fixed gitignore 2026-03-11 21:31:16 -05:00
venus
b7237dacaf colors updated need to ignore 2026-03-11 17:57:20 -05:00
venus
63bd661602 updated lsp with autocomplete 2026-03-10 16:34:31 -05:00
venus
be84313c2c configured lsp plugins 2026-03-10 02:12:25 -05:00
30 changed files with 817 additions and 222 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
lazy-lock.json
spell/*

View File

@@ -1,43 +1,60 @@
-- River Rooks nvim config
-- init.lua
-- render options, keybinds, lazy and treesitter
-- processed first
--
-- render options
-- /init.lua
-- This file is the first thing nvim renderes on boot.
-- from here we tell it to load the options and keybinds files, as well as bootstrap Lazy, our plugin manager
-- execute the following files in the /lua directory
require('options')
-- render keybinds
require('keybinds')
-- bootstrao lazy.nvim
require("config.lazy")
-- lazy.nvim settings
-- now that we have loaded our basic settings and started lazy, we need to configure lazy to our liking
require("lazy").setup({
spec = {
-- import your plugins
-- execute all files is /lua/plugins -- this is where I put plugins with more complex setups
{ import = "plugins" },
-- import the following list of plugins -- this is where i put plugins with minial settings
{
"karb94/neoscroll.nvim", --Smooth Scrolling
-- 'paretje/nvim-man', -- man page syntax highlighting
'fei6409/log-highlight.nvim', -- generic log syntax highlighting
'stevearc/conform.nvim', --auto formats certain text
'tpope/vim-commentary', -- commenting lines with shortcut
'vigoux/ltex-ls.nvim', -- grammer checking
'pynappo/hyprlang-to-lua.nvim',
-- 'vimpostor/vim-tpipeline', -- integrate with tmux status-line
'kshenoy/vim-signature', -- tag lines
'mg979/vim-visual-multi', -- work on multiple lines at once
'obsidian-nvim/obsidian.nvim', -- Obsidian lsp plugin
'0xm4n/resize.nvim', -- adds commands to resize panes
'nvim-tree/nvim-web-devicons', -- nerdfont!
'TamaMcGlinn/vim-termhere', --simple terminal QOL
"smjonas/inc-rename.nvim", --lsp plugin for renaming variable
'smjonas/inc-rename.nvim', --lsp plugin for renaming variable
'basola21/PDFview', -- rendering pdfs in nvim
'rcarriga/nvim-notify', -- notification manager
{ "m4xshen/hardtime.nvim", lazy = false, dependencies = { "MunifTanjim/nui.nvim" }}, --annoying
{ "nvzone/typr", dependencies = "nvzone/volt", cmd = { "Typr", "TyprStats" }, }, --typing practice
{ 'norcalli/nvim-colorizer.lua', config = function() require('colorizer').setup{"*"} end,}, -- preview colors
{'NMAC427/guess-indent.nvim', config = function() require('guess-indent').setup {} end,}, -- Detect tabstop and shiftwidth automatically
{ 'edluffy/hologram.nvim', auto_display = true,}, --image viewer
{ "denialofsandwich/sudo.nvim", dependencies = { "MunifTanjim/nui.nvim", },config = true, }, --write restricted files without restart
{'akinsho/toggleterm.nvim', version = "*", config = true}, -- terminal toggling and commands
{ 'nvim-java/nvim-java', config = function() require('java').setup() vim.lsp.enable('jdtls') end, }, --jave QOL
{ 'RRethy/base16-nvim', config = function() require('matugen').setup() end,}, --colorshceme for noctalia integration
{ 'akinsho/toggleterm.nvim', version = "*", config = true}, -- terminal toggling and commands
{ 'nvim-java/nvim-java', config = function() require('java').setup() vim.lsp.enable('jdtls') end, }, --java QOL
-- disable matugen if not using noctalia shell
{ 'RRethy/base16-nvim', config = function() require('matugen').setup() end,}, --colorshceme for noctalia integration
{ "lervag/vimtex", lazy = false, init = function() vim.g.vimtex_view_method = "zathura" end }, -- for latex editing
{ 'windwp/nvim-autopairs', event = "InsertEnter", config = true },
{ "folke/ts-comments.nvim", event = "VeryLazy", }, -- qol for commenting
{ "marcinjahn/gemini-cli.nvim", cmd = "Gemini", dependencies = { "folke/snacks.nvim", }, config = true, },
{ "cenk1cenk2/jq.nvim", dependencies = { "nvim-lua/plenary.nvim", "MunifTanjim/nui.nvim", "grapp-dev/nui-components.nvim", },
}
},
},
-- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins.
-- install = { colorscheme = { "habamax" } },
-- colorscheme that will be used when installing plugins before loaded the matugen plugin for desktop colorscheme.
install = { colorscheme = { "miniautumn" } },
-- automatically check for plugin updates
checker = { enabled = true },
checker = { enabled = false },
})
-- sync nvim colorscheme with noctalia
local theme_ok, matugen = pcall(require, "matugen")
@@ -45,3 +62,39 @@ if theme_ok then
matugen.setup()
end
-- load lsp and bufferline plugins
require("config.lsp")
-- render bufferline
require("bufferline").setup{}
-- optimize keypresses
-- require("hardtime").setup()
--fix notifications
vim.notify = require("notify")
-- jq setup
require("jq").setup()
-- require("jq").run({
-- --- you can pass additional options to configure the current instance
-- -- if you want to toggle from the memory
-- toggle = true,
-- -- commands for the instance else it will use the default
-- -- the default command would be the first one in the table
-- commands = {
-- {
-- -- command to be run
-- command = "jq",
-- -- filetype of the output
-- filetype = "json",
-- -- hidden arguments that will not be shown in the ui
-- arguments = "-r"
-- },
-- },
-- -- arguments to start with in the ui
-- arguments = "",
-- -- query to start with, if not provided it will use the default
-- query = ".",
-- })
-- -- bind undotree
-- -- TODO fix the require file not found when in keybinds.lua
-- vim.cmd("packadd nvim.undotree")
-- vim.keymap.set("n", "<leader>u", require("undotree").open) -- undotree

View File

@@ -1,40 +1,66 @@
{
"PDFview": { "branch": "main", "commit": "972dfcce5c0de578865649940f44bf57a700498d" },
"base16-nvim": { "branch": "master", "commit": "190397833e53fdfd5cf400c5baaf1a4e533158e5" },
"base16-nvim": { "branch": "master", "commit": "23e5128eb5f629c29532c24a1e733cbe019f05bb" },
"blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"codecompanion.nvim": { "branch": "main", "commit": "6cbbcb4503430644f04ea5f087c8e2ea4cdc6f6e" },
"conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" },
"dashboard-nvim": { "branch": "master", "commit": "f787e3462c2ee2b6117b17c1aa4ddf66cb6f57fe" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"fd": { "branch": "master", "commit": "cb3fad48bb2d366080efa421d8499ec968f60a6c" },
"fzf-lua": { "branch": "main", "commit": "d9508cc1d05ffcdc91a32dfd38fc1013a56b20da" },
"gitsigns.nvim": { "branch": "main", "commit": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3" },
"fd": { "branch": "master", "commit": "f7d4d717c287a7834f8721efc0fa91c51d92afee" },
"fzf-lua": { "branch": "main", "commit": "988416cc782dfe28bff3f0da9b8c943b236cd86a" },
"gemini-cli.nvim": { "branch": "main", "commit": "c9fd62adda823628f5131a939d9c56ef7a898600" },
"gitsigns.nvim": { "branch": "main", "commit": "25050e4ed39e628282831d4cbecb1850454ce915" },
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
"hardtime.nvim": { "branch": "main", "commit": "b4e431934af1fe224a3a801f632c008278cb7628" },
"hex.nvim": { "branch": "master", "commit": "b46e63356a69e8d6f046c38a9708d55d17f15038" },
"hologram.nvim": { "branch": "main", "commit": "f5194f71ec1578d91b2e3119ff08e574e2eab542" },
"hyprlang-to-lua.nvim": { "branch": "main", "commit": "477430d9f379736bc2260086eb63517bb585b5d8" },
"inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" },
"jq.nvim": { "branch": "main", "commit": "70e12681b1026ba7c06c691fd815eed0e2244b81" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
"mini.nvim": { "branch": "main", "commit": "9d359222b3643f1fccbd8f3180445842e1cae00b" },
"mini.pick": { "branch": "main", "commit": "8521fe21df86e08d9e4b3c3f3a7d50e47954e1af" },
"neogit": { "branch": "master", "commit": "8fd90675caf8b847280ca56f464b66030adad876" },
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
"log-highlight.nvim": { "branch": "main", "commit": "b2e00cfd41ca94338265a595f3f3f423d9f9322e" },
"ltex-ls.nvim": { "branch": "main", "commit": "968eac261279d88d7f1ed556aa2dbc535a7489fe" },
"lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "0a695750d747db1e7e70bcf0267ef8951c95fc83" },
"mason.nvim": { "branch": "main", "commit": "16ba83bfc8a25f52bb545134f5bee082b195c460" },
"mini.nvim": { "branch": "main", "commit": "cbae4fa396bbf9c802b3d2dc2e9c5362e8fb9468" },
"mini.pick": { "branch": "main", "commit": "34fdef3b0966974378c4f39e3ddb54ffc628fbe9" },
"neogit": { "branch": "master", "commit": "99326a1310fb2d616b455d2fd16d01bf00682f06" },
"neoscroll.nvim": { "branch": "master", "commit": "c8d29979cb0cb3a2437a8e0ae683fd82f340d3b8" },
"nui-components.nvim": { "branch": "main", "commit": "1654dd709f13874089eefc80d82e0eb667f7fdfb" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-autopairs": { "branch": "master", "commit": "7b9923abad60b903ece7c52940e1321d39eccc79" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
"nvim-dap": { "branch": "master", "commit": "a9d8cb68ee7184111dc66156c4a2ebabfbe01bc5" },
"nvim-dap": { "branch": "master", "commit": "531771530d4f82ad2d21e436e3cc052d68d7aebb" },
"nvim-java": { "branch": "main", "commit": "602a5f7fa92f9c1d425a2159133ff9de86842f0a" },
"nvim-treesitter": { "branch": "main", "commit": "5cb05e1b0fa3c469958a2b26f36b3fe930af221c" },
"nvim-treesitter-textobjects": { "branch": "main", "commit": "4e91b5d0394329a229725b021a8ea217099826ef" },
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" },
"obsidian.nvim": { "branch": "main", "commit": "350586c9e873143c3f65e3c2667bd0324964e89c" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"nvim-lspconfig": { "branch": "master", "commit": "229b79051b380377664edc4cbd534930154921a1" },
"nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" },
"nvim-tree.lua": { "branch": "master", "commit": "07f541fcaa4a5ae019598240362449ab7e9812b3" },
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-web-devicons": { "branch": "master", "commit": "dfbfaa967a6f7ec50789bead7ef87e336c1fa63c" },
"obsidian.nvim": { "branch": "main", "commit": "239af7e896d1857d0a644253d2c7e571d38529a5" },
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
"render-markdown.nvim": { "branch": "main", "commit": "e3c18ddd27a853f85a6f513a864cf4f2982b9f26" },
"remote-nvim.nvim": { "branch": "main", "commit": "9992c2fb8bf4f11aca2c8be8db286b506f92efcb" },
"render-markdown.nvim": { "branch": "main", "commit": "5adf0895310c1904e5abfaad40a2baad7fe44a07" },
"resize.nvim": { "branch": "main", "commit": "0b8943ef2ce54e65b9e56974e94dee593b28e7b5" },
"ripgrep": { "branch": "master", "commit": "4519153e5e461527f4bca45b042fff45c4ec6fb9" },
"snacks.nvim": { "branch": "main", "commit": "9912042fc8bca2209105526ac7534e9a0c2071b2" },
"ripgrep": { "branch": "master", "commit": "48a6ad93f152dc848f1883ceb3bf2c7baab6738c" },
"snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" },
"spring-boot.nvim": { "branch": "main", "commit": "218c0c26c14d99feca778e4d13f5ec3e8b1b60f0" },
"sudo.nvim": { "branch": "main", "commit": "eed34f8636f0dd1bac89c81f6f96a86ca513f5f2" },
"sudo.nvim": { "branch": "main", "commit": "10c211716f0f0149ea91732bc12338ade76d4af8" },
"telescope.nvim": { "branch": "master", "commit": "e69b434b968a33815e2f02a5c7bd7b8dd4c7d4b2" },
"themery.nvim": { "branch": "main", "commit": "bfa58f4b279d21cb515b28023e1b68ec908584b2" },
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" },
"typr": { "branch": "main", "commit": "584e4ef34dea25a4035627794322f315b22d1253" },
"vim-commentary": { "branch": "master", "commit": "64a654ef4a20db1727938338310209b6a63f60c9" },
"vim-signature": { "branch": "master", "commit": "6bc3dd1294a22e897f0dcf8dd72b85f350e306bc" },
"vim-termhere": { "branch": "main", "commit": "b66d429dd48b74802f09fd059bc499c253372a1c" },
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
"vimtex": { "branch": "master", "commit": "24e229914182ff301496a3e2c4214b28c4928d3f" },
"volt": { "branch": "main", "commit": "620de1321f275ec9d80028c68d1b88b409c0c8b1" },
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
}

View File

@@ -1,10 +1,10 @@
-- [[dynamically change kitty window opacity when opening and closing]]
-- [[dynamicallt change kitty window opacity when opening and closing]]
-- Define the target opacities
local nvim_opacity = "0.85"
local default_opacity = "0.6"
-- Function to talk to Kitty
local function set_kitty_opacity(opacity)
print("Attempting to set opacity to: " .. opacity)
-- Use os.execute to run the kitty remote command
os.execute("kitty @ set-background-opacity " .. opacity)
end
-- Set up the autocommands

47
lua/config/lsp.lua Normal file
View File

@@ -0,0 +1,47 @@
-- lsp config
require('lspconfig')
local lsp_servers = {
'clangd',
'pyright',
'lua_ls',
}
for _, server in ipairs(lsp_servers) do
local config = {}
-- Special settings for Lua
if server == 'lua_ls' then
config.settings = {
Lua = {
diagnostics = {
-- Tell the language server that 'vim' is a global
globals = { 'vim' },
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
checkThirdParty = false,
},
},
}
end
-- Apply the config and enable
vim.lsp.config(server, config)
vim.lsp.enable(server)
end
-- highlight error messages
vim.diagnostic.config({
virtual_text = {
prefix = '',
spacing = 4,
},
-- Show signs in the gutter (left side)
signs = true,
-- Underline the actual code that has the error
underline = true,
-- Don't update diagnostics while typing (keeps it less distracting)
update_in_insert = true,
-- Better looking border for float windows
float = { border = "rounded" },
})

21
lua/custom-functions.lua Normal file
View File

@@ -0,0 +1,21 @@
-- lua/custom-functions.lua
-- A library file with custom functions for cleaner code elsewhere
local C = {}
function C.RunCommand(Command)
-- TODO IMplement an autocompiler function based on context
local tt = require("toggleterm")
local command = string.lower(Command)
if command == "l" or command == "last" then tt.exec("clear && fc -e -\r") end
if command == "c" or command == "compile" then tt.exec("clear && make\r") end
vim.defer_fn(function ()
vim.api.nvim_echo({
{ "▶ Terminal: ", "WarningMsg" },
{ "Running previous terminal command... ", "Normal" },
}, true, {})
end, 50)
return ""
end
return C

View File

@@ -1,65 +1,93 @@
-- [[ Basic Autocommands ]]
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking (copying) text',
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
callback = function()
vim.hl.on_yank()
end,
})
--/lua/keybinds.lua
-- This file defines all of the kybinds for nvim.
-- Add these lines at the very top of your keymaps file
vim.cmd('silent! unmapclear') -- Clears Normal, Visual, Select, and Operator-pending maps
vim.cmd('silent! cmapclear') -- Clears Command-line maps
vim.cmd('silent! imapclear') -- Clears Insert maps
vim.cmd('silent! tmapclear') -- Clears Terminal maps
-- ==========================================
-- Define your current keymaps below this line
-- ==========================================
vim.keymap.set('n', '<leader>w', ':w<CR>')
package.loaded["custom-functions"] = nil
local utils = require("custom-functions")
-- move betwwen buffer easier
vim.keymap.set('n', '<Tab>', ':bnext<CR>')
vim.keymap.set('n', '<S-Tab>', ':bprev<CR>')
vim.keymap.set('n', '<leader>x', ':bdelete<CR>')
-- termunal interface shortcuts
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
vim.keymap.set('n','<Tab>' ,':bnext<CR>')
vim.keymap.set('n','<S-Tab>' ,':bprev<CR>')
vim.keymap.set('n','<leader>x' ,':bdelete<CR>')
-- resizing pains with resize.lua shortcut
vim.keymap.set('n','<M-Left>' ,"<cmd>lua require('resize').ResizeLeft()<CR>")
vim.keymap.set('n','<M-Right>' ,"<cmd>lua require('resize').ResizeRight()<CR>")
vim.keymap.set('n','<M-Up>' ,"<cmd>lua require('resize').ResizeUp()<CR>")
vim.keymap.set('n','<M-Down>' ,"<cmd>lua require('resize').ResizeDown()<CR>")
-- terminal interface shortcuts
vim.keymap.set('n','<Esc>' ,'<cmd>nohlsearch<CR>')
vim.keymap.set('t','<Esc><Esc>' ,'<C-\\><C-n>' ,{ desc = 'Exit terminal mode' })
vim.keymap.set('n','<leader>r' ,'<cmd>TermExec cmd="clear && make"<CR>' ,{ desc = '[r]un make in terminal' })
vim.keymap.set('n','<leader>l' ,function() utils.RunCommand("l") end ,{ desc = 'run [l]ast command in terminal' })
vim.keymap.set('n','<leader>n' ,'<cmd>ToggleTerm direction=vertical name=compile size=70<CR>', { desc = 'open a [n]ew terminal' })
vim.keymap.set('n','<leader>t' ,'<cmd>ToggleTerm<CR>' ,{desc = '[T]oggle all terminals'})
vim.keymap.set("n","<leader>e" ,"<cmd>NvimTreeToggle<CR>" ,{desc = 'open [E]xplorer'})
-- Diagnostic keymaps
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
vim.keymap.set('n', '<leader>q' ,vim.diagnostic.setloclist ,{ desc = 'Open diagnostic [Q]uickfix list' })
vim.keymap.set("n", "<leader>R" ,"<cmd>source %<Cr>:echo 'Config reloaded!'<CR>" ,{ desc = "[S]ource config file"})
vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' })
-- Disable arrow keys in normal mode
vim.keymap.set('n','<left>' ,'<cmd>echo "Use h to move!!"<CR>')
vim.keymap.set('n','<right>' ,'<cmd>echo "Use l to move!!"<CR>')
vim.keymap.set('n','<up>' ,'<cmd>echo "Use k to move!!"<CR>')
vim.keymap.set('n','<down>' ,'<cmd>echo "Use j to move!!"<CR>')
vim.keymap.set("n", "<leader>a", ":IncRename ", {desc = 'ren[a]me variable under cursor'})
vim .keymap.set('n','<leader>r','<cmd>TermExec cmd="clear && make"<CR>', { desc = '[r]un make in terminal' })
vim .keymap .set('n','<leader>n', '<cmd>ToggleTerm direction=vertical name=compile size=70<CR>', { desc = 'open a [n]ew terminal' })
vim.keymap.set('n','<leader>t', '<cmd>ToggleTerm<CR>', {desc = '[T]oggle all terminals'})
vim.keymap.set("n", "<leader>l", function()
-- Get terminal ID 1
-- Save position and buffer context
local term = require("toggleterm.terminal").get(1)
if term then
local original_window = vim.api.nvim_get_current_win()
local saved_view = vim.fn.winsaveview()
-- Using \r (carriage return) or \n\n often bypasses shell interceptors
term:send("clear\r")
term:send("!-2\r")
vim.api.nvim_set_current_win(original_window)
vim.fn.winrestview(saved_view)
else
vim.notify("Terminal 1 is not open yet!", vim.log.levels.WARN)
end
-- Return logic
end, { desc = "Run [L]ast command in terminal 1" })
-- more keybinds
-- TIP: Disable arrow keys in normal mode
vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>')
vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
-- Keybinds to make split navigation easier.
-- Use CTRL+<hjkl> to switch between windows
--
-- See `:help wincmd` for a list of all window commands
vim.keymap.set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' })
vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' })
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' })
vim.keymap.set('n','<C-h>' ,'<C-w><C-h>' ,{ desc = 'Move focus to the left window' })
vim.keymap.set('n','<C-l>' ,'<C-w><C-l>' ,{ desc = 'Move focus to the right window' })
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" })
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 QOL
-- vim.keymap.set("n", "<leader>a", ":IncRename ", {desc = 'ren[A]me variable under cursor'})
-- PLUGIN KEYBINDS
vim.keymap.set({ "n", "v" } ,"<leader>aa" ,"<cmd>CodeCompanionActions<cr>" ,{ desc = "CodeCompanion - Actions" })
vim.keymap.set({ "n", "v" } ,"<leader>ac" ,"<cmd>CodeCompanionChat Toggle<cr>" ,{ desc = "CodeCompanion - Chat" })
vim.keymap.set({ "n", "v" } ,"<leader>ai" ,"<cmd>CodeCompanion<cr>" ,{ desc = "CodeCompanion - Inline" })
vim.keymap.set("v" ,"<leader>ad" ,"<cmd>CodeCompanionChat Add<cr>" ,{ desc = "CodeCompanion - Add to Chat" })
-- Expand 'cc' into 'CodeCompanion' in the command line
vim.cmd([[cab cc CodeCompanion]])
--spellcheck keybind to toggle on current buffer
vim.keymap.set('n',"<leader>ze" ,"<cmd>setlocal spell<cr>" ,{ desc = "enable spellecheck on buffer" })
vim.keymap.set('n',"<leader>zd" ,"<cmd>setlocal nospell<cr>" ,{ desc = "Disable spellecheck on buffer" })
--Hex Editing
vim.keymap.set('n', '<leader>hh' ,'<cmd>Hex<CR>' ,{ desc = 'open [H]ex view of a file' })
--Neogit
-- <leader>gg bound to UI toggle
vim.keymap.set('n', '<leader>gg' ,'<cmd>Neogit<cr>' ,{ desc = 'open Neo[g]it interface' })
vim.keymap.set('n', '<leader>gc' ,'<cmd>Neogit commit<cr>' ,{ desc = 'open Neogit [c]ommit page' })
-- Telecope
vim.keymap.set('n', '<leader>ff' ,'<cmd>Telescope find_files<cr>' ,{ desc = 'Telescope find files' })
vim.keymap.set('n', '<leader>fg' ,'<cmd>Telescope live_grep<cr>' ,{ desc = 'Telescope live grep' })
vim.keymap.set('n', '<leader>fb' ,'<cmd>Telescope buffers<cr>' ,{ desc = 'Telescope buffers' })
vim.keymap.set('n', '<leader>fh' ,'<cmd>Telescope help_tags<cr>' ,{ desc = 'Telescope help tags' })

View File

@@ -3,24 +3,24 @@
function M.setup()
require('base16-colorscheme').setup {
-- Background tones
base00 = '#291414', -- Default Background
base01 = '#452121', -- Lighter Background (status bars)
base02 = '#3e1e1e', -- Selection Background
base03 = '#756161', -- Comments, Invisibles
base00 = '#121316', -- Default Background
base01 = '#1e2022', -- Lighter Background (status bars)
base02 = '#282a2d', -- Selection Background
base03 = '#8d9199', -- Comments, Invisibles
-- Foreground tones
base04 = '#b6afaf', -- Dark Foreground (status bars)
base05 = '#f3f2f2', -- Default Foreground
base06 = '#f3f2f2', -- Light Foreground
base07 = '#f3f2f2', -- Lightest Foreground
base04 = '#c3c6cf', -- Dark Foreground (status bars)
base05 = '#e2e2e6', -- Default Foreground
base06 = '#e2e2e6', -- Light Foreground
base07 = '#e2e2e6', -- Lightest Foreground
-- Accent colors
base08 = '#fd4663', -- Variables, XML Tags, Errors
base09 = '#cccc66', -- Integers, Constants
base0A = '#d6995c', -- Classes, Search Background
base0B = '#e46767', -- Strings, Diff Inserted
base0C = '#e9e996', -- Regex, Escape Chars
base0D = '#ec9393', -- Functions, Methods
base0E = '#e9bf96', -- Keywords, Storage
base0F = '#900017', -- Deprecated, Embedded Tags
base08 = '#ffb4ab', -- Variables, XML Tags, Errors
base09 = '#d7bee4', -- Integers, Constants
base0A = '#bbc7db', -- Classes, Search Background
base0B = '#9fcaff', -- Strings, Diff Inserted
base0C = '#d7bee4', -- Regex, Escape Chars
base0D = '#9fcaff', -- Functions, Methods
base0E = '#bbc7db', -- Keywords, Storage
base0F = '#93000a', -- Deprecated, Embedded Tags
}
end

View File

@@ -1,20 +1,19 @@
-- River Rooks nvim config
-- /lua/options.lua
-- This file is where i set all of the options and settings for nvim
-- [[setup]]
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
vim.g.have_nerd_font = true
-- netrw
vim.g.netrw_liststyle = 3 --tree view
vim.g.netrw_banner = 1
vim.g.netrw_winsize = 70 -- Set the width of the "drawer"
vim.g.netrw_browse_split = 4 -- Open files in previous window. This emulates the typical "drawer" behavior
vim.g.netrw_preview = 1 -- opens in vertical if no open buffer
vim.g.netrw_altv = 1 -- Create the split of the Netrw window to the left
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- [[Setting options]]
vim.o.spell = false -- turn on spellcheck
vim.o.spelllang = 'en_us' -- set English as spellcheck language
vim.opt.spellcapcheck = ""
vim.o.number = true -- Make line numbers default
vim.o.relativenumber = true
vim.o.showmode = false
@@ -38,8 +37,8 @@ vim.o.updatetime = 250
-- Decrease mapped sequence wait time
vim.o.timeoutlen = 300
-- Configure how new splits should be opened
-- vim.o.splitright = false
-- vim.o.splitbelow = true
vim.o.splitright = true
vim.o.splitbelow = true
vim.o.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
-- Preview substitutions live, as you type!
@@ -53,9 +52,15 @@ vim.o.scrolloff = 25
-- See `:help 'confirm'`
vim.o.confirm = true
-- vim.opt.expandtab = false -- Do NOT turn tabs into spaces
-- vim.opt.tabstop = 4 -- A literal \t character looks 4 columns wide
-- vim.opt.shiftwidth = 4 -- Number of spaces for automated indentation (<< or >>)
-- vim.opt.softtabstop = 0 -- Let the backspace key delete a full hard tab
vim.opt.termguicolors = true -- required for colorizer
--set background color on entering and leaving nvim
require('autocommands')
vim.env.PATH = vim.fn.stdpath("data") .. "/mason/bin" .. ":" .. vim.env.PATH

View File

@@ -0,0 +1,74 @@
return {
"olimorris/codecompanion.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
opts = {
display = {
chat = {
window = {
layout = "vertical",
width = 0.35,
height = 0.35,
},
keymaps = {
close = {
modes = {
n = "q", -- Bind "q" in normal mode to close the chat
},
index = 1,
callback = "keymaps.close",
description = "Close Chat",
},
}
},
},
interactions = {
chat = {
adapter = "gemini_pro", -- Removed the curly braces
},
inline = {
adapter = "gemini_flash", -- Removed the curly braces
},
},
background = {
adapter = "ollama_bg", -- Pointed this to the new extended adapter string
},
adapters = {
http = {
gemini_pro = function()
return require("codecompanion.adapters").extend("gemini", {
name = "gemini_pro",
schema = {
model = {
default = "gemini-3.5-flash",
},
},
})
end,
gemini_flash = function()
return require("codecompanion.adapters").extend("gemini", {
name = "gemini_flash",
schema = {
model = {
default = "gemini-2.0-flash",
},
},
})
end,
-- Added an extended Ollama adapter to fix your background task
ollama_bg = function()
return require("codecompanion.adapters").extend("ollama", {
name = "ollama_bg",
schema = {
model = {
default = "qwen-7b-instruct",
},
},
})
end,
},
},
}
}

44
lua/plugins/dashboard.lua Normal file
View File

@@ -0,0 +1,44 @@
return {
'nvimdev/dashboard-nvim',
event = 'VimEnter',
lazy = false,
config = function()
require('dashboard').setup(
{
theme = 'hyper',
config = {
week_header = {
enable = true,
},
project = {
enable = false,
},
shortcut = {
{ desc = '󰊳 Update', group = '@property', action = 'Lazy update', key = 'u' },
{
icon = '',
icon_hl = '@variable',
desc = 'Files',
group = 'Label',
action = 'Telescope find_files',
key = 'f',
},
{
desc = ' file manager',
group = 'Label',
action = 'NvimTreeOpen',
key = 'e',
},
{
icon = '',
desc = ' Quit',
group = 'Label',
action = 'quitall',
key = 'q',
},
},
},
})
end,
dependencies = { {'nvim-tree/nvim-web-devicons'}}
}

17
lua/plugins/games.lua Normal file
View File

@@ -0,0 +1,17 @@
return {
-- "John-Bush14/neoburner",
-- config = function()
-- require("neoburner").setup({
-- -- needed
-- filesystem = "/home/venus/code/bitburner/", -- where bitburner filesystem will be placed
-- -- optional
-- address = "ws://localhost", -- localhost
-- port = 12525,
-- servers = {"home"}, -- servers wich will be in filesystem, cannot be set to "*" because of api limitations.
-- root_server = "home", -- or nil
-- servers_folder = "servers", -- or nil
-- })
-- end
}

View File

@@ -1,12 +1,12 @@
return { -- Adds git related signs to the gutter, as well as utilities for managing changes
'lewis6991/gitsigns.nvim',
opts = {
signs = {
add = { text = '+' },
change = { text = '~' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
},
},
}
'lewis6991/gitsigns.nvim',
opts = {
signs = {
add = { text = '+' },
change = { text = '~' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
},
},
}

View File

@@ -0,0 +1,8 @@
return {
'NMAC427/guess-indent.nvim',
config = function()
require('guess-indent').setup ({
filetype_exclude = {"lua"},
})
end,
} -- Detect tabstop and shiftwidth automatically

View File

@@ -0,0 +1,49 @@
return {
{
"folke/trouble.nvim",
cmd = { "Trouble" },
opts = {
modes = {
lsp = {
win = { position = "right" },
},
},
},
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<cr>", desc = "Symbols (Trouble)" },
{ "<leader>cS", "<cmd>Trouble lsp toggle<cr>", desc = "LSP references/definitions/... (Trouble)" },
{ "<leader>xL", "<cmd>Trouble loclist toggle<cr>", desc = "Location List (Trouble)" },
{ "<leader>xQ", "<cmd>Trouble qflist toggle<cr>", desc = "Quickfix List (Trouble)" },
{
"[q",
function()
if require("trouble").is_open() then
require("trouble").prev({ skip_groups = true, jump = true })
else
local ok, err = pcall(vim.cmd.cprev)
if not ok then
vim.notify(err, vim.log.levels.ERROR)
end
end
end,
desc = "Previous Trouble/Quickfix Item",
},
{
"]q",
function()
if require("trouble").is_open() then
require("trouble").next({ skip_groups = true, jump = true })
else
local ok, err = pcall(vim.cmd.cnext)
if not ok then
vim.notify(err, vim.log.levels.ERROR)
end
end
end,
desc = "Next Trouble/Quickfix Item",
},
},
},
}

80
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,80 @@
return { -- adds lsp functionality and api for included languages
{
"neovim/nvim-lspconfig",
dependencies = {
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
{ "mason-org/mason-lspconfig.nvim", config = true }, -- The "Bridge"
{
'saghen/blink.cmp',
version = '*', -- Downloads pre-built binaries (fast!)
opts =
{
keymap = {
preset = 'none',
['<Down>'] = { 'select_next', 'fallback' },
['<Up>'] = { 'select_prev', 'fallback' },
['<Tab>'] = { 'accept', 'fallback' },
['<C-space>'] = { 'show', 'show_documentation', 'hide_documentation' },
},
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
},
},
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, -- if you use the mini.nvim suite
---@module 'render-markdown'
},
config = function()
local lspconfig = require('lspconfig')
-- Since you are using blink.cmp, extract its capabilities
local capabilities = require('blink.cmp').get_lsp_capabilities()
-- Configure OmniSharp for C# / nanoFramework development
lspconfig.omnisharp.setup({
capabilities = capabilities,
cmd = { "omnisharp" },
settings = {
FormattingOptions = {
EnableEditorConfigSupport = true,
},
MsBuild = {
LoadProjectsOnDemand = false,
},
},
on_attach = function(client, bufnr)
local opts = { buffer = bufnr, remap = false }
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts)
vim.keymap.set("n", "<leader>ca", function() vim.lsp.buf.code_action() end, opts)
end,
})
end
},
},
{
"folke/lazydev.nvim",
ft = "lua", -- only load on lua files
opts = {
library = {
-- Only load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
-- always load the LazyVim library
"LazyVim",
-- Only load the lazyvim library when the `LazyVim` global is found
{ path = "LazyVim", words = { "LazyVim" } },
-- Load the wezterm types when the `wezterm` module is required
-- Needs `DrKJeff16/wezterm-types` to be installed
{ path = "wezterm-types", mods = { "wezterm" } },
-- Load the xmake types when opening file named `xmake.lua`
-- Needs `LelouchHe/xmake-luals-addon` to be installed
{ path = "xmake-luals-addon/library", files = { "xmake.lua" } },
},
-- disable when a .luarc.json file is found
enabled = function(root_dir)
return not vim.uv.fs_stat(root_dir .. "/.luarc.json")
end,
},
},
}

View File

@@ -1,64 +1,90 @@
return {
return { -- adds more detailed bar below the pane
{
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'auto',
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
always_show_tabline = true,
globalstatus = false,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
refresh_time = 16, -- ~60fps
events = {
'WinEnter',
'BufEnter',
'BufWritePost',
'SessionLoadPost',
'FileChangedShellPost',
'VimResized',
'Filetype',
'CursorMoved',
'CursorMovedI',
'ModeChanged',
options = {
icons_enabled = true,
theme = 'auto',
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
always_show_tabline = true,
globalstatus = false,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
refresh_time = 16, -- ~60fps
events = {
'WinEnter',
'BufEnter',
'BufWritePost',
'SessionLoadPost',
'FileChangedShellPost',
'VimResized',
'Filetype',
'CursorMoved',
'CursorMovedI',
'ModeChanged',
},
}
},
sections = {
lualine_a = {'mode', 'lsp_status'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filename'},
-- lualine_d = {'tabs', 'windows'},
lualine_x = {'searchcount', 'selectioncount', 'fileformat', 'filetype'},
lualine_y = {'progress', 'location'},
lualine_z = {{'datetime', style = "%m/%d %H:%M"}}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {
-- lualine_a = {'filename'}
},
winbar = {},
inactive_winbar = {},
extensions = {}
}
end
},
sections = {
lualine_a = {'mode', 'lsp_status'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filename'},
-- lualine_d = {'tabs', 'windows'},
lualine_x = {'searchcount', 'selectioncount', 'fileformat', 'filetype'},
lualine_y = {'progress', 'location'},
lualine_z = {{'datetime', style = "%m/%d %H:%M"}}
{
'akinsho/bufferline.nvim',
version = "*",
dependencies = 'nvim-tree/nvim-web-devicons',
config = function()
local bufferline = require('bufferline')
bufferline.setup{
options = {
themable = true,
numbers = "buffer_id",
indicator = {
icon = '', -- this should be omitted if indicator style is not 'icon'
style = 'icon',
},
buffer_close_icon = '󰅖',
modified_icon = '',
close_icon = '',
left_trunc_marker = '',
right_trunc_marker = '',
diagnostics = "nvim_lsp",
}
}
end
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {
-- lualine_a = {'filename'}
},
winbar = {},
inactive_winbar = {},
extensions = {}
}
end
}

View File

@@ -1,5 +1,5 @@
return {
-- Collection of various small independent plugins/modules
return { -- Collection of various small independent plugins/modules
{
'echasnovski/mini.nvim',
config = function()
-- Better Around/Inside textobjects
@@ -29,8 +29,18 @@ return {
require('mini.clue').setup()
require('mini.pairs').setup()
end,
},
{
'folke/snacks.nvim',
config = function()
require("snacks").setup({
image = {
enabled = true,
-- This ensures that when you open an image file, it renders
-- You can also toggle it manually with :SnacksImage
},
})
end,
}
}

View File

@@ -1,4 +1,4 @@
return {
return { -- add git tui functionality
"NeogitOrg/neogit",
lazy = true,
dependencies = {
@@ -14,5 +14,15 @@ return {
cmd = "Neogit",
keys = {
{ "<leader>gg", "<cmd>Neogit<cr>", desc = "Show Neogit UI" }
}
},
config = function()
local ng = require("neogit")
ng.setup({
kind = "floating",
commit_editor = {
kind = "floating",
stages_diff_split_kind = "split"
},
})
end,
}

20
lua/plugins/nerdtree.lua Normal file
View File

@@ -0,0 +1,20 @@
return { -- adds a more in-depth file manager with support for syntax highlighting and more commands
'nvim-tree/nvim-tree.lua',
dependencies = {
'nvim-tree/nvim-web-devicons',
},
config = function()
require("nvim-tree").setup({
view = {
side = "left",
width = 30,
},
actions = {
open_file = {
-- This is the "open in adjacent pane" equivalent
window_picker = { enable = true },
},
},
})
end,
}

View File

@@ -1,4 +1,4 @@
return {
return { -- syncronizes activity with Discord rich presence
'andweeb/presence.nvim',
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
neovim_image_text = 'The One True Text Editor', -- Text displayed when hovered over the Neovim image

11
lua/plugins/re.lua Normal file
View File

@@ -0,0 +1,11 @@
return {
'RaafatTurki/hex.nvim',
config = function()
require 'hex'.setup {
-- cli command used to dump hex data
dump_cmd = 'xxd -g 1 -u',
-- cli command used to assemble from hex data
assemble_cmd = 'xxd -r',
}
end,
}

14
lua/plugins/remote.lua Normal file
View File

@@ -0,0 +1,14 @@
return {
"amitds1997/remote-nvim.nvim",
version = "*", -- Pin to GitHub releases for stability
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
"MunifTanjim/nui.nvim",
},
config = function()
require("remote-nvim").setup({
ssh_config_file_paths = { vim.fn.expand("$HOME/.ssh/config") },
})
end
}

View File

@@ -1,8 +0,0 @@
return {
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, -- if you use the mini.nvim suite
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
---@module 'render-markdown'
-- ---@type render.md.UserConfig
}

View File

@@ -1,12 +0,0 @@
return {
'0xm4n/resize.nvim',
keys = {
-- Format: { 'key', 'command', desc = 'description', [opts]
{ '<M-Left>', "<cmd>lua require('resize').ResizeLeft()<CR>", { silent = true } },
{ '<M-Right>', "<cmd>lua require('resize').ResizeRight()<CR>", { silent = true } },
{ '<M-Up>', "<cmd>lua require('resize').ResizeUp()<CR>", { silent = true } },
{ '<M-Down>', "<cmd>lua require('resize').ResizeDown()<CR>", { silent = true } },
},
}

View File

@@ -1,4 +1,9 @@
return {
'nvim-telescope/telescope.nvim', tag = 'v0.2.0',
dependencies = { 'nvim-lua/plenary.nvim', 'BurntSushi/ripgrep', 'sharkdp/fd' }
}
return {
'nvim-telescope/telescope.nvim', tag = 'v0.2.0',
dependencies = {
'nvim-lua/plenary.nvim',
'BurntSushi/ripgrep',
'sharkdp/fd'
}
}

View File

@@ -1,7 +1,5 @@
-- Plugin: zaldih/themery.nvim
-- Installed via store.nvim
return {
return { -- adds a command to live view listed themes
-- TODO dynamically update themes
'zaldih/themery.nvim',
lazy = false,
config = function()

View File

@@ -0,0 +1,36 @@
return { -- basic tree sitter parser support
"nvim-treesitter/nvim-treesitter",
opts = {
indent = { enable = true },
highlight = { enable = true },
folds = { enable = true },
ensure_installed = {
"bash",
"c",
"diff",
"html",
"javascript",
"jsdoc",
"json",
"lua",
"luadoc",
"luap",
"markdown",
"markdown_inline",
"printf",
"python",
"query",
"regex",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"xml",
"yaml",
"zsh",
"cmake",
"c_sharp",
},
}
}

30
spell/en.utf-8.add Normal file
View File

@@ -0,0 +1,30 @@
#xploring
gzipped
ext4
picoCTF
#othing
symlinked
Openrc
dir
Picoctf
nc
Gaviria
unix
linux
netcat
Ransomware
tmux
Pico
Pico
VPN
WLAN
GAN
Lan
TCP
UPD
biometrics
WPA
eduroam
pre-defined
#tateful
hashcat

BIN
spell/en.utf-8.add.spl Normal file

Binary file not shown.