Being a vim user I have adopted my keyboard to swap the caps key from the esc key. In openSUSE the file /etc/vconsole.conf needs to be edited in order to make the changes permanent.
1. First thing we need to do is create a new directory somewhere in /usr
mkdir -p /usr/local/share/kbd/keymaps/