abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.21k stars 133 forks source link

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

Open MirkoHernandez opened 1 year ago

MirkoHernandez commented 1 year ago

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:

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.