Fork me on GitHub
#emacs
<
2021-01-25
>
vemv14:01:22

Anyone has a lot of these in iTerm so that his emacs accepts a variety of keybindings smoothly?

andy.fingerhut14:01:31

You are running emacs on macOS system from within iTerm window, such that emacs does not create a separate window, but stays within iTerm?

vemv14:01:13

correct, I'm using emacsclient lately

andy.fingerhut14:01:14

There are probably dozens of variations here, and good reasons for each, but I've been running GNU Emacs for Mac OS X https://emacsformacosx.com/ for a while now, so it creates its own separate window from the terminal where I start it, and I believe it supports emacsclient (I don't often use that). If I had any problem getting keystrokes through to it, I may have forgotten what those were now. The biggest change I recall making was in overall Keyboard preferences for the system to check the box labeled "Use F1, F2, etc. keys as standard function keys", since I prefer using them that way, which means I have to hold down Fn key when they work as their Mac-specific behaviors (e.g. audio louder/quieter, screen brighter/dimmer)

vemv14:01:40

Right, I'm used to GUI emacs and it provides a smooth experience including everything related to keybindings :) now I'm assessing emacsclient for a different use case, namely a quick edit of a given file without interrupting my iterm 'flow'. It mostly works fine but the keybindings part is a bit challenging

andy.fingerhut15:01:25

Certainly the quick-and-dirty options are "keep plugging away at adding bindings manually to cover your common use cases", or "learn to live with less keybindings for quick edits of files" šŸ™‚. Hopefully someone else may have gone down this road and have better suggestions for you.

šŸ™‚ 3
daemianmack18:01:08

FWIW iā€™m down this road and it is annoying to maintain a robust set of iTerm keybindings for terminal emacs, but it works well for my needs :)

vemv14:01:10

(I only have a few but suspect that expanding these would be the simplest solution to my keybinding limitations. But don't know where to start)