sponsor Vim development Vim logo Vim Book Ad

capslock.vim : Software Caps Lock

 script karma  Rating 47/18, Downloaded by 2421  Comments, bugs, improvements  Vim wiki

created by
Tim Pope
 
script type
utility
 
description
This plugin enables a software caps lock.  This is advantageous over a regular caps lock in that normal mode commands, other buffers, and other applications are unaffected.

The default mapping is <C-G>c but if you use this feature regularly, you will probably want a shorter one.  Simply map something to <Plug>CapsLockToggle and you are good to go.  The default behavior is to disable caps lock when leaving insert mode, but this is customizable too.

A couple of functions are provided for adding a caps lock indicator to the statusline.

https://github.com/tpope/vim-capslock
 
install details
Install capslock.vim in ~/.vim/plugin (~\vimfiles\plugin on Windows).  For help with configuring the statusline or changing the mappings, read the top of the file.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
capslock.vim 1.1 2006-12-06 6.0 Tim Pope Initial upload
ip used for rating: 3.145.186.6

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github