X: ralt to toggle layout, rebind caps to both shifts.
Make gvim custom start as a shell script instead of an alias