Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
"RaafatTurki/hex.nvim",
|
||||||
|
config = function()
|
||||||
|
require("hex").setup()
|
||||||
|
end
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
"vhyrro/luarocks.nvim",
|
||||||
|
opts = {
|
||||||
|
rocks = { "lua-curl", "nvim-nio", "mimetypes", "xml2lua" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
@@ -8,7 +8,7 @@ vim.opt.cursorline = true
|
|||||||
|
|
||||||
vim.opt.nu = true
|
vim.opt.nu = true
|
||||||
vim.opt.relativenumber = 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.softtabstop = 4
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
|
|||||||
@@ -6,6 +6,13 @@ vim.keymap.set("x", "<leader>p", "\"_dP")
|
|||||||
if package.config:sub(1,1) == "\\" then
|
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>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>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
|
end
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
|
|||||||
Reference in New Issue
Block a user