[docgen] Update docs

skip-checks: true
This commit is contained in:
Github Actions 2024-12-03 17:45:14 +00:00
parent f2b324933f
commit 9a59256c8e
2 changed files with 24 additions and 24 deletions

View file

@ -190,22 +190,22 @@ require("oil").setup({
-- Set to `false` to remove a keymap -- Set to `false` to remove a keymap
-- See :help oil-actions for a list of all available actions -- See :help oil-actions for a list of all available actions
keymaps = { keymaps = {
["g?"] = "actions.show_help", ["g?"] = { "actions.show_help", mode = "n" },
["<CR>"] = "actions.select", ["<CR>"] = "actions.select",
["<C-s>"] = { "actions.select", opts = { vertical = true }, desc = "Open the entry in a vertical split" }, ["<C-s>"] = { "actions.select", opts = { vertical = true } },
["<C-h>"] = { "actions.select", opts = { horizontal = true }, desc = "Open the entry in a horizontal split" }, ["<C-h>"] = { "actions.select", opts = { horizontal = true } },
["<C-t>"] = { "actions.select", opts = { tab = true }, desc = "Open the entry in new tab" }, ["<C-t>"] = { "actions.select", opts = { tab = true } },
["<C-p>"] = "actions.preview", ["<C-p>"] = "actions.preview",
["<C-c>"] = "actions.close", ["<C-c>"] = { "actions.close", mode = "n" },
["<C-l>"] = "actions.refresh", ["<C-l>"] = "actions.refresh",
["-"] = "actions.parent", ["-"] = { "actions.parent", mode = "n" },
["_"] = "actions.open_cwd", ["_"] = { "actions.open_cwd", mode = "n" },
["`"] = "actions.cd", ["`"] = { "actions.cd", mode = "n" },
["~"] = { "actions.cd", opts = { scope = "tab" }, desc = ":tcd to the current oil directory", mode = "n" }, ["~"] = { "actions.cd", opts = { scope = "tab" }, mode = "n" },
["gs"] = "actions.change_sort", ["gs"] = { "actions.change_sort", mode = "n" },
["gx"] = "actions.open_external", ["gx"] = "actions.open_external",
["g."] = "actions.toggle_hidden", ["g."] = { "actions.toggle_hidden", mode = "n" },
["g\\"] = "actions.toggle_trash", ["g\\"] = { "actions.toggle_trash", mode = "n" },
}, },
-- Set to false to disable all of the above keymaps -- Set to false to disable all of the above keymaps
use_default_keymaps = true, use_default_keymaps = true,

View file

@ -75,22 +75,22 @@ CONFIG *oil-confi
-- Set to `false` to remove a keymap -- Set to `false` to remove a keymap
-- See :help oil-actions for a list of all available actions -- See :help oil-actions for a list of all available actions
keymaps = { keymaps = {
["g?"] = "actions.show_help", ["g?"] = { "actions.show_help", mode = "n" },
["<CR>"] = "actions.select", ["<CR>"] = "actions.select",
["<C-s>"] = { "actions.select", opts = { vertical = true }, desc = "Open the entry in a vertical split" }, ["<C-s>"] = { "actions.select", opts = { vertical = true } },
["<C-h>"] = { "actions.select", opts = { horizontal = true }, desc = "Open the entry in a horizontal split" }, ["<C-h>"] = { "actions.select", opts = { horizontal = true } },
["<C-t>"] = { "actions.select", opts = { tab = true }, desc = "Open the entry in new tab" }, ["<C-t>"] = { "actions.select", opts = { tab = true } },
["<C-p>"] = "actions.preview", ["<C-p>"] = "actions.preview",
["<C-c>"] = "actions.close", ["<C-c>"] = { "actions.close", mode = "n" },
["<C-l>"] = "actions.refresh", ["<C-l>"] = "actions.refresh",
["-"] = "actions.parent", ["-"] = { "actions.parent", mode = "n" },
["_"] = "actions.open_cwd", ["_"] = { "actions.open_cwd", mode = "n" },
["`"] = "actions.cd", ["`"] = { "actions.cd", mode = "n" },
["~"] = { "actions.cd", opts = { scope = "tab" }, desc = ":tcd to the current oil directory", mode = "n" }, ["~"] = { "actions.cd", opts = { scope = "tab" }, mode = "n" },
["gs"] = "actions.change_sort", ["gs"] = { "actions.change_sort", mode = "n" },
["gx"] = "actions.open_external", ["gx"] = "actions.open_external",
["g."] = "actions.toggle_hidden", ["g."] = { "actions.toggle_hidden", mode = "n" },
["g\\"] = "actions.toggle_trash", ["g\\"] = { "actions.toggle_trash", mode = "n" },
}, },
-- Set to false to disable all of the above keymaps -- Set to false to disable all of the above keymaps
use_default_keymaps = true, use_default_keymaps = true,