local g={{"\115\116\101\118\101\097\114\099\047\111\105\108\046\110\118\105\109",dependencies={"\110\118\105\109-\116\114\101\101\047\110\118\105\109-\119\101\098-\100\101\118\105\099\111\110\115"};config=function()(require("\111\105\108")).setup({columns={"\105\099\111\110"},keymaps={["\060\067-\104\062"]=false;["\060\077-\104\062"]="\097\099\116\105\111\110\115\046\115\101\108\101\099\116\095\115\112\108\105\116"};view_options={show_hidden=true}})vim.keymap.set("\110","-","\060\067\077\068\062\079\105\108\060\067\082\062",{desc="\079\112\101\110 \112\097\114\101\110\116 \100\105\114\101\099\116\111\114\121"})vim.keymap.set("\110","\060\115\112\097\099\101\062-",(require("\111\105\108")).toggle_float)end}}return g
-- Algin plugin
-- Usage: to align all columns in csv use "<leader>gas,"
local M = {
  {
    'stevearc/oil.nvim',
    dependencies = { 'nvim-tree/nvim-web-devicons' },
    config = function()
      require('oil').setup {
        columns = { 'icon' },
        keymaps = {
          ['<C-h>'] = false,
          ['<M-h>'] = 'actions.select_split',
        },
        view_options = {
          show_hidden = true,
        },
      }

      -- Open parent directory in current window
      vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })

      -- Open parent directory in floating window
      vim.keymap.set('n', '<space>-', require('oil').toggle_float)
    end,
  },
}

return M
