Clément Joly efce15ecd4 fix: Visual & Select mode mappings
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.
2023-06-15 21:17:20 +00:00
2022-05-07 21:05:09 +00:00
2023-06-15 21:17:20 +00:00
2023-06-15 21:17:20 +00:00
2023-06-15 21:17:20 +00:00
2022-06-04 12:04:03 +00:00
2022-05-07 19:01:29 +00:00

⌨️ bepo.nvim

Neovim version GitHub tag (latest SemVer)

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.

Languages
Fennel 77.4%
Vim Script 15.4%
Makefile 5.7%
Lua 1.5%