Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<SPC k> is unconveniently reserved for lisp code #3441

Closed
PierreR opened this issue Oct 17, 2015 · 7 comments
Closed

<SPC k> is unconveniently reserved for lisp code #3441

PierreR opened this issue Oct 17, 2015 · 7 comments
Labels
Evil-lisp-state Key Bindings Question stale marked as a stale issue/pr (usually by a bot)

Comments

@PierreR
Copy link
Contributor

PierreR commented Oct 17, 2015

The pink state aka Lisp code state (as the name implies) is meant for editing lisp files.

Because it quickly shows up when trying SPC k I have tried to exclude the evil-lisp-state package.

Then to my surprise SPC k was no more available anymore.

This is a bit unfortunately because:

  • some smartparens keybindings useful for every file type could be made available there. For instance I miss a binding for sp-unwrap-sexp.
  • SPC k name does not imply lisp, does it ?

Could the lisp code state be made less easily accessible and SPC-k reserved for general smartparensand other related features that work across all file type ?

@PierreR PierreR changed the title Editing Lisp code State available in non lisp file <SPC k> is unconveniently reserved for lisp code Oct 17, 2015
@syl20bnr
Copy link
Owner

lisp state already include functions that works in all modes under SPC k ``. sp-unwrap-sexpis underSPC k W` I believe.

@PierreR
Copy link
Contributor Author

PierreR commented Oct 18, 2015

lisp state already include functions that works in all modes under SPC k `

Well that's what I am complaining about. We have something specific (the lisp state mode) that works for all modes sometimes. This is quite confusing. You quickly end up in a pink state that makes no sense for non-lisp files.
I believe every functionally behind SPC k should be generic, what is specific for lisp file less easily accessible. In that regard, I should be able to exclude the evil-lisp-state package and still be able to use the generic functionalities (for instance keybindings from smartparens).

@Spadavecchia
Copy link

Was SPC k removed? I'm trying use it, but is not assigned. In documentation there is reference to shortcut. https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org#editing-lisp-code

@TheBB
Copy link
Collaborator

TheBB commented Nov 27, 2015

It's not removed, but please make sure you are fully updated, both Spacemacs and packages, as some changes were made to it recently.

@Spadavecchia
Copy link

I updated Spacemacs and nothing. Delete it and reinstall. Now all is working again. Thank you.
Amazing work by the way.

@TheBB
Copy link
Collaborator

TheBB commented Nov 27, 2015

Good 👍. Note that when I say update both Spacemacs and packages it's not enough to just update Spacemacs.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Evil-lisp-state Key Bindings Question stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

4 participants