Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 838 Bytes

README.md

File metadata and controls

39 lines (33 loc) · 838 Bytes

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!