AutoYADM commit: 2024-12-12 21:50:04
This commit is contained in:
parent
4980a45139
commit
6dc1ba8645
1 changed files with 19 additions and 18 deletions
|
@ -6,18 +6,15 @@ local function fmt_prefix(mappings)
|
|||
end
|
||||
return out
|
||||
end
|
||||
local opts = {
|
||||
force_mappings = {
|
||||
nv = {
|
||||
motions = fmt_prefix({
|
||||
local motions_map = {
|
||||
new_trail_mark = "n",
|
||||
track_back = "<A-b>",
|
||||
peek_move_next_down = "<A-J>",
|
||||
peek_move_previous_up = "<A-K>",
|
||||
move_to_nearest = "<A-n>",
|
||||
toggle_trail_mark_list = "<A-m>",
|
||||
}),
|
||||
actions = fmt_prefix({
|
||||
}
|
||||
local actions_map = {
|
||||
delete_all_trail_marks = "<A-L>",
|
||||
paste_at_last_trail_mark = "<A-p>",
|
||||
paste_at_all_trail_marks = "<A-P>",
|
||||
|
@ -25,7 +22,12 @@ local opts = {
|
|||
switch_to_next_trail_mark_stack = "<A-.>",
|
||||
switch_to_previous_trail_mark_stack = "<A-,>",
|
||||
set_trail_mark_stack_sort_mode = "<A-s>",
|
||||
}),
|
||||
}
|
||||
local opts = {
|
||||
force_mappings = {
|
||||
nv = {
|
||||
motions = fmt_prefix(motions_map),
|
||||
actions = fmt_prefix(actions_map),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -37,6 +39,5 @@ return {
|
|||
{ "<leader>m", group = "Trailblazer" },
|
||||
})
|
||||
require("trailblazer").setup(opts)
|
||||
-- print(vim.inspect(opts.force_mappings.nv.motions))
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue