Skip to content

jaredmontoya/bikey.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⌨️ bikey.nvim

Github top language GitHub code size in bytes

bikey.nvim is a Neovim plugin for people who got tired of switching to a latin keyboard layout and back each time they exit and enter insert mode.

It works by ensuring that your first keyboard layout is selected in normal mode and switching to the last keyboard layout that you used in insert mode when you enter insert mode again. Yout first keyboard layout in the list of keyboard layouts must be a latin keyboard layout that you prefer to use in normal mode(Ex: English) for this plugin to be useful.

demo.webm

🔌 Supported input methods

  • kde

📦 Installation

As of now lazy.nvim natively supports installing luarocks so luarocks.nvim plugin is no longer needed but bikey.nvim does not currently use that feature because I no longer use lazy.nvim. Pull requests implementing lazy.nvim rockspec support are welcome.

-- Lazy
{
  "vhyrro/luarocks.nvim",
    dependencies = {
      "rcarriga/nvim-notify", -- Optional dependency
    },
    opts = {
      rocks = { "dbus_proxy" } -- LuaRocks packages to install
    }
},
{
  "jaredmontoya/bikey.nvim",
    event = "VeryLazy",
    dependencies = {
      "vhyrro/luarocks.nvim"
    }
}

-- Packer
use({
  "jaredmontoya/bikey.nvim",
    rocks = { 'dbus_proxy' }
})

📝 Requirements

  • Neovim >= 0.10 (Lazy + luarocks.nvim)
  • gobject introspection runtime
    • Arch
      • pacman -S gobject-introspection-runtime
    • Ubuntu
      • apt install libgirepository1.0-dev

About

Automatic keyboard layout switcher for Neovim

Topics

Resources

License

Stars

Watchers

Forks

Languages