remap arrow keys, add g* commands