lispy icon indicating copy to clipboard operation
lispy copied to clipboard

Feature request: possibility to enable just some of the keybindings.

Open MirkoHernandez opened this issue 1 year ago • 0 comments

It would be nice to have the possibility to bind just some of the keys and not all of them when the mode is enabled, so that users could adopt them incrementally (similar to how smartparens works). Some problems with having all the keybindings avalible:

  • a mistype could generate an unnoticed change.
  • conflicts with other keybindings (M-d for example).
  • it is cumbersome having to remap a lot of keybindings if using a non-qwerty input method.

Right now I have not been able to fully adopt lispy since the tab key disables the completion functionality, the variable tab-always-indent, when set to complete, seems to be ignored.

The following remaps did not make the trick.

(define-key lispy-mode-map (kbd "<tab>") nil)
(lispy-define-key lispy-mode-map "<tab>" 'indent-for-tab-command)

Any help would be appreciated.

MirkoHernandez avatar Aug 09 '23 21:08 MirkoHernandez