feat: add oil to replace netrw
feat: disable copilot for now
This commit is contained in:
parent
1bb21c0a6e
commit
7e318ed916
4 changed files with 28 additions and 3 deletions
|
|
@ -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" },
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
vim.g.mapleader = " "
|
||||
|
||||
vim.keymap.set("n", "<leader>e", "<cmd>:Ex<CR>")
|
||||
vim.keymap.set("n", "<leader>e", "<cmd>:Oil<CR>")
|
||||
vim.keymap.set("i", "<C-c>", "<Esc>")
|
||||
|
||||
-- Keep things centered
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ return {
|
|||
end,
|
||||
},
|
||||
-- Copilot
|
||||
{ "github/copilot.vim" },
|
||||
-- { "github/copilot.vim" },
|
||||
-- Comment
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
|
|
|
|||
25
lua/plugins/oil.lua
Normal file
25
lua/plugins/oil.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
'stevearc/oil.nvim',
|
||||
opts = {
|
||||
keymaps = {
|
||||
["g?"] = "actions.show_help",
|
||||
["<CR>"] = "actions.select",
|
||||
["<C-s>"] = "actions.select_vsplit",
|
||||
["<C-h>"] = "actions.select_split",
|
||||
["<C-t>"] = "actions.select_tab",
|
||||
["<C-p>"] = false,
|
||||
["<C-c>"] = "actions.close",
|
||||
["<C-l>"] = "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" },
|
||||
}
|
||||
Loading…
Reference in a new issue