Recently in the use of vim, often encounter a situation, that is, the capslk button is often wrong operation, which in normal mode, the impact on the cache interface is very large. So, today on the Internet to find the next method, to find a way to the role of this button with the other keys on the keyboard exchange.
Now write down the specific method, convenient for later use 1, to achieve this method, we actually need a configuration file
Remove Lock === = = = Control_r
We only need to create a name in the current user directory. Xmodmap configuration file, then copy the above content into this file, and then restart the computer on the line.
It is easy to understand the above content, that is:
First remove the keys you want to replace, using the Remove command
And then it's the ability to redefine the two keys.
Finally, add these two functions again, using the command add
ubuntu-changing keyboard keys