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

Restore Smartparens key bindings for Emacs users #896

Closed
tuhdo opened this issue Mar 21, 2015 · 6 comments
Closed

Restore Smartparens key bindings for Emacs users #896

tuhdo opened this issue Mar 21, 2015 · 6 comments

Comments

@tuhdo
Copy link
Contributor

tuhdo commented Mar 21, 2015

Currently, key bindings like C-<left> (runs sp-backward-slurp-sexp) does not work. We need them back.

@syl20bnr
Copy link
Owner

Seems that these key bindings are taken by subword mode which is a default minor mode since 24.4. I don't want to overwrite these key bindings for 3 reasons:

  • they are default
  • navigating by subword is more useful and universal than manipulating the AST
  • paredit like features of smartparens are available behind SPC k (C-c k in holy-mode)

@syl20bnr
Copy link
Owner

Just noticed that C-S-left is the same as C-left so I propose to put the elisp AST manipulation on C-S prefix + arrows.

@tuhdo
Copy link
Contributor Author

tuhdo commented Mar 21, 2015

Fine by me but you should change key bindings of evil-escape to be compatible with Emacs convention.

@syl20bnr
Copy link
Owner

What do you mean ?

@tuhdo
Copy link
Contributor Author

tuhdo commented Mar 22, 2015

Oh sorry I meant you should change evil-lisp-state key bindings from hjkl and change it to fbnp.

@StreakyCobra
Copy link
Contributor

This is an old issue without activity the last 6 months, as it also don't seem relevant anymore, I'm closing it.

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

3 participants