feat: yazi to oil

This commit is contained in:
Ahmet Kaan Gümüş 2025-03-17 22:00:11 +03:00
parent a8802d5393
commit 678bad568b
14 changed files with 43 additions and 23 deletions

View file

@ -2,4 +2,4 @@
"diagnostics.globals": [
"vim"
]
}
}

View file

@ -1,24 +1,23 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"blink.cmp": { "branch": "main", "commit": "18b352d12b35bca148427b607098df14b75a218f" },
"catppuccin": { "branch": "main", "commit": "d72341852556e2dfe19f779cc682c16dd58548fc" },
"blink.cmp": { "branch": "main", "commit": "63f30f6c1ce59e5639f9e858478d0e0555f3bb04" },
"catppuccin": { "branch": "main", "commit": "5b5e3aef9ad7af84f463d17b5479f06b87d5c429" },
"crates.nvim": { "branch": "main", "commit": "85356807f3a0e9a3f7015586f3a010170d338686" },
"fzf-lua": { "branch": "main", "commit": "e6afa1aa22893280720cde1cdd0b0b188d5815af" },
"lazy.nvim": { "branch": "main", "commit": "e5e9bf48211a13d9ee6c1077c88327c49c1ab4a0" },
"lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" },
"fzf-lua": { "branch": "main", "commit": "f970eafc532464cbf6339d501751bdcb6b8659e3" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lualine.nvim": { "branch": "master", "commit": "b8b60c7f1d0d95ad74ee215b2291280b30482476" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
"nvim-autopairs": { "branch": "master", "commit": "68f0e5c3dab23261a945272032ee6700af86227a" },
"nvim-dap": { "branch": "master", "commit": "52302f02fea3a490e55475de52fa4deb8af2eb11" },
"nvim-dap": { "branch": "master", "commit": "a720d4966f758ab22e8ec28812b6df90a53e0f02" },
"nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" },
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "df66808cd78b5a97576bbaeee95ed5ca385a9750" },
"nvim-highlight-colors": { "branch": "main", "commit": "a770df5fbd98abbb0fc1a95d9a3f2bb1e51e3e2c" },
"nvim-lspconfig": { "branch": "master", "commit": "1110787f1b464888c59a044c48c5119d14078044" },
"nvim-highlight-colors": { "branch": "main", "commit": "af94cd45b0608755d1affa6c36851fc1e73b48bc" },
"nvim-lspconfig": { "branch": "master", "commit": "2574ad38c6ee4f0bef3a1ca305cd5df627a52bb3" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-treesitter": { "branch": "master", "commit": "36bbf518420918e965d11dad3d3f194803c47731" },
"nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"rustaceanvim": { "branch": "master", "commit": "f03035fa03ccb36cd26d0792c946fbacba1d1a39" },
"yazi.nvim": { "branch": "main", "commit": "98db02660a0f853f0bbf051c14f613aff44e5fd8" }
"nvim-treesitter": { "branch": "master", "commit": "d76a8b6e1b67fd3bcffec4a5d45fd9dee4dbbee8" },
"nvim-web-devicons": { "branch": "master", "commit": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c" },
"oil.nvim": { "branch": "master", "commit": "548587d68b55e632d8a69c92cefd981f360634fa" },
"rustaceanvim": { "branch": "master", "commit": "448c76451ecf3c0edabcde427b7f1c8c219be2dd" }
}

View file

@ -17,7 +17,8 @@ vim.keymap.set("n", ";", require("fzf-lua").diagnostics_workspace, {})
vim.keymap.set({ "n", "i", "v" }, "<C-s>", format_and_save)
vim.keymap.set({ "n", "v" }, "<CR>", "<cmd>Yazi<CR>", { noremap = true, silent = true, })
vim.keymap.set({ "n", "v" }, "-", "<cmd>Oil<CR>", { noremap = true, silent = true, })
-- terminal exit close remap
vim.keymap.set("t", "<ESC>e", "<C-\\><C-n>", { noremap = true })
vim.keymap.set("n", "<F5>", function() require("dap").continue() end)

View file

@ -18,3 +18,4 @@ vim.lsp.inlay_hint.enable()
vim.g.loaded_netrwPlugin = 0
vim.opt.termguicolors = true
vim.opt.splitright = true

View file

@ -1,6 +1,6 @@
return {
"saghen/blink.cmp",
version = '*',
build = "cargo build --release",
opts = {
keymap = {
["<cr>"] = { "accept", "fallback" },
@ -34,6 +34,6 @@ return {
},
signature = {
enabled = true,
}
},
},
}

View file

@ -9,6 +9,7 @@ return {
"ruff",
"pyright",
"cssls",
"html",
},
})
end,

View file

@ -36,5 +36,6 @@ return {
capabilities = capabilities,
})
lspconfig["cssls"].setup({ capabilities = capabilities })
lspconfig["html"].setup({ capabilities = capabilities })
end
}

View file

@ -0,0 +1,13 @@
return {
"stevearc/oil.nvim",
config = function()
require("oil").setup({
view_options = {
show_hidden = true,
},
float = {
preview_split = "right",
},
})
end
}

View file

@ -1,3 +0,0 @@
return {
"mikavilpas/yazi.nvim"
}

View file

@ -21,3 +21,10 @@ Postgres
codeberg
org
png
localhost
toml
config
configs
pem
ico
css

Binary file not shown.