
Currently, Visual mappings are defined using “v”, which according to `map-table`: Mode | Norm | Ins | Cmd | Vis | Sel | Opr | Term | Lang | Command +------+-----+-----+-----+-----+-----+------+------+ [nore]map | yes | - | - | yes | yes | yes | - | - | n[nore]map | yes | - | - | - | - | - | - | - | [nore]map! | - | yes | yes | - | - | - | - | - | i[nore]map | - | yes | - | - | - | - | - | - | c[nore]map | - | - | yes | - | - | - | - | - | v[nore]map | - | - | - | yes | yes | - | - | - | <-- x[nore]map | - | - | - | yes | - | - | - | - | <-- s[nore]map | - | - | - | - | yes | - | - | - | o[nore]map | - | - | - | - | - | yes | - | - | t[nore]map | - | - | - | - | - | - | yes | - | l[nore]map | - | yes | yes | - | - | - | - | yes | This means that we define mappings for both the Visual and the Select mode. This however pollutes the Select mode and violates the intent behind the mode. Quoting the documentation: > Users will expect printable characters to replace the selected area. > Therefore avoid mapping printable characters in Select mode. :h Select-mode-mapping Using “x”, we will only map for Visual mode.
⌨️ bepo.nvim
Mappings for the bepo layout in Lua, inspired by vim-bepo
It aims to be faster (takes only 0.4ms at startup on my machine, while vim-bepo requires 1.6ms) and more customizable (see :help bepo.nvim-cherry-pick
)
Example Use
You should call the extension early in your config, so that you can erase mappings later (or with later extensions) more easily.
require("bepo").setup()
You can also apply only some mapping groups:
require("bepo").movement()
require("bepo").tabs()
require("bepo").easy_access()
require("bepo").window()
See the help file for more details and the mappings installed.
Description
⌨️ Mappings for the bepo keyboard layout in Lua, inspired by https://github.com/michamos/vim-bepo
Readme
Apache-2.0
76 KiB
Languages
Fennel
77.4%
Vim Script
15.4%
Makefile
5.7%
Lua
1.5%