Compare commits
39 Commits
2bad7ec707
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
976501e9d8 | ||
|
|
69b825c35f | ||
|
|
24babf0be9 | ||
|
|
552b3e1a79 | ||
|
|
b056fe2097 | ||
|
|
fdb7cc83d1 | ||
|
|
16e7916672 | ||
|
|
bbed1e2083 | ||
|
|
07940444c9 | ||
|
|
0e76ac466d | ||
|
|
e7c8b3f9cd | ||
|
|
b427c4f09f | ||
|
|
56622a860c | ||
|
|
2fe6a440b7 | ||
|
|
ccbebb5ceb | ||
|
|
85d4c44b31 | ||
|
|
3882f7f805 | ||
|
|
3a85cfd58f | ||
|
|
528e601702 | ||
|
|
6c333586fd | ||
|
|
5f387b0f7f | ||
|
|
66b8d10aea | ||
|
|
84294ac88d | ||
|
|
69a847d43c | ||
|
|
5f35501f68 | ||
|
|
405659af0a | ||
|
|
eec1f820fc | ||
|
|
44811bbfcd | ||
|
|
6659e4a691 | ||
|
|
f859e98b82 | ||
|
|
7bdce4f6b8 | ||
|
|
03dc7fbe72 | ||
|
|
0b910f6e49 | ||
|
|
f2d5a10748 | ||
|
|
36806958e1 | ||
|
|
a5dafdfbff | ||
|
|
1451c9db00 | ||
|
|
ea948d4508 | ||
|
|
8f70254615 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
lazy-lock.json
|
lazy-lock.json
|
||||||
|
spell/*
|
||||||
|
|
||||||
|
|||||||
82
init.lua
82
init.lua
@@ -1,20 +1,27 @@
|
|||||||
-- River Rooks nvim config
|
-- River Rooks nvim config
|
||||||
-- init.lua
|
-- /init.lua
|
||||||
-- render options, keybinds, lazy and treesitter
|
-- This file is the first thing nvim renderes on boot.
|
||||||
-- processed first
|
-- from here we tell it to load the options and keybinds files, as well as bootstrap Lazy, our plugin manager
|
||||||
--
|
|
||||||
-- render options
|
-- execute the following files in the /lua directory
|
||||||
require('options')
|
require('options')
|
||||||
-- render keybinds
|
|
||||||
require('keybinds')
|
require('keybinds')
|
||||||
-- bootstrap lazy.nvim
|
|
||||||
require("config.lazy")
|
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({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
|
-- execute all files is /lua/plugins -- this is where I put plugins with more complex setups
|
||||||
{ import = "plugins" },
|
{ 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
|
'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
|
-- 'vimpostor/vim-tpipeline', -- integrate with tmux status-line
|
||||||
'kshenoy/vim-signature', -- tag lines
|
'kshenoy/vim-signature', -- tag lines
|
||||||
'mg979/vim-visual-multi', -- work on multiple lines at once
|
'mg979/vim-visual-multi', -- work on multiple lines at once
|
||||||
@@ -22,23 +29,32 @@ require("lazy").setup({
|
|||||||
'0xm4n/resize.nvim', -- adds commands to resize panes
|
'0xm4n/resize.nvim', -- adds commands to resize panes
|
||||||
'nvim-tree/nvim-web-devicons', -- nerdfont!
|
'nvim-tree/nvim-web-devicons', -- nerdfont!
|
||||||
'TamaMcGlinn/vim-termhere', --simple terminal QOL
|
'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
|
'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
|
{ '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
|
{ 'edluffy/hologram.nvim', auto_display = true,}, --image viewer
|
||||||
{ "denialofsandwich/sudo.nvim", dependencies = { "MunifTanjim/nui.nvim", },config = true, }, --write restricted files without restart
|
{ "denialofsandwich/sudo.nvim", dependencies = { "MunifTanjim/nui.nvim", },config = true, }, --write restricted files without restart
|
||||||
{'akinsho/toggleterm.nvim', version = "*", config = true}, -- terminal toggling and commands
|
{ '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
|
{ '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
|
{ '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
|
|
||||||
|
{ "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.
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
-- colorscheme that will be used when installing plugins.
|
-- colorscheme that will be used when installing plugins before loaded the matugen plugin for desktop colorscheme.
|
||||||
install = { colorscheme = { "miniautumn" } },
|
install = { colorscheme = { "miniautumn" } },
|
||||||
-- automatically check for plugin updates
|
-- automatically check for plugin updates
|
||||||
checker = { enabled = true },
|
checker = { enabled = false },
|
||||||
})
|
})
|
||||||
-- sync nvim colorscheme with noctalia
|
-- sync nvim colorscheme with noctalia
|
||||||
local theme_ok, matugen = pcall(require, "matugen")
|
local theme_ok, matugen = pcall(require, "matugen")
|
||||||
@@ -46,5 +62,39 @@ if theme_ok then
|
|||||||
matugen.setup()
|
matugen.setup()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- setup lsp
|
-- load lsp and bufferline plugins
|
||||||
require("config.lsp")
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,47 +1,66 @@
|
|||||||
{
|
{
|
||||||
"PDFview": { "branch": "main", "commit": "972dfcce5c0de578865649940f44bf57a700498d" },
|
"PDFview": { "branch": "main", "commit": "972dfcce5c0de578865649940f44bf57a700498d" },
|
||||||
"base16-nvim": { "branch": "master", "commit": "190397833e53fdfd5cf400c5baaf1a4e533158e5" },
|
"base16-nvim": { "branch": "master", "commit": "23e5128eb5f629c29532c24a1e733cbe019f05bb" },
|
||||||
"blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" },
|
"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" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"fd": { "branch": "master", "commit": "9d137d358df10c441e51dcacc5899e43a4bee877" },
|
"fd": { "branch": "master", "commit": "f7d4d717c287a7834f8721efc0fa91c51d92afee" },
|
||||||
"fzf-lua": { "branch": "main", "commit": "8a79ee54d6216d10b2f153921a12b152be0c1a20" },
|
"fzf-lua": { "branch": "main", "commit": "988416cc782dfe28bff3f0da9b8c943b236cd86a" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3" },
|
"gemini-cli.nvim": { "branch": "main", "commit": "c9fd62adda823628f5131a939d9c56ef7a898600" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "25050e4ed39e628282831d4cbecb1850454ce915" },
|
||||||
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
|
"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" },
|
"hologram.nvim": { "branch": "main", "commit": "f5194f71ec1578d91b2e3119ff08e574e2eab542" },
|
||||||
|
"hyprlang-to-lua.nvim": { "branch": "main", "commit": "477430d9f379736bc2260086eb63517bb585b5d8" },
|
||||||
"inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" },
|
"inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" },
|
||||||
|
"jq.nvim": { "branch": "main", "commit": "70e12681b1026ba7c06c691fd815eed0e2244b81" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" },
|
"log-highlight.nvim": { "branch": "main", "commit": "b2e00cfd41ca94338265a595f3f3f423d9f9322e" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
"ltex-ls.nvim": { "branch": "main", "commit": "968eac261279d88d7f1ed556aa2dbc535a7489fe" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "439cdcd6992bc9012efd7d8ed7a7b7a0f1fac32a" },
|
"lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" },
|
||||||
"mini.pick": { "branch": "main", "commit": "fe079c2bd894a5ee70b62f23d819620ef40c4949" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "0a695750d747db1e7e70bcf0267ef8951c95fc83" },
|
||||||
"neogit": { "branch": "master", "commit": "d3890fc3cdf0859845a86b2be306bba01458df1a" },
|
"mason.nvim": { "branch": "main", "commit": "16ba83bfc8a25f52bb545134f5bee082b195c460" },
|
||||||
"nerdtree-visual-selection": { "branch": "master", "commit": "5214763209629d6652ebf183774a8b94cd2e6df0" },
|
"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" },
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
|
"nvim-autopairs": { "branch": "master", "commit": "7b9923abad60b903ece7c52940e1321d39eccc79" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
"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-java": { "branch": "main", "commit": "602a5f7fa92f9c1d425a2159133ff9de86842f0a" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" },
|
"nvim-lspconfig": { "branch": "master", "commit": "229b79051b380377664edc4cbd534930154921a1" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "3d385d3346e4883d60dc37cf642bd47bed78a46e" },
|
"nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" },
|
||||||
"nvim-treesitter": { "branch": "main", "commit": "6620ae1c44dfa8623b22d0cbf873a9e8d073b849" },
|
"nvim-tree.lua": { "branch": "master", "commit": "07f541fcaa4a5ae019598240362449ab7e9812b3" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
|
||||||
"obsidian.nvim": { "branch": "main", "commit": "6ea8b9d1ce10dd41795f298dd7f4dd3a26887d39" },
|
"nvim-web-devicons": { "branch": "master", "commit": "dfbfaa967a6f7ec50789bead7ef87e336c1fa63c" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"obsidian.nvim": { "branch": "main", "commit": "239af7e896d1857d0a644253d2c7e571d38529a5" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
|
||||||
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
"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" },
|
"resize.nvim": { "branch": "main", "commit": "0b8943ef2ce54e65b9e56974e94dee593b28e7b5" },
|
||||||
"ripgrep": { "branch": "master", "commit": "4519153e5e461527f4bca45b042fff45c4ec6fb9" },
|
"ripgrep": { "branch": "master", "commit": "48a6ad93f152dc848f1883ceb3bf2c7baab6738c" },
|
||||||
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" },
|
"snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" },
|
||||||
"spring-boot.nvim": { "branch": "main", "commit": "218c0c26c14d99feca778e4d13f5ec3e8b1b60f0" },
|
"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" },
|
"telescope.nvim": { "branch": "master", "commit": "e69b434b968a33815e2f02a5c7bd7b8dd4c7d4b2" },
|
||||||
"themery.nvim": { "branch": "main", "commit": "bfa58f4b279d21cb515b28023e1b68ec908584b2" },
|
"themery.nvim": { "branch": "main", "commit": "bfa58f4b279d21cb515b28023e1b68ec908584b2" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
"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-commentary": { "branch": "master", "commit": "64a654ef4a20db1727938338310209b6a63f60c9" },
|
||||||
"vim-nerdtree-syntax-highlight": { "branch": "master", "commit": "35e70334a2ff6e89b82a145d1ac889e82d1ddb4e" },
|
|
||||||
"vim-signature": { "branch": "master", "commit": "6bc3dd1294a22e897f0dcf8dd72b85f350e306bc" },
|
"vim-signature": { "branch": "master", "commit": "6bc3dd1294a22e897f0dcf8dd72b85f350e306bc" },
|
||||||
"vim-termhere": { "branch": "main", "commit": "b66d429dd48b74802f09fd059bc499c253372a1c" },
|
"vim-termhere": { "branch": "main", "commit": "b66d429dd48b74802f09fd059bc499c253372a1c" },
|
||||||
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
|
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
|
||||||
"vimtex": { "branch": "master", "commit": "82d2305ff71dfb3bd91602534cc9bb9a195bcb38" },
|
"vimtex": { "branch": "master", "commit": "24e229914182ff301496a3e2c4214b28c4928d3f" },
|
||||||
|
"volt": { "branch": "main", "commit": "620de1321f275ec9d80028c68d1b88b409c0c8b1" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
-- Define the target opacities
|
||||||
local nvim_opacity = "0.85"
|
local nvim_opacity = "0.85"
|
||||||
local default_opacity = "0.6"
|
local default_opacity = "0.6"
|
||||||
-- Function to talk to Kitty
|
-- Function to talk to Kitty
|
||||||
local function set_kitty_opacity(opacity)
|
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)
|
os.execute("kitty @ set-background-opacity " .. opacity)
|
||||||
end
|
end
|
||||||
-- Set up the autocommands
|
-- Set up the autocommands
|
||||||
@@ -23,11 +23,4 @@ vim.api.nvim_create_autocmd("VimLeave", {
|
|||||||
set_kitty_opacity(default_opacity)
|
set_kitty_opacity(default_opacity)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
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,
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|||||||
21
lua/custom-functions.lua
Normal file
21
lua/custom-functions.lua
Normal 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
|
||||||
137
lua/keybinds.lua
137
lua/keybinds.lua
@@ -1,62 +1,93 @@
|
|||||||
|
--/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
|
-- move betwwen buffer easier
|
||||||
vim.keymap.set('n', '<Tab>', ':bnext<CR>')
|
vim.keymap.set('n','<Tab>' ,':bnext<CR>')
|
||||||
vim.keymap.set('n', '<S-Tab>', ':bprev<CR>')
|
vim.keymap.set('n','<S-Tab>' ,':bprev<CR>')
|
||||||
vim.keymap.set('n', '<leader>x', ':bdelete<CR>')
|
vim.keymap.set('n','<leader>x' ,':bdelete<CR>')
|
||||||
|
|
||||||
-- resizing pains with resize.lua shortcut
|
-- resizing pains with resize.lua shortcut
|
||||||
vim.keymap.set('n', '<M-Left>', "<cmd>lua require('resize').ResizeLeft()<CR>")
|
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-Right>' ,"<cmd>lua require('resize').ResizeRight()<CR>")
|
||||||
vim.keymap.set('n', '<M-Up>', "<cmd>lua require('resize').ResizeUp()<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>")
|
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' })
|
||||||
-- termunal interface shortcuts
|
vim.keymap.set('n','<leader>r' ,'<cmd>TermExec cmd="clear && make"<CR>' ,{ desc = '[r]un make in terminal' })
|
||||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
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
|
-- 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('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' })
|
vim.keymap.set("n", "<leader>R" ,"<cmd>source %<Cr>:echo 'Config reloaded!'<CR>" ,{ desc = "[S]ource config file"})
|
||||||
-- 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("test_dev.sh\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" })
|
|
||||||
|
|
||||||
-- TIP: Disable arrow keys in normal mode
|
-- Disable arrow keys in normal mode
|
||||||
vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
|
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','<right>' ,'<cmd>echo "Use l to move!!"<CR>')
|
||||||
vim.keymap.set('n', '<up>', '<cmd>echo "Use k 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','<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
|
-- 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-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-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-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-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
|
-- 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-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-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-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-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' })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>e", "<cmd>NvimTreeToggle<CR>", {desc = 'open [E]xplorer'})
|
|
||||||
|
|||||||
@@ -3,23 +3,23 @@
|
|||||||
function M.setup()
|
function M.setup()
|
||||||
require('base16-colorscheme').setup {
|
require('base16-colorscheme').setup {
|
||||||
-- Background tones
|
-- Background tones
|
||||||
base00 = '#181212', -- Default Background
|
base00 = '#121316', -- Default Background
|
||||||
base01 = '#241e1e', -- Lighter Background (status bars)
|
base01 = '#1e2022', -- Lighter Background (status bars)
|
||||||
base02 = '#2f2828', -- Selection Background
|
base02 = '#282a2d', -- Selection Background
|
||||||
base03 = '#a08c8b', -- Comments, Invisibles
|
base03 = '#8d9199', -- Comments, Invisibles
|
||||||
-- Foreground tones
|
-- Foreground tones
|
||||||
base04 = '#d7c1c1', -- Dark Foreground (status bars)
|
base04 = '#c3c6cf', -- Dark Foreground (status bars)
|
||||||
base05 = '#ece0df', -- Default Foreground
|
base05 = '#e2e2e6', -- Default Foreground
|
||||||
base06 = '#ece0df', -- Light Foreground
|
base06 = '#e2e2e6', -- Light Foreground
|
||||||
base07 = '#ece0df', -- Lightest Foreground
|
base07 = '#e2e2e6', -- Lightest Foreground
|
||||||
-- Accent colors
|
-- Accent colors
|
||||||
base08 = '#ffb4ab', -- Variables, XML Tags, Errors
|
base08 = '#ffb4ab', -- Variables, XML Tags, Errors
|
||||||
base09 = '#e4c18d', -- Integers, Constants
|
base09 = '#d7bee4', -- Integers, Constants
|
||||||
base0A = '#e6bdbb', -- Classes, Search Background
|
base0A = '#bbc7db', -- Classes, Search Background
|
||||||
base0B = '#ffb3b2', -- Strings, Diff Inserted
|
base0B = '#9fcaff', -- Strings, Diff Inserted
|
||||||
base0C = '#e4c18d', -- Regex, Escape Chars
|
base0C = '#d7bee4', -- Regex, Escape Chars
|
||||||
base0D = '#ffb3b2', -- Functions, Methods
|
base0D = '#9fcaff', -- Functions, Methods
|
||||||
base0E = '#e6bdbb', -- Keywords, Storage
|
base0E = '#bbc7db', -- Keywords, Storage
|
||||||
base0F = '#93000a', -- Deprecated, Embedded Tags
|
base0F = '#93000a', -- Deprecated, Embedded Tags
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
-- River Rooks nvim config
|
-- /lua/options.lua
|
||||||
|
-- This file is where i set all of the options and settings for nvim
|
||||||
|
|
||||||
|
|
||||||
-- [[setup]]
|
-- [[setup]]
|
||||||
vim.g.mapleader = ' '
|
vim.g.mapleader = ' '
|
||||||
@@ -9,6 +11,9 @@ vim.g.loaded_netrw = 1
|
|||||||
vim.g.loaded_netrwPlugin = 1
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
-- [[Setting options]]
|
-- [[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.number = true -- Make line numbers default
|
||||||
vim.o.relativenumber = true
|
vim.o.relativenumber = true
|
||||||
vim.o.showmode = false
|
vim.o.showmode = false
|
||||||
@@ -32,8 +37,8 @@ vim.o.updatetime = 250
|
|||||||
-- Decrease mapped sequence wait time
|
-- Decrease mapped sequence wait time
|
||||||
vim.o.timeoutlen = 300
|
vim.o.timeoutlen = 300
|
||||||
-- Configure how new splits should be opened
|
-- Configure how new splits should be opened
|
||||||
-- vim.o.splitright = false
|
vim.o.splitright = true
|
||||||
-- vim.o.splitbelow = true
|
vim.o.splitbelow = true
|
||||||
vim.o.list = true
|
vim.o.list = true
|
||||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||||
-- Preview substitutions live, as you type!
|
-- Preview substitutions live, as you type!
|
||||||
@@ -47,6 +52,11 @@ vim.o.scrolloff = 25
|
|||||||
-- See `:help 'confirm'`
|
-- See `:help 'confirm'`
|
||||||
vim.o.confirm = true
|
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
|
vim.opt.termguicolors = true -- required for colorizer
|
||||||
|
|
||||||
--set background color on entering and leaving nvim
|
--set background color on entering and leaving nvim
|
||||||
|
|||||||
74
lua/plugins/codecompanion.lua
Normal file
74
lua/plugins/codecompanion.lua
Normal 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
44
lua/plugins/dashboard.lua
Normal 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
17
lua/plugins/games.lua
Normal 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
|
||||||
|
}
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
return { -- Adds git related signs to the gutter, as well as utilities for managing changes
|
return { -- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
opts = {
|
opts = {
|
||||||
signs = {
|
signs = {
|
||||||
add = { text = '+' },
|
add = { text = '+' },
|
||||||
change = { text = '~' },
|
change = { text = '~' },
|
||||||
delete = { text = '_' },
|
delete = { text = '_' },
|
||||||
topdelete = { text = '‾' },
|
topdelete = { text = '‾' },
|
||||||
changedelete = { text = '~' },
|
changedelete = { text = '~' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
8
lua/plugins/guessIndent.lua
Normal file
8
lua/plugins/guessIndent.lua
Normal 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
|
||||||
49
lua/plugins/lazy-plugins.lua
Normal file
49
lua/plugins/lazy-plugins.lua
Normal 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,30 +1,80 @@
|
|||||||
return {
|
return { -- adds lsp functionality and api for included languages
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
|
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
|
||||||
{ "mason-org/mason-lspconfig.nvim", config = true }, -- The "Bridge"
|
{ "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
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'saghen/blink.cmp',
|
"folke/lazydev.nvim",
|
||||||
version = '*', -- Downloads pre-built binaries (fast!)
|
ft = "lua", -- only load on lua files
|
||||||
opts = {
|
opts = {
|
||||||
keymap = {
|
library = {
|
||||||
preset = 'none',
|
-- Only load luvit types when the `vim.uv` word is found
|
||||||
['<CR>'] = { 'select_next', 'fallback' },
|
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
||||||
['<S-CR>'] = { 'select_prev', 'fallback' },
|
-- always load the LazyVim library
|
||||||
['<Tab>'] = { 'accept', 'fallback' },
|
"LazyVim",
|
||||||
['<C-space>'] = { 'show', 'show_documentation', 'hide_documentation' },
|
-- Only load the lazyvim library when the `LazyVim` global is found
|
||||||
},
|
{ path = "LazyVim", words = { "LazyVim" } },
|
||||||
sources = {
|
-- Load the wezterm types when the `wezterm` module is required
|
||||||
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
-- 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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'MeanderingProgrammer/render-markdown.nvim',
|
|
||||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, -- if you use the mini.nvim suite
|
|
||||||
---@module 'render-markdown'
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,64 +1,90 @@
|
|||||||
return {
|
return { -- adds more detailed bar below the pane
|
||||||
|
{
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
config = function()
|
config = function()
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'auto',
|
theme = 'auto',
|
||||||
component_separators = { left = '', right = ''},
|
component_separators = { left = '', right = ''},
|
||||||
section_separators = { left = '', right = ''},
|
section_separators = { left = '', right = ''},
|
||||||
disabled_filetypes = {
|
disabled_filetypes = {
|
||||||
statusline = {},
|
statusline = {},
|
||||||
winbar = {},
|
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',
|
|
||||||
},
|
},
|
||||||
|
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'},
|
'akinsho/bufferline.nvim',
|
||||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
version = "*",
|
||||||
lualine_c = {'filename'},
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
||||||
-- lualine_d = {'tabs', 'windows'},
|
config = function()
|
||||||
lualine_x = {'searchcount', 'selectioncount', 'fileformat', 'filetype'},
|
local bufferline = require('bufferline')
|
||||||
lualine_y = {'progress', 'location'},
|
bufferline.setup{
|
||||||
lualine_z = {{'datetime', style = "%m/%d %H:%M"}}
|
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
return {
|
return { -- Collection of various small independent plugins/modules
|
||||||
-- Collection of various small independent plugins/modules
|
{
|
||||||
'echasnovski/mini.nvim',
|
'echasnovski/mini.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
-- Better Around/Inside textobjects
|
-- Better Around/Inside textobjects
|
||||||
@@ -30,4 +30,17 @@ return {
|
|||||||
require('mini.clue').setup()
|
require('mini.clue').setup()
|
||||||
|
|
||||||
end,
|
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,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
return {
|
return { -- add git tui functionality
|
||||||
"NeogitOrg/neogit",
|
"NeogitOrg/neogit",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
@@ -14,5 +14,15 @@ return {
|
|||||||
cmd = "Neogit",
|
cmd = "Neogit",
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>gg", "<cmd>Neogit<cr>", desc = "Show Neogit UI" }
|
{ "<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,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
return {
|
return { -- adds a more in-depth file manager with support for syntax highlighting and more commands
|
||||||
'nvim-tree/nvim-tree.lua',
|
'nvim-tree/nvim-tree.lua',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'nvim-tree/nvim-web-devicons',
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
return {
|
return { -- syncronizes activity with Discord rich presence
|
||||||
'andweeb/presence.nvim',
|
'andweeb/presence.nvim',
|
||||||
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
|
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
|
neovim_image_text = 'The One True Text Editor', -- Text displayed when hovered over the Neovim image
|
||||||
|
|||||||
11
lua/plugins/re.lua
Normal file
11
lua/plugins/re.lua
Normal 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
14
lua/plugins/remote.lua
Normal 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
|
||||||
|
}
|
||||||
@@ -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 } },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,4 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
'nvim-telescope/telescope.nvim', tag = 'v0.2.0',
|
'nvim-telescope/telescope.nvim', tag = 'v0.2.0',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim', 'BurntSushi/ripgrep', 'sharkdp/fd' }
|
dependencies = {
|
||||||
}
|
'nvim-lua/plenary.nvim',
|
||||||
|
'BurntSushi/ripgrep',
|
||||||
|
'sharkdp/fd'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
-- Plugin: zaldih/themery.nvim
|
return { -- adds a command to live view listed themes
|
||||||
-- Installed via store.nvim
|
-- TODO dynamically update themes
|
||||||
|
|
||||||
return {
|
|
||||||
'zaldih/themery.nvim',
|
'zaldih/themery.nvim',
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@@ -1,34 +1,36 @@
|
|||||||
return {
|
return { -- basic tree sitter parser support
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = {
|
opts = {
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
folds = { enable = true },
|
folds = { enable = true },
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash",
|
"bash",
|
||||||
"c",
|
"c",
|
||||||
"diff",
|
"diff",
|
||||||
"html",
|
"html",
|
||||||
"javascript",
|
"javascript",
|
||||||
"jsdoc",
|
"jsdoc",
|
||||||
"json",
|
"json",
|
||||||
"lua",
|
"lua",
|
||||||
"luadoc",
|
"luadoc",
|
||||||
"luap",
|
"luap",
|
||||||
"markdown",
|
"markdown",
|
||||||
"markdown_inline",
|
"markdown_inline",
|
||||||
"printf",
|
"printf",
|
||||||
"python",
|
"python",
|
||||||
"query",
|
"query",
|
||||||
"regex",
|
"regex",
|
||||||
"toml",
|
"toml",
|
||||||
"tsx",
|
"tsx",
|
||||||
"typescript",
|
"typescript",
|
||||||
"vim",
|
"vim",
|
||||||
"vimdoc",
|
"vimdoc",
|
||||||
"xml",
|
"xml",
|
||||||
"yaml",
|
"yaml",
|
||||||
},
|
"zsh",
|
||||||
}
|
"cmake",
|
||||||
}
|
"c_sharp",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
30
spell/en.utf-8.add
Normal file
30
spell/en.utf-8.add
Normal 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
BIN
spell/en.utf-8.add.spl
Normal file
Binary file not shown.
Reference in New Issue
Block a user