nvim: use oil for now
This commit is contained in:
parent
3b81236462
commit
6e1c5f9948
|
@ -66,6 +66,8 @@
|
||||||
"nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
|
"nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "56f17def81478e406e3a8ec4aa727558e79786f3" },
|
||||||
|
"oil.nvim": { "branch": "master", "commit": "ccab9d5e09e2d0042fbbe5b6bd05e82426247067" },
|
||||||
"one-small-step-for-vimkind": { "branch": "main", "commit": "0f0d5bc67786c36edc2cb6fb5faa5c09dd1a6e10" },
|
"one-small-step-for-vimkind": { "branch": "main", "commit": "0f0d5bc67786c36edc2cb6fb5faa5c09dd1a6e10" },
|
||||||
"persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" },
|
"persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||||
|
|
|
@ -11,5 +11,5 @@ return {
|
||||||
keys = {
|
keys = {
|
||||||
{ "-", "<cmd>Oil<cr>", desc = "Open Oil" },
|
{ "-", "<cmd>Oil<cr>", desc = "Open Oil" },
|
||||||
},
|
},
|
||||||
enabled = false,
|
enabled = true,
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,15 @@ return {
|
||||||
desc = "Open the default terminal file manager",
|
desc = "Open the default terminal file manager",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
opts = {
|
||||||
|
keybindings = {
|
||||||
|
["<ESC>"] = "q",
|
||||||
|
-- Override the open mode (i.e. vertical/horizontal split, new tab)
|
||||||
|
-- Tip: you can add an extra `<CR>` to the end of these to immediately open the selected file(s) (assuming the TFM uses `enter` to finalise selection)
|
||||||
|
["<C-v>"] = "<C-\\><C-O>:lua require('tfm').set_next_open_mode(require('tfm').OPEN_MODE.vsplit)<CR><CR>",
|
||||||
|
["<C-x>"] = "<C-\\><C-O>:lua require('tfm').set_next_open_mode(require('tfm').OPEN_MODE.split)<CR><CR>",
|
||||||
|
["<C-t>"] = "<C-\\><C-O>:lua require('tfm').set_next_open_mode(require('tfm').OPEN_MODE.tabedit)<CR><CR>",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
enabled = false,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue