Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
I try map my Capslock key to ctrl key while using vim and I search for this on stackoverflow and I found
```Linux? With X, use xmodmap to alter the key mapping, e.g.
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
Will map Esc to the CapsLock key. Google for more examples.```
following command it will map Esc key to CapsLock key but when I run this command my CapsLock key did stop working and nor my esc key map to CapsLock key. How do I get back my Capslock key default working state, I mean I don't want to map Capslock key to ctrl key?