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

Scheme (R6RS) and square brackets mapping #39

Open
pera opened this issue May 10, 2018 · 2 comments
Open

Scheme (R6RS) and square brackets mapping #39

pera opened this issue May 10, 2018 · 2 comments

Comments

@pera
Copy link

pera commented May 10, 2018

Is it possible to remap [ to lispy-brackets, and ] and also } to maybe lispy-right-nostring?

Sorry if this is a stupid question, I just started using Lispyville today (which by the way it's fantastic!), but in Scheme and Racket square brackets are used all the time and it's a bit difficult to me to remember to use } instead.

Another thing that I think could make this a bit more intuitive for Vim/Evil users would be to map % when the point is before or after a paren to have the same behavior than in normal mode, although I am not sure if such feature exists in Lispy.

Thanks a lot!

@noctuid
Copy link
Owner

noctuid commented May 10, 2018

Yes, see #36. I'll leave this open until I add this information to the FAQ. If you just wanted to know whether I'll do this in lispyville by default, I won't because it's a lispy keybinding.

Another thing that I think could make this a bit more intuitive for Vim/Evil users would be to map % when the point is before or after a paren to have the same behavior than in normal mode, although I am not sure if such feature exists in Lispy.

It's d by default. You can rebind % to lispy-different if you'd like. This package will probably never rebind lispy keys, but I want to add a vim/evil key theme directly to lispy. See emacs-evil/evil-collection#116 for more information/discussion.

@pera
Copy link
Author

pera commented May 11, 2018

This is exactly what I was looking for, thanks so much @noctuid !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants