简体   繁体   中英

paredit keybindings with GUI vs terminal emacs

I'm struggling with this odd behaviour; paredit's commands of interest, namely paredit-forward-slurp-sexp , bound to C-), and paredit-forward-barf-sexp , bound to C-} , as well as their "backwards" counterparts, work in a GUI emacs, but don't work in terminal one. The functions themselves do work, but not their keybindings. From running Ch f:

paredit-forward-slurp-sexp is an interactive compiled Lisp function in                                                 
‘paredit.el’.                                                                                                          

It is bound to <C-right>, C-).                                                                                         

not sure what's wrong, but it sure doesn't appear to be bound to those. All the other common keybindings seem to be working as promised, but not these ones. Don't even know where to start exploring.

thanks to the comment above, the problem was indeed the terminal-to-emacs transmission of keypresses; replacing native Mac Terminal with ITerm2 solved it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM