Skip to content

Releases: folke/which-key.nvim

v1.3.0

17 Apr 15:53
f82ca7f
Compare
Choose a tag to compare

1.3.0 (2023-04-17)

Features

  • health: move health check to separate health file (b56c512)
  • preset: add z<CR> preset (#346) (ed37330)
  • preset: added zi and CTRL-W_o (#378) (5e8e6b1)
  • view: allow percentages for margins. Fixes #436 (0b5a653)

Bug Fixes

  • health: add OK output to check_health fn (#375) (c9c430a)
  • keys: allow keymap desc to override preset labels. Fixes #386 (6aa1b2f)
  • tree: don't cache plugin nodes. Fixes #441 (20fcd7b)
  • util: clear cache when leader changes (df3597f)
  • util: missing return statement (f6bb21c)
  • util: nil check (6ab25e2)

Performance Improvements

  • keys: optimized update_keymaps (476d137)
  • tree: added fast nodes lookup (8e5e012)
  • util: cache parse_keys (8649bf5)
  • util: cache replace termcodes (eaa8027)

v1.2.3

17 Apr 06:32
f635738
Compare
Choose a tag to compare

1.2.3 (2023-04-17)

Bug Fixes

  • util: dont parse empty lhs (8d5ab76)
  • util: only collect valid <> keys (#438) (4bd6dca)
  • util: replace &lt;lt&gt; by < before parsing (789ac71)
  • view: allow deviating paddings per side (#400) (3090eaf)

Performance Improvements

v1.2.2

16 Apr 06:00
8b1bb02
Compare
Choose a tag to compare

1.2.2 (2023-04-16)

Performance Improvements

  • mappings: avoid computing error string on hot path (#429) (6892f16)

v1.2.1

26 Mar 10:39
4b73390
Compare
Choose a tag to compare

1.2.1 (2023-03-26)

Bug Fixes

  • icons: fixed obsolete icons with nerdfix (151f21d)
  • view: wrong window position when statusline is not set (#363) (e14f8dc)

v1.2.0

02 Mar 06:51
2a0c2d8
Compare
Choose a tag to compare

1.2.0 (2023-03-01)

Features

  • enable spelling plugin by default (6d886f4)
  • make delay configurable for marks/registers/spelling. Fixes #379. Fixes #152, Fixes #220, Fixes #334 (5649320)

v1.1.1

10 Feb 17:16
5224c26
Compare
Choose a tag to compare

1.1.1 (2023-02-10)

Bug Fixes

v1.1.0

11 Jan 20:01
16ed12a
Compare
Choose a tag to compare

1.1.0 (2023-01-10)

Features

  • Hide mapping when desc = "which_key_ignore" (#391) (fd07b61)

Bug Fixes

v1.0.0

04 Jan 19:37
b7e0b1f
Compare
Choose a tag to compare

1.0.0 (2023-01-04)

Features

  • add <C-w>_ to misc (#296) (03b8c1d)
  • add preset key to mappings for API usage (ed7d6c5)
  • added a winblend option for the floating window (#161) (d3032b6)
  • added duplicate mapping checks to checkhealth #34 (710c5f8)
  • added healthcheck to check for conflicting keymaps (44d3c3f)
  • added ignore_missing option to hide any keymap for which no label exists #60 (1ccba9d)
  • added operators plugin (c7f8496)
  • added option to configure scroll bindings inside the popup (#175) (a54ef5f)
  • added options to align columns left, center or right #82 (2467fb1)
  • added settings to disable the WhichKey popup for certain buftypes and filetyes (fb276a0)
  • added support for expr mappings (9d2785c)
  • added triggers_blacklist to blacklist certain whichkey hooks #73 (ec1474b)
  • added WhichKeyBorder highlight group (9c190ea)
  • allow functions to be passed to create keybindings. Implements #31 (cf644cd)
  • allow manual setup of triggers #30 (423a50c)
  • allow mapping to have multiple modes as a table (0d559fa)
  • allow mode to be set on a single mapping (2a08d58)
  • allow overriding key labels #77 (2be929e)
  • allow to close popup with <c-c> #33 (410523a)
  • better logging (c39df95)
  • better support for plugin actions with custom lua function (222a8ee)
  • builtin key mappings (0063ceb)
  • check for rogue existsing WhichKey mappings and show error. WK handles triggers automatically, no need to define them (db97a30)
  • easily reset WK with plenary for development of WK (55b4dab)
  • expose registers to customize order (2b83fe7)
  • for nvim 0.7.0 or higher, use native keymap callbacks instead of which key functions (5e96cf9)
  • group symbol (5e02b66)
  • handle [count] with motion. Implements #11 (d93ef0f)
  • hide mapping boilerplate (#6) (b3357de)
  • honor timeoutlen when typing an operator followed by i or a instead of showing immediately (54d1b3a)
  • initial commit (970e79f)
  • keyamp functions (801cc81)
  • make custom operators configurable (fixes #9) (81875d8)
  • make help message configurable (7b1c6aa)
  • Make keypress message configuratble (#351) (fd2422f)
  • motions plugin (f989fcf)
  • new keymap dsl (#352) Docs to come (fbf0381)
  • option to make some triggers show immediately, regardless of timeoutlen (3a52dc0)
  • plugin for registers (5415832)
  • plugin support + first builtin marks plugin (9d5e631)
  • prefer desc to cmd as the fallback label (#253) (bd4411a)
  • preset with misc keybindings (e610338)
  • set keymap desc when creating new mappings based on the WhichKey labels (f4518ca)
  • set popup filetype to WhichKey and buftype to nofile #86 (20682f1)
  • show a warning if <leader> is already mapped, even if it's (ac56f45)
  • show breadcrumb and help on command line (c27535c)
  • show keys and help in float when cmdheight == 0 (f645017)
  • show/hide a fake cursor when WK is open (0f53f40)
  • spelling suggestion plugin (4b74f21)
  • support for custom text object completion. Fixes #10 (394ff5a)
  • support opts.remap for keymap (#339) (6885b66)
  • support using lua function for expr (#110) (e0dce15)
  • text objects (d255b71)
  • WhichKey vim command to show arbitrary keymaps (df615d4)

Bug Fixes

  • :norm .. commands keep feeding <esc> at the end of the command #58 (d66ffdd)
  • add delay option to macro key (#152) (#156) (bd226c4)
  • add remaining <esc> to pending in case there's no other characters (29a82b5)
  • add triggers for other modes in marks and register plugin (#116) ([bbfc640](https://...
Read more