How to bind `comment-line` back to `SPC c l`?

What happened?

I want to bind comment-line to SPC c l as it is on spacemacs, away from ctrl/cmd + /.

What did you expect to happen?

I tried to do

(map! :leader 'override "c L" #'+default/lsp-command-map)
(map! :map 'override "c l" #'comment-line)

But not only it doesn’t work, it breaks doom emacs.

Steps to reproduce

  1. Add snippet provided to init.el

System information


Loading data dump...

This topic was automatically closed after 360 days. New replies are no longer allowed.