Reload .Xresources without restarting the xterm

Nabil Sham picture Nabil Sham · Feb 13, 2014 · Viewed 86k times · Source

To use ALT key in vim without tweaking, the escaping should be disabled in xterm. Without escaping the ALT will not work in bash for shortcuts.

to work around I need to reload this option before starting vim:

XTerm*metaSendsEscape: false | xrdb -load 

Any idea how I can reload .Xresource and make changes take effect without restarting the terminal window ?
Open to other terminal to have ALT work both in vim and bash.

Answer

doc1623 picture doc1623 · Nov 23, 2014

This will reload the .Xresources:

xrdb ~/.Xresources

Source: Arch wiki