![]() ![]() Differences between Ctrl-[ and Ctrl-CĬtrl-[ is probably what you want, since it always works like Escape. If I do that too quickly, within the configured timeout, then it sends an Escape stroke, which in some situations can be quite disruptive (for example closing the current dialog window). Because sometimes I press Ctrl, then change my mind, and release it. Make Caps Lock perform both Ctrl and Escape?Īlternatively, at the bottom of his answer Giovanni suggests to map Caps Lock to perform both Control and Escape depending on the length of press, but this requires installing extra software. This brings Control onto the middle row, making it easier to press all Control modified strokes, including Ctrl-[ and Ctrl-C which both exit Insert mode in Vim. In Linux execute: setxkbmap -option caps:ctrl_modifier.In Mac OS X visit System Preferences > Keyboard -> Modifier Keys.You can map Caps Lock to Control without installing any extra software: This can be done on Windows and Mac by properly setting/programming the corresponding remap utility (specifically for AutoHotkey hints can be found here and for KeyRemap4MacBook check here). as an Esc key by pressing and quickly releasing it.as a Ctrl key by pressing and holding it,.Some people go even further and program the CapsLock key to behave: As example, I have xmodmap called as an entry in the Cinnamon "Startup Applications" (which allows me to do more than the standard GUI key remapping customization). It is tricky however, because actually sourced files vary according to the (desktop) environment used. Xmodmap is on your home dir ~) in the chain of login auto-sourced files: if then The system can be setup to automatically run it at every login by placing strategically the following shell script lines (supposing. Alternatively, but less easily, it can be remapped at Xorg level using the xmodmap program and having it run the following. Proper option in Menu->Keyboard->Keyboard Layouts->Caps Lock behavior. For example on Linux Mint/Cinnamon is just a matter of selecting the On Linux, varies according to the Desktop Environment. on Mac using the KeyRemap4MacBook utility and others.This way you can press Esc very easily with the left little finger, without removing hands from the HomeRow (incidentally, Escape was just above CapsLock in the ADM-3A Terminal used by Bill Joy while writing vi). This both on a Qwerty and Dvorak keyboard. Beside the built-in alternatives and to key cited by others, another popular solution is to remap as an additional Escape.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |