Search code examples
emacskey-bindingsparedit

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 C-h 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.


Solution

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