diff --git a/lazy-lock.json b/lazy-lock.json index 5ba964c..e4ab76e 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -7,7 +7,6 @@ "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, - "copilot.vim": { "branch": "release", "commit": "1e135c5303bc60598f6314a2276f31dc91aa34dd" }, "gitsigns.nvim": { "branch": "main", "commit": "7e38f07cab0e5387f9f41e92474db174a63a4725" }, "lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" }, "lsp-zero.nvim": { "branch": "v3.x", "commit": "dd39c0d94811554a0227f993c777d5bcd5fd1f6d" }, @@ -20,6 +19,7 @@ "nvim-treesitter-context": { "branch": "master", "commit": "ba4289ad345ececd335a9cdd7b9616fd0bb6be92" }, "nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" }, "nvim-web-devicons": { "branch": "master", "commit": "b3468391470034353f0e5110c70babb5c62967d3" }, + "oil.nvim": { "branch": "master", "commit": "f41a0f24c009f71c6f112fce9c1f5d6c1f31847e" }, "plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, "telescope.nvim": { "branch": "master", "commit": "d00d9df48c00d8682c14c2b5da78bda7ef06b939" }, diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index e44e978..bfbdb46 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -1,6 +1,6 @@ vim.g.mapleader = " " -vim.keymap.set("n", "e", ":Ex") +vim.keymap.set("n", "e", ":Oil") vim.keymap.set("i", "", "") -- Keep things centered diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 550e60f..dd00d57 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -50,7 +50,7 @@ return { end, }, -- Copilot - { "github/copilot.vim" }, + -- { "github/copilot.vim" }, -- Comment { "numToStr/Comment.nvim", diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua new file mode 100644 index 0000000..9533d48 --- /dev/null +++ b/lua/plugins/oil.lua @@ -0,0 +1,25 @@ +return { + 'stevearc/oil.nvim', + opts = { + keymaps = { + ["g?"] = "actions.show_help", + [""] = "actions.select", + [""] = "actions.select_vsplit", + [""] = "actions.select_split", + [""] = "actions.select_tab", + [""] = false, + [""] = "actions.close", + [""] = "actions.refresh", + ["-"] = "actions.parent", + ["_"] = "actions.open_cwd", + ["`"] = "actions.cd", + ["~"] = "actions.tcd", + ["gs"] = "actions.change_sort", + ["gx"] = "actions.open_external", + ["g."] = "actions.toggle_hidden", + ["g\\"] = "actions.toggle_trash", + }, + }, + -- Optional dependencies + dependencies = { "nvim-tree/nvim-web-devicons" }, +}