1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
return {
{
name = "Abrir Oil en cwd",
cmd = function()
vim.cmd.Oil()
end,
rtxt = ":Oil",
},
{
name = "Abrir Oil flotante",
cmd = function()
local oil = require("oil")
oil.open_float()
end,
rtxt = "float",
},
{ name = "separator" },
{
name = "Refrescar",
cmd = function()
require("oil.actions").refresh.callback()
end,
rtxt = "gr",
},
{
name = "Padre (-)",
cmd = function()
require("oil.actions").parent.callback()
end,
rtxt = "-",
},
{
name = "Toggle ocultos",
cmd = function()
require("oil.actions").toggle_hidden.callback()
end,
rtxt = "g.",
},
{ name = "separator" },
{
name = "Nueva carpeta",
cmd = function()
require("oil.actions").create.callback()
end,
rtxt = "+d",
},
{
name = "Renombrar",
cmd = function()
require("oil.actions").rename.callback()
end,
rtxt = "rn",
},
{
name = "Eliminar",
cmd = function()
require("oil.actions").delete.callback()
end,
rtxt = "dd",
},
{ name = "separator" },
{
name = "Abrir en split",
cmd = function()
require("oil.actions").select_split.callback()
end,
rtxt = "<C-h>",
},
{
name = "Abrir en vsplit",
cmd = function()
require("oil.actions").select_vsplit.callback()
end,
rtxt = "<C-s>",
},
{
name = "Abrir en tab",
cmd = function()
require("oil.actions").select_tab.callback()
end,
rtxt = "<C-t>",
},
{ name = "separator" },
{
name = "Terminal aquí",
cmd = function()
require("oil.actions").open_terminal.callback()
end,
},
}
|