reddit / emacs

Question Regarding Remapping Command Key In iTerm2 For Emacs

BackToPlebbit69 · 2022-02-18 14:04
Hey there, So Command + V in iTerm2 is the paste action. However, I tried looking in the settings but am unaware of how to remap the default paste option since I swap a few keys on my Emacs setup on MacOS. **Related swaps:** Caps --> Control Option --> Control Is it possible to nuke the default Command + V 'paste' keybinding in iTerm2 for Emacs? This interferes with normal Emacs keybindings since Command + V on my setup on normal Emacs on MacOS usually advances the screen by 1 screenful.
db48x · 2022-02-18 23:27
Perhaps iTerm2 has a community of users that you could ask, since the question has little to do with Emacs.
jrajpu10 · 2022-02-19 01:28
something like auto hot key will be able to do that. AHK provides context sensitive keymap. so you can map command v to something which emacs understands as paste.