Merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
2025-07-10 01:46:08 +09:00
5 changed files with 31 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
return {
"RaafatTurki/hex.nvim",
config = function()
require("hex").setup()
end
}
+6
View File
@@ -0,0 +1,6 @@
return {
"vhyrro/luarocks.nvim",
opts = {
rocks = { "lua-curl", "nvim-nio", "mimetypes", "xml2lua" }
}
}
+11
View File
@@ -0,0 +1,11 @@
return {
"rest-nvim/rest.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
table.insert(opts.ensure_installed, "http")
end,
"j-hui/fidget.nvim"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ vim.opt.cursorline = true
vim.opt.nu = true
vim.opt.relativenumber = true
vim.o.statuscolumn = "%l %=%{v:relnum?v:relnum:v:lnum} "
vim.o.statuscolumn = "%l %=%{v:relnum?v:lnum:v:lnum} "
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
+7
View File
@@ -6,6 +6,13 @@ vim.keymap.set("x", "<leader>p", "\"_dP")
if package.config:sub(1,1) == "\\" then
vim.keymap.set("n", "<leader>oe", ":!explorer .<CR><CR>", { desc = "[O]pen [E]xplorer in current working directory" })
vim.keymap.set("n", "<leader>ot", ":!wt -w 0 nt -d .<CR><CR>", { desc = "[O]pen Windows [T]erminal in current working directory" })
vim.keymap.set("n", "<leader>oce", function ()
local path = vim.api.nvim_buf_get_name(0)
local dir = path:sub(1, path:find('\\[^\\]*$'))
-- vim.cmd(":!echo " .. "(path:sub(1, path:find('\\[^\\]*$')))" .. "<CR><CR>")
-- print("Check "..dir)
os.execute("explorer " .. dir)
end, { desc = "[O]pen [C]urrent buffer [Explorer]"})
end
-- Telescope