Skip to content

zongben/capsoff.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capsoff.nvim

Installation

You need to install gcc before installing this package.

--Lazy
{
  "zongben/capsoff.nvim",
  build = ":CapsLockOffBuild",
  config = function()
    require("capsoff").setup()
  end,
}

Configuration

{
    -- Automatically turn off Caps Lock when leaving insert mode
    -- If you want to turn off Caps Lock manually, you can set it to false
    auto = true,
}

Usage

When leaving insert mode, it will turn off caps lock automatically or by calling

:CapsLockOff

If it doesn't work, you can try to rebuild the binary by calling

:CapsLockOffBuild

Note

I only tested it on my windows and linux X11 system with the Lazy plugin manager.
If you encounter any problems, or have improvements for my little code. please create an issue or PR. thx!

About

Turns off CapsLock when you leaving insert mode.

Topics

Resources

License

Stars

Watchers

Forks