Open Sduby22 opened 2 years ago
That is an interesting suggestion. Thanks!
I don't think just mimicking this (already Lua based) plugin is the way to go, though. This functionality might be a part of some more general module that unobtrusively tracks keys and does something when certain key sequence is seen. I'll think about it.
Better alternatives are 1. https://github.com/anuvyklack/hydra.nvim, 2. https://github.com/Iron-E/nvim-libmodal and both dont rely on hacky things like timeoutlen
.
Better alternatives are 1. https://github.com/anuvyklack/hydra.nvim, 2. https://github.com/Iron-E/nvim-libmodal and both dont rely on hacky things like
timeoutlen
.
Yeah, I'll look more closely at them when attempting 'mini.clue'.
Contributing guidelines
Module(s)
https://github.com/max397574/better-escape.nvim
Description
a better escaping module for those who prefer 'jk' or 'jj' to normal esc or Ctrl-C
This module provides better experience than simply
imap jk <esc>
, such as:timeoutlen
j
will be immediately echoed back on screen when pressed. (if setimap jk <esc>
,j
wont be echoed untiltimeoutlen
expired or you pressed something other thank
. )See: Better Escape