remove unused codes

This commit is contained in:
Ray Andrew 2023-08-22 23:36:03 -05:00
parent 1c69449dd4
commit 3fa8fcef65
No known key found for this signature in database
GPG key ID: E2E8D63137DD489E

View file

@ -332,52 +332,6 @@ return {
end, end,
desc = "Open current directory", desc = "Open current directory",
}, },
-- {
-- "<leader>h",
-- function()
-- if vim.bo.filetype == "oil" then
-- local oil = require("oil")
-- oil.toggle_hidden()
-- end
-- end,
-- },
-- {
-- "t",
-- function()
-- if vim.bo.filetype == "oil" then
-- local oil = require("oil")
-- oil.select()
-- end
-- end,
-- },
-- {
-- "q",
-- function()
-- if vim.bo.filetype == "oil" then
-- local oil = require("oil")
-- oil.close()
-- end
-- end,
-- },
-- {
-- "<leader>i",
-- function()
-- if vim.bo.filetype == "oil" then
-- local oil = require("oil")
-- vim.g.oil_show_info = not vim.g.oil_show_info
-- if vim.g.oil_show_info then
-- oil.set_columns({
-- "permissions",
-- "size",
-- "mtime",
-- })
-- else
-- oil.set_columns({})
-- end
-- return
-- end
-- end,
-- },
}, },
opts = { opts = {
columns = { columns = {