63 lines
1.6 KiB
Markdown
63 lines
1.6 KiB
Markdown
<!-- insert
|
|
---
|
|
title: "bepo.nvim"
|
|
date: 2022-02-21T10:02:37
|
|
description: "⌨️ Mappings for the bepo layout in Lua"
|
|
repo_url: "https://github.com/cljoly/bepo.nvim"
|
|
aliases:
|
|
- /bepo.nvim
|
|
tags:
|
|
- NeoVim
|
|
- Lua
|
|
- Plugin
|
|
- Bepo
|
|
- Lisp
|
|
- Fennel
|
|
#images:
|
|
#- /telescope-repo-nvim/opengraph.png
|
|
#- /telescope-repo-nvim/opengraph.webp
|
|
---
|
|
{{< github_badge >}}
|
|
|
|
{{< rawhtml >}}
|
|
<div class="badges">
|
|
{{< /rawhtml >}}
|
|
end_insert -->
|
|
<!-- remove -->
|
|
# ⌨️ bepo.nvim
|
|
<!-- end_remove -->
|
|
|
|
 [](https://cj.rs/riss) 
|
|
|
|
<!-- insert
|
|
{{< rawhtml >}}
|
|
</div>
|
|
{{< /rawhtml >}}
|
|
end_insert -->
|
|
|
|
Mappings for the [bepo][] layout in Lua, inspired by [vim-bepo][vb]
|
|
|
|
It aims to be faster (takes only 0.4ms at startup on my machine, while [vim-bepo][vb] 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.
|
|
|
|
``` lua
|
|
require("bepo").setup()
|
|
```
|
|
|
|
You can also apply only some mapping groups:
|
|
``` lua
|
|
require("bepo").movement()
|
|
require("bepo").tabs()
|
|
require("bepo").easy_access()
|
|
require("bepo").window()
|
|
```
|
|
|
|
See [the help file][help] for more details and the mappings installed.
|
|
|
|
[vb]: https://github.com/michamos/vim-bepo
|
|
[help]: https://github.com/cljoly/bepo.nvim/blob/main/doc/bepo-nvim.txt
|
|
[bepo]: https://bepo.fr/
|