diff --git a/README.md b/README.md index 8d66dd61..aaee4984 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ config = { desc_hl = 'group', key = 'shortcut key in dashboard buffer not keymap !!', key_hl = 'group', + key_format = ' [%s]', -- `%s` will be substituted with value of `key` action = '', }, }, @@ -205,6 +206,7 @@ db.setup({ key = 'b', keymap = 'SPC f f', key_hl = 'Number', + key_format = ' %s', -- remove default surrounding `[]` action = 'lua print(2)' }, { @@ -212,6 +214,7 @@ db.setup({ desc = 'Find Dotfiles', key = 'f', keymap = 'SPC f d', + key_format = ' %s', -- remove default surrounding `[]` action = 'lua print(3)' }, },