From 3fa8fcef65dc9e276bf2054f48f8e31c4c834adb Mon Sep 17 00:00:00 2001 From: Ray Andrew <4437323+rayandrew@users.noreply.github.com> Date: Tue, 22 Aug 2023 23:36:03 -0500 Subject: [PATCH] remove unused codes --- lua/rayandrew/plugins.lua | 46 --------------------------------------- 1 file changed, 46 deletions(-) diff --git a/lua/rayandrew/plugins.lua b/lua/rayandrew/plugins.lua index d931600..6c613f1 100644 --- a/lua/rayandrew/plugins.lua +++ b/lua/rayandrew/plugins.lua @@ -332,52 +332,6 @@ return { end, desc = "Open current directory", }, - -- { - -- "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, - -- }, - -- { - -- "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 = { columns = {