From f40141a9eeda849dab56576e9e5d6d82d85456b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Sun, 21 May 2023 21:42:04 +0200 Subject: [PATCH] feat: add oil.nvim --- lua/plugins/common.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/plugins/common.lua b/lua/plugins/common.lua index c4beef6..0d9b50b 100644 --- a/lua/plugins/common.lua +++ b/lua/plugins/common.lua @@ -42,6 +42,16 @@ return { -- cargo crates { 'saecki/crates.nvim', dependencies = 'nvim-lua/plenary.nvim', opts = {} }, + -- + { + 'stevearc/oil.nvim', + dependencies = { 'nvim-tree/nvim-web-devicons' }, + config = function() + require('oil').setup() + vim.keymap.set('n', '-', require('oil').open, { desc = 'Open parent directory' }) + end, + }, + -- newage search plugin { 'ggandor/leap.nvim',