neoburner support sorta, and hex editors for re

This commit is contained in:
venus
2026-04-25 11:53:20 -05:00
parent 3a85cfd58f
commit 3882f7f805
5 changed files with 64 additions and 16 deletions

View File

@@ -74,3 +74,7 @@ vim.keymap.set('n', "<leader>ze", "<cmd>setlocal spell<cr>", { desc = "enable sp
vim.keymap.set('n', "<leader>zd", "<cmd>setlocal nospell<cr>", { desc = "Disable spellecheck on buffer" })
--basic qol
-- Bitburner Sync Keybinds
vim.keymap.set('n', '<leader>bp', '<cmd>BBPull<CR>', { desc = '[B]itburner [P]ull' })
vim.keymap.set('n', '<leader>bu', '<cmd>BBPush<CR>', { desc = '[B]itburner [U]pload/Push' })
vim.keymap.set('n', '<leader>br', '<cmd>BBRam<CR>', { desc = '[B]itburner [R]am check' })

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
}

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

@@ -0,0 +1,22 @@
return {
"dmxk062/hexed.nvim",
-- default options
opts = {
highlights = {
String = "String", -- ascii characters
Null = "NonText", -- null bytes
Newline = "SpecialChar", -- newline characters(\n and \r)
Address = "Label", -- the addresses at the beginning of lines
Byte = "Identifier", -- any other byte
Region = "Visual", -- context are in preview buffer
Char = "Substitute", -- character the cursor is on
},
command = "Hexed", -- the command used to invoke hexed
},
{
"DamianVCechov/hexview.nvim",
config = function()
require("hexview").setup()
end
}
}