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