Add :prefix-map to map! macro

Each prefix now defines a doom-leader-DESC-map keymap, where DESC is the
which-key description for that prefix key. This should make it easier
for users to move leader prefixes. e.g.

To move SPC TAB (workspaces) to SPC l:

  (map! :leader
        "TAB" nil
        "l" doom-leader-workspaces-map)
This commit is contained in:
Henrik Lissner 2019-05-13 22:30:21 -04:00
parent 0a0def6a53
commit b7d1702484
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 32 additions and 17 deletions