Skip to content

Commit

Permalink
chore(doom): add key_format config docs (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
minusfive authored Oct 19, 2023
1 parent 416f12e commit 641c9df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '',
},
},
Expand Down Expand Up @@ -205,13 +206,15 @@ db.setup({
key = 'b',
keymap = 'SPC f f',
key_hl = 'Number',
key_format = ' %s', -- remove default surrounding `[]`
action = 'lua print(2)'
},
{
icon = '',
desc = 'Find Dotfiles',
key = 'f',
keymap = 'SPC f d',
key_format = ' %s', -- remove default surrounding `[]`
action = 'lua print(3)'
},
},
Expand Down

0 comments on commit 641c9df

Please sign in to comment.