Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
desdic committed Sep 11, 2023
1 parent 6f06b77 commit 4c3475f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions doc/macrothis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ Using Lazy plugin manager
require('macrothis').register()
end,
desc = "edit register"
},
{
"<Leader>kkp",
function()
require('macrothis').copy_register_printable()
end,
desc = "copy register as printable"
},
{
"<Leader>kkm",
function()
require('macrothis').copy_macro_printable()
end,
desc = "copy macro as printable"
}
}
},
Expand Down Expand Up @@ -119,6 +133,22 @@ Modify register
Usage~
require('macrothis').register()

------------------------------------------------------------------------------
*macrothis.copy_register_printable()*
`macrothis.copy_register_printable`()
Copy register as printable

Usage~
require('macrothis').copy_register_printable()

------------------------------------------------------------------------------
*macrothis.copy_macro_printable()*
`macrothis.copy_macro_printable`()
Copy macro as printable

Usage~
require('macrothis').copy_macro_printable()

------------------------------------------------------------------------------
*default*
`default`
Expand All @@ -134,6 +164,8 @@ Default options
style = "minimal",
border = "rounded",
},
clipboard_register = '"',
default_register = "", -- Use this register when loading a macro (will never prompt for register if set)
}
<

Expand All @@ -154,6 +186,7 @@ Default telescope options
edit = "<C-e>",
quickfix = "<C-q>",
register = "<C-x>",
copy_macro = "<C-c>",
},
sorter = sorters.get_generic_fuzzy_sorter,
items_display = {
Expand Down

0 comments on commit 4c3475f

Please sign in to comment.