fix oil shortcuts
This commit is contained in:
@@ -58,10 +58,9 @@ Git shortcuts:
|
|||||||
- `[h`, `]h`, `[H`, `]H` jump to hunks
|
- `[h`, `]h`, `[H`, `]H` jump to hunks
|
||||||
- `<leader>th` — toggle the expanded hunk view
|
- `<leader>th` — toggle the expanded hunk view
|
||||||
|
|
||||||
Oil usage:
|
Oil shortcuts:
|
||||||
|
|
||||||
- `-`, `<BS>` goes to the parent directory
|
- `gp` opens preview panel
|
||||||
- `<C-p>` previews the selected entry
|
|
||||||
|
|
||||||
Toggle shortcuts:
|
Toggle shortcuts:
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ require("oil").setup({
|
|||||||
["gR"] = "actions.refresh", -- replaces default <C-l> behavior
|
["gR"] = "actions.refresh", -- replaces default <C-l> behavior
|
||||||
["<F5>"] = "actions.refresh",
|
["<F5>"] = "actions.refresh",
|
||||||
["<C-s>"] = false,
|
["<C-s>"] = false,
|
||||||
["<C-p>"] = { "actions.preview", opts = { vertical = true, split = "belowright" } },
|
["<C-p>"] = false,
|
||||||
|
["gp"] = { "actions.preview", opts = { vertical = true, split = "belowright" } },
|
||||||
["<BS>"] = { "actions.parent", mode = "n" },
|
["<BS>"] = { "actions.parent", mode = "n" },
|
||||||
},
|
},
|
||||||
view_options = {
|
view_options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user