diff options
| author | venomade <venomade@venomade.com> | 2026-02-16 17:31:16 +0000 |
|---|---|---|
| committer | venomade <venomade@venomade.com> | 2026-02-16 17:31:16 +0000 |
| commit | a568a964fd6a9efba388b2b4919339c0b7dfe51d (patch) | |
| tree | 0c6adbf753de1c0b469e911668a82c6b2002f5f8 /.config/nvim/lua/plugins/oil.lua | |
| parent | 9d2c3f898a97de16b986d4e494f31e6c6f3d176a (diff) | |
Asahi is just not perfectly usable yet. Moved stuff, went nix.
Diffstat (limited to '.config/nvim/lua/plugins/oil.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/oil.lua | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua deleted file mode 100644 index 3eb396d..0000000 --- a/.config/nvim/lua/plugins/oil.lua +++ /dev/null @@ -1,28 +0,0 @@ -return { - 'stevearc/oil.nvim', - dependencies = { "nvim-tree/nvim-web-devicons" }, - config = function() - - function _G.get_oil_winbar() - local bufnr = vim.api.nvim_win_get_buf(vim.g.statusline_winid) - local dir = require("oil").get_current_dir(bufnr) - if dir then - return vim.fn.fnamemodify(dir, ":~") - else - -- If there is no current directory (e.g. over ssh), just show the buffer name - return vim.api.nvim_buf_get_name(0) - end - end - - require('oil').setup({ - win_options = { - winbar = "%!v:lua.get_oil_winbar()", - }, - view_options = { - show_hidden = true - } - }) - vim.keymap.set('n', '-', '<CMD>Oil<CR>', {desc = "Open Dir in Oil"}) - end, - lazy = false, -} |
