Wednesday, July 14, 2010

Mac OS + XTerm + Copy/Paste

I've added the following snippet to my .Xresources file to get Command+V pasting from mac os apps. There are a few other customizations in there I'm still playing around with.

XTerm*VT100.Translations: #override \
 Prior: scroll-back(1,page) \n\
 Next: scroll-forw(1,page) \n\
Meta  W: quit() \n\
Meta  V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\