Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.69 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.69 KB

⌨️ multilayout.nvim

Less headache for NeoVim users with multiple keyboard layouts.

Write your КуМир code blazingly fast!

🤔 What's this plugin about?

This plugin allows multi-layout users to execute vim commands without changing the current keyboard layout. For example, command automatically becomes :w, for users of russian layout. This plugin supports all builtin vim commands and all keyboard layouts, as the character conversion maps can be set by user.

🚀 Features

  • Flexible Layouts: Supports all built-in commands and lets you create custom character conversion tables.
  • Unified experience: Enter commands without thinking about keyboard layouts.
  • Boosted Productivity: Enormous speed up in text writing (you don't have to switch layouts anymore. Over a year, this saves you a whole 10 minutes in pressing keys)

🛠️ Installation

Add the plugin using your preferred manager:

-- Using lazy.nvim
require("lazy").setup({
    { "mrsobakin/multilayout.nvim", config = {} }
})

📝 Usage

  1. Define your character conversion table in your Neovim config:

    -- Example configuration in Lua
    require('multilayout').setup({})
  2. Start enjoying your Shift+Alt-less* experience.

    * The plugin works if you use BASED (😎) key bindings (like Shift+Shift) too.

🔗 Special thanks to:

  • This ancient article about cabbrev
  • langmapper.nvim, for the non-ascii character splitting function*
  • Dudes developing NeoVim for the awesome NeoVim API documentation